Skip to content

Commit b38d565

Browse files
authored
Merge branch 'main' into edburns/remove-PR-1524-test-java-publish-update-notes-to-point-to-docs
2 parents 399de25 + ec747ef commit b38d565

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

java/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ This SDK tracks the official [Copilot SDK](https://github.com/github/copilot-sdk
161161

162162
### Development Setup
163163

164-
Requires JDK 25 or later for development.
164+
Requires JDK 25 or later for development. The following steps validate the artifact built with JDK 25 runs on both 25 and 17, preserving the MR-JAR behavior.
165165

166166
```bash
167167
# Clone the repository
@@ -172,7 +172,8 @@ cd copilot-sdk/java
172172
git config core.hooksPath .githooks
173173

174174
# Build and test with JDK 25
175-
mvn clean verify
175+
mvn test-compile jar:jar
176+
mvn verify -Dskip.test.harness=true
176177

177178
# Set your paths for JDK 17
178179
# Run the JDK 25 built jar with JDK 17 JVM for tests. Do not re-compile the jar.

0 commit comments

Comments
 (0)