|
@@ -107,6 +107,17 @@
|
|
|
<id>release</id>
|
|
|
<build>
|
|
|
<plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.sonatype.plugins</groupId>
|
|
|
+ <artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
+ <version>1.6.3</version>
|
|
|
+ <extensions>true</extensions>
|
|
|
+ <configuration>
|
|
|
+ <serverId>sonatype-releases</serverId>
|
|
|
+ <nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
+ <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
@@ -135,6 +146,9 @@
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
<version>2.9.1</version>
|
|
|
+ <configuration>
|
|
|
+ <additionalparam>-Xdoclint:none</additionalparam>
|
|
|
+ </configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>attach-javadocs</id>
|
|
@@ -361,16 +375,29 @@
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
+ <!--<distributionManagement>-->
|
|
|
+ <!--<repository>-->
|
|
|
+ <!--<id>releases</id>-->
|
|
|
+ <!--<name>Nexus Release Repository</name>-->
|
|
|
+ <!--<url>http://nexus.hsweb.me/content/repositories/releases/</url>-->
|
|
|
+ <!--</repository>-->
|
|
|
+ <!--<snapshotRepository>-->
|
|
|
+ <!--<id>snapshots</id>-->
|
|
|
+ <!--<name>Nexus Snapshot Repository</name>-->
|
|
|
+ <!--<url>http://nexus.hsweb.me/content/repositories/snapshots/</url>-->
|
|
|
+ <!--</snapshotRepository>-->
|
|
|
+ <!--</distributionManagement>-->
|
|
|
+
|
|
|
<distributionManagement>
|
|
|
<repository>
|
|
|
- <id>releases</id>
|
|
|
- <name>Nexus Release Repository</name>
|
|
|
- <url>http://nexus.hsweb.me/content/repositories/releases/</url>
|
|
|
+ <id>sonatype-releases</id>
|
|
|
+ <name>sonatype repository</name>
|
|
|
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
|
|
</repository>
|
|
|
<snapshotRepository>
|
|
|
- <id>snapshots</id>
|
|
|
+ <id>sonatype-snapshots</id>
|
|
|
<name>Nexus Snapshot Repository</name>
|
|
|
- <url>http://nexus.hsweb.me/content/repositories/snapshots/</url>
|
|
|
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
</snapshotRepository>
|
|
|
</distributionManagement>
|
|
|
|