Build javadoc when building jar.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 26 Nov 2009 13:33:04 +0000 (14:33 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 26 Nov 2009 13:33:04 +0000 (14:33 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 2ddf8a3..05b0255 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        <target>1.5</target>
                                </configuration>
                        </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>
                </plugins>
        </build>
 </project>