Skip to content

Commit

Permalink
change configuration
Browse files Browse the repository at this point in the history
issue #362
  • Loading branch information
rsoika committed Apr 6, 2018
1 parent 4e732a1 commit 6b3b417
Showing 1 changed file with 17 additions and 34 deletions.
51 changes: 17 additions & 34 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
<report>scm</report>
<report>summary</report>
</reports>

</plugin>

<plugin>
Expand Down Expand Up @@ -154,45 +153,31 @@
</configuration>
</plugin>


<!-- release management -->
<!-- release management <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <version>2.3.2</version> </plugin> -->
<!-- release management to release to Maven central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>




</plugins>

</build>

<profiles>
<!-- Activate using the release property: mvn clean install -Prelease -->
<!-- Activate using the release property -->
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>

<build>
<plugins>
<!-- To release to Maven central -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoreleaseafterclose>true</autoreleaseafterclose>
</configuration>
</plugin>
<!-- To generate javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -270,14 +255,12 @@
<!-- Distributen Management oss.sonatype.org -->
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand Down

0 comments on commit 6b3b417

Please sign in to comment.