Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
java-version: ${{ matrix.java-version }}
cache: maven
- name: Build and test
run: mvn -B verify
run: ./mvnw -B verify
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
# Publishes to Maven Central by pushing a semver tag (e.g. v0.1.0). Bump the
# version in pom.xml AND Version.java, tag the commit, and push. This workflow
# gates the tag on a green test run, then signs and deploys via the Central
# Publishing plugin (mvn -Prelease deploy).
# Publishing plugin (./mvnw -Prelease deploy).
#
# Required repository secrets:
# MAVEN_CENTRAL_USERNAME / MAVEN_CENTRAL_PASSWORD (Central Portal token)
Expand All @@ -29,9 +29,11 @@ jobs:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: Test
run: mvn -B verify
run: ./mvnw -B verify
# ./mvnw pins Maven 3.9.16 (.mvn/wrapper). The runner's Maven 3.10.0 made
# Central reject the bundle ("content that does NOT have a .pom file").
- name: Publish to Maven Central
run: mvn -B -Prelease deploy -DskipTests
run: ./mvnw -B -Prelease deploy -DskipTests
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Expand Down
3 changes: 3 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
295 changes: 295 additions & 0 deletions mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading