File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
2525 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2626 - name : Publish to Apache Maven Central
27- run : mvn deploy -Pci-cd -DskipTests
27+ run : mvn deploy -Pci-cd
2828 env :
29- NEXUS_USERNAME : ${{ secrets.OSSRH_USERNAME }}
30- NEXUS_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
31- GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
32- GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
29+ OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
30+ OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
31+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
3332 # MAVEN_GPG_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 2020 JAVA_HOME : /usr/lib/jvm/java-11-openjdk/
2121 with :
2222 release-branch-name : " main"
23- maven-args : " -Dmaven.deploy.skip=true -DskipTests -Dmaven.plugin.validation=VERBOSE "
23+ maven-args : " -Dmaven.deploy.skip=true"
2424 ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
2525 git-release-bot-name : " Release bot"
2626 git-release-bot-email : " benjamin.cavy@maif.fr"
Original file line number Diff line number Diff line change 3232 <tag >v2.0.0-beta1</tag >
3333 </scm >
3434
35+ <distributionManagement >
36+ <snapshotRepository >
37+ <id >ossrh</id >
38+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
39+ </snapshotRepository >
40+ <repository >
41+ <id >ossrh</id >
42+ <url >https://ossrh-staging-api.central.sonatype.com/service/local/</url >
43+ </repository >
44+ </distributionManagement >
45+
3546
3647 <developers >
3748 <developer >
8798 <tagNameFormat >v@{project.version}</tagNameFormat >
8899 </configuration >
89100 </plugin >
90- <plugin >
91- <groupId >org.sonatype.central</groupId >
92- <artifactId >central-publishing-maven-plugin</artifactId >
93- <version >0.8.0</version >
94- <extensions >true</extensions >
95- <configuration >
96- <publishingServerId >central</publishingServerId >
97- </configuration >
98- </plugin >
99101 </plugins >
100102 </build >
101103
You can’t perform that action at this time.
0 commit comments