Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-406

Can you please publish JavaDoc jars for Arquillian and Shrinkwrap in Maven Repo?

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Trivial
    • 1.0.0.CR1
    • None
    • None
    • None
    • Low

    Description

      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

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            sboscarine_jira Steven Boscarine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: