Skip to content

Commit 2838e96

Browse files
committed
Fixed deployment to Maven central
1 parent eb62d88 commit 2838e96

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.ci.settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<properties>
2929
<repoToken>${env.repoToken}</repoToken>
3030
<gpg.passphrase>${env.signing_keypass}</gpg.passphrase>
31+
<skipRemoteStaging>${env.skipRemoteStaging}</skipRemoteStaging>
3132
</properties>
3233
<repositories>
3334
<repository>

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- name: build and deploy
2020
if: (NOT type IN (pull_request)) AND (branch = master)
2121
before_script:
22+
- export MAVEN_OPTS="-Xms128m -Xmx512m --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
2223
- export GPG_TTY=$(tty)
2324
- echo $signing_secret_key | base64 --decode | gpg --batch --import
2425
- echo $signing_ownertrust | base64 --decode | gpg --import-ownertrust

pom.xml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -424,13 +424,6 @@
424424
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
425425
<autoReleaseAfterClose>true</autoReleaseAfterClose>
426426
</configuration>
427-
<dependencies>
428-
<dependency>
429-
<groupId>com.thoughtworks.xstream</groupId>
430-
<artifactId>xstream</artifactId>
431-
<version>1.4.15</version> <!-- apparently this needs to be exactly this version -->
432-
</dependency>
433-
</dependencies>
434427
</plugin>
435428
<plugin>
436429
<groupId>org.codehaus.mojo</groupId>
@@ -646,11 +639,6 @@
646639
</archive>
647640
</configuration>
648641
</plugin>
649-
<plugin>
650-
<groupId>org.sonatype.plugins</groupId>
651-
<artifactId>nexus-staging-maven-plugin</artifactId>
652-
<extensions>true</extensions>
653-
</plugin>
654642
<plugin>
655643
<groupId>org.codehaus.mojo</groupId>
656644
<artifactId>buildnumber-maven-plugin</artifactId>
@@ -893,6 +881,11 @@
893881
<id>sonatype-oss-release</id>
894882
<build>
895883
<plugins>
884+
<plugin>
885+
<groupId>org.sonatype.plugins</groupId>
886+
<artifactId>nexus-staging-maven-plugin</artifactId>
887+
<extensions>true</extensions>
888+
</plugin>
896889
<plugin>
897890
<groupId>org.apache.maven.plugins</groupId>
898891
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)