Skip to content

Commit 2cd1f5a

Browse files
committed
WIP
1 parent 85522b8 commit 2cd1f5a

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/pre-release-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
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

pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,33 @@
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>

0 commit comments

Comments
 (0)