summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml117
1 files changed, 113 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 24c31e6..2b7653d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
<licenses>
<license>
<name>WTFPL Version 2</name>
- <url>http://www.wtfpl.net/</url>
+ <url>http://www.wtfpl.net/txt/copying/</url>
<distribution>repo</distribution>
</license>
</licenses>
@@ -127,14 +127,26 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.5</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.9.1</version>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5</version>
</plugin>
</plugins>
</pluginManagement>
@@ -169,6 +181,30 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <links>
+ <link>https://google-guice.googlecode.com/git/latest-javadoc/</link>
+ <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link>
+ <link>http://jsr-305.googlecode.com/svn/trunk/javadoc/</link>
+ <link>http://junit.sourceforge.net/javadoc/</link>
+ <link>http://hamcrest.org/JavaHamcrest/javadoc/1.3/</link>
+ <link>http://docs.mockito.googlecode.com/hg/latest/</link>
+ </links>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
@@ -184,6 +220,17 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ <tagNameFormat>@{project.version}</tagNameFormat>
+ <useReleaseProfile>false</useReleaseProfile>
+ <goals>deploy</goals>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -192,13 +239,29 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <links>
+ <link>https://google-guice.googlecode.com/git/latest-javadoc/</link>
+ <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link>
+ <link>http://jsr-305.googlecode.com/svn/trunk/javadoc/</link>
+ <link>http://junit.sourceforge.net/javadoc/</link>
+ <link>http://hamcrest.org/JavaHamcrest/javadoc/1.3/</link>
+ <link>http://docs.mockito.googlecode.com/hg/latest/</link>
+ </links>
+ </configuration>
<reportSets>
<reportSet>
- <id>default</id>
+ <id>non-aggregate</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
</reportSets>
</plugin>
</plugins>
@@ -209,4 +272,50 @@
<module>sangria-contextual</module>
<module>sangria-slf4j</module>
</modules>
+
+ <profiles>
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <distributionManagement>
+ <repository>
+ <id>ossrh</id>
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+ </repository>
+
+ <snapshotRepository>
+ <id>ossrh</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ </snapshotRepository>
+
+ <site>
+ <id>website</id>
+ <url>scp://tavianator.com/srv/http/sangria/</url>
+ </site>
+ </distributionManagement>
</project>