Maven changes to support auto upload of snapshot versions, better javadocs etc.

This commit is contained in:
Mike Hearn
2014-10-02 14:22:25 +02:00
parent 0914c82f69
commit 6f22cba76f
3 changed files with 116 additions and 47 deletions

View File

@@ -88,7 +88,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
@@ -104,6 +103,7 @@
</configuration>
</plugin>
<!-- Generate source and javadoc jars: Maven Central requires this -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
@@ -118,6 +118,27 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<detectLinks/>
<links>
<link>http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/</link>
</links>
<detectJavaApiLink/>
</configuration>
</plugin>
<!-- Verify the dependency chain: see https://github.com/gary-rowe/BitcoinjEnforcerRules for
more information on this.
-->