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