Skip to content

Commit

Permalink
Replace maven-deploy-plugin to nexus-staging-maven-plugin to fix prob…
Browse files Browse the repository at this point in the history
…lem with deploying to Nexus
  • Loading branch information
maxd committed Mar 4, 2018
1 parent 6457c7f commit 5426cd7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bolt-jna-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.protonail.bolt-jna</groupId>
<artifactId>bolt-jna</artifactId>
<version>1.3.1-0</version>
<version>1.3.1-1</version>
</parent>

<artifactId>bolt-jna-core</artifactId>
Expand Down Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>com.protonail.bolt-jna</groupId>
<artifactId>bolt-jna-native</artifactId>
<version>1.3.1-0</version>
<version>1.3.1-1</version>
<classifier>${platform.classifier}</classifier>
<scope>test</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion bolt-jna-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.protonail.bolt-jna</groupId>
<artifactId>bolt-jna</artifactId>
<version>1.3.1-0</version>
<version>1.3.1-1</version>
</parent>

<artifactId>bolt-jna-native</artifactId>
Expand Down
17 changes: 14 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.protonail.bolt-jna</groupId>
<artifactId>bolt-jna</artifactId>
<version>1.3.1-0</version>
<version>1.3.1-1</version>

<url>https://github.com/protonail/bolt-jna</url>
<description>Java JNA (not JNI) adapter for Bolt DB</description>
Expand Down Expand Up @@ -101,8 +101,19 @@
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>protonail-remote</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>

<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
<autoReleaseAfterClose>false</autoReleaseAfterClose>

<stagingProfileId>11f32912fe469</stagingProfileId>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 5426cd7

Please sign in to comment.