Add javadoc and source plugin by default, so that the repo

is always release ready (e.g. no javadoc errors).
This commit is contained in:
Andreas Dangel 2016-07-02 12:11:48 +02:00
parent 9b0f6f40fb
commit 5f6e6c3861

24
pom.xml
View File

@ -600,6 +600,30 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>