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 29
29
echo Pre-release version $pre_release_version
30
30
mvn versions:set -DnewVersion=$pre_release_version -DgenerateBackupPoms=false
31
31
mvn versions:commit
32
- mvn clean deploy -Pdeploy2Github -B -V
32
+ mvn clean deploy -Pdeploy2Github -DskipTests - B -V
33
33
env :
34
34
GITHUB_TOKEN : ${{ secrets.ORGANIZATION_TOKEN }}
35
35
- name : Set up Java for publishing to Maven Central Repository
Original file line number Diff line number Diff line change 35
35
</repository >
36
36
</distributionManagement >
37
37
</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 >
38
65
</profiles >
39
66
40
67
<scm >
You can’t perform that action at this time.
0 commit comments