Automatically build and deploy javadoc jars

This commit is contained in:
Eric 2016-07-06 18:28:35 +02:00
parent fbbe519381
commit b817bf61ea

16
pom.xml
View File

@ -114,10 +114,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<doctitle>ShopChest ${project.version} API</doctitle>
<windowtitle>ShopChest ${project.version} API</windowtitle>
</configuration>
<executions>
<execution>
<id>aggregate</id>
@ -125,6 +121,17 @@
<goal>aggregate</goal>
</goals>
<phase>site</phase>
<configuration>
<doctitle>ShopChest ${project.version} API</doctitle>
<windowtitle>ShopChest ${project.version} API</windowtitle>
</configuration>
</execution>
<execution>
<id>jar</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
@ -134,6 +141,7 @@
<version>2.7</version>
<configuration>
<altDeploymentRepository>internal-maven-repo::default::file://${project.build.directory}/gh-pages/maven</altDeploymentRepository>
<javadoc>${project.build.directory}/${project.build.finalName}-javadoc.jar</javadoc>
</configuration>
</plugin>
<plugin>