File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 2929 echo Pre-release version $pre_release_version
3030 mvn versions:set -DnewVersion=$pre_release_version -DgenerateBackupPoms=false
3131 mvn versions:commit
32- mvn clean deploy -Pdeploy2Github -B -V
32+ mvn clean deploy -Pdeploy2Github -DskipTests - B -V
3333 env :
3434 GITHUB_TOKEN : ${{ secrets.ORGANIZATION_TOKEN }}
3535 - name : Set up Java for publishing to Maven Central Repository
Original file line number Diff line number Diff line change 3535 </repository >
3636 </distributionManagement >
3737 </profile >
38+ <profile >
39+ <id >deploy2Maven</id >
40+ <distributionManagement >
41+ <repository >
42+ <id >ossrh</id >
43+ <name >Central Repository OSSRH</name >
44+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
45+ </repository >
46+ </distributionManagement >
47+ <build >
48+ <plugins >
49+ <plugin >
50+ <groupId >org.sonatype.plugins</groupId >
51+ <artifactId >nexus-staging-maven-plugin</artifactId >
52+ </plugin >
53+ <plugin >
54+ <artifactId >maven-source-plugin</artifactId >
55+ </plugin >
56+ <plugin >
57+ <artifactId >maven-javadoc-plugin</artifactId >
58+ </plugin >
59+ <plugin >
60+ <artifactId >maven-gpg-plugin</artifactId >
61+ </plugin >
62+ </plugins >
63+ </build >
64+ </profile >
3865 </profiles >
3966
4067 <scm >
You can’t perform that action at this time.
0 commit comments