Skip to content

Commit ec747ef

Browse files
edburnsCopilot
andauthored
Update java README with accurate validation steps (#1541)
* Update java README with accurate validation steps * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 64c606f commit ec747ef

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)