File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 cache : ' maven'
2020
2121 - name : Build
22- run : mvn verify
22+ run : ./mvnw verify
2323
2424 jackson2-tests :
2525 name : Jackson 2 Integration Tests
3636 cache : ' maven'
3737
3838 - name : Jackson 2 Integration Tests
39- run : mvn -pl mcp-test -am -Pjackson2 test
39+ run : ./mvnw -pl mcp-test -am -Pjackson2 test
Original file line number Diff line number Diff line change 2222
2323 - name : Build and start server
2424 run : |
25- mvn clean install -DskipTests
26- mvn exec:java -pl conformance-tests/server-servlet -Dexec.mainClass="io.modelcontextprotocol.conformance.server.ConformanceServlet" &
25+ ./mvnw clean install -DskipTests
26+ ./mvnw exec:java -pl conformance-tests/server-servlet -Dexec.mainClass="io.modelcontextprotocol.conformance.server.ConformanceServlet" &
2727 timeout 30 bash -c 'until curl -s http://localhost:8080/mcp > /dev/null 2>&1; do sleep 0.5; done'
2828
2929 - name : Run conformance tests
5151 cache : ' maven'
5252
5353 - name : Build client
54- run : mvn clean install -DskipTests
54+ run : ./mvnw clean install -DskipTests
5555
5656 - name : Run conformance test
5757 uses : modelcontextprotocol/conformance@v0.1.11
Original file line number Diff line number Diff line change 3737 - name : Deploy docs (push to main)
3838 if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
3939 run : |
40- PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout)
40+ PROJECT_VERSION=$(./mvnw help:evaluate -Dexpression=project.version --quiet -DforceStdout)
4141 if [[ "${PROJECT_VERSION}" == *-SNAPSHOT ]]; then
4242 ALIAS="latest-snapshot"
4343 else
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ jobs:
2727 node-version : ' 20'
2828
2929 - name : Jackson 3 Integration Tests
30- run : mvn -pl mcp-test -am -Pjackson3 test
30+ run : ./mvnw -pl mcp-test -am -Pjackson3 test
3131
3232 - name : Build and Test
33- run : mvn clean verify
33+ run : ./mvnw clean verify
3434
3535 - name : Publish to Maven Central
3636 run : |
37- mvn --batch-mode \
37+ ./mvnw --batch-mode \
3838 -Prelease \
3939 -Pjavadoc \
4040 deploy
Original file line number Diff line number Diff line change @@ -30,18 +30,18 @@ jobs:
3030 node-version : ' 20'
3131
3232 - name : Generate Java docs
33- run : mvn -Pjavadoc -B javadoc:aggregate
33+ run : ./mvnw -Pjavadoc -B javadoc:aggregate
3434
3535 - name : Jackson 2 Integration Tests
36- run : mvn -pl mcp-test -am -Pjackson2 test
36+ run : ./mvnw -pl mcp-test -am -Pjackson2 test
3737
3838 - name : Build with Maven and deploy to Sonatype snapshot repository
3939 env :
4040 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
4141 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
4242 MAVEN_GPG_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
4343 run : |
44- mvn -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
44+ ./mvnw -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
4545
4646 - name : Capture project version
47- run : echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
47+ run : echo PROJECT_VERSION=$(./mvnw help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments