-
Feature Request
-
Resolution: Done
-
Trivial
-
None
-
None
-
None
-
Low
I noticed that in the Maven repository, you are only publishing sources and binaries. Can you please publish JavaDoc as well? It would allow the user to access the correct version of the docs from their IDE.
I noticed both Arquillian and Shrinkwrap don't have JavaDoc archives:
https://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/shrinkwrap-api/1.0.0-alpha-9/
https://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/container/arquillian-glassfish-embedded-3.1/1.0.0.Alpha5/
Doing so is super easy. Just add:
<!-- Package JavaDocs to JAR to upload to repo -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<!-- Restrict execution of source compilation to install -->
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
(from http://info.rmatics.org/2009/04/14/publish-binaries-source-and-javadoc-using-maven/)
Thanks!
Steven