File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed
Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 2222 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
2323 gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
2424 - name : Publish package
25- run : mvn --batch-mode deploy
25+ run : mvn clean deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/contentstack/contentstack-java
26+
27+ # run: mvn --batch-mode deploy
Original file line number Diff line number Diff line change 8686 </developers >
8787
8888 <distributionManagement >
89- <!-- <snapshotRepository>-->
90- <!-- <id>ossrh</id>-->
91- <!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
92- <!-- </snapshotRepository>-->
89+
90+ <!-- Maven Snapshot Repository -->
9391 <snapshotRepository >
94- <id >github </id >
95- <url >https://maven.pkg.github.com/contentstack/contentstack-java </url >
92+ <id >ossrh </id >
93+ <url >https://oss.sonatype.org/content/repositories/snapshots </url >
9694 </snapshotRepository >
95+
96+ <!-- GitHub Packages -->
9797 <repository >
98- <id >ossrh </id >
99- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/ </url >
98+ <id >github </id >
99+ <url >https://maven.pkg.github.com/contentstack/contentstack-java </url >
100100 </repository >
101+
102+ <!-- Maven Release Repository -->
103+ <!-- <repository>-->
104+ <!-- <id>ossrh</id>-->
105+ <!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
106+ <!-- </repository>-->
107+
101108 </distributionManagement >
102109
103110
You can’t perform that action at this time.
0 commit comments