Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-338

When includeDependencySources=true the javadoc plugin should not download the internet every time it is run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8
    • 3.1.0
    • None
    • None

    Description

      This is my configuration:

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
              <executions>
                <execution>
                  <phase>package</phase>
                  <goals>
                    <goal>javadoc</goal>
                  </goals>
                </execution>
              </executions>
              <configuration>
                <includeDependencySources>true</includeDependencySources>
                <includeTransitiveDependencySources>true</includeTransitiveDependencySources>
                <dependencySourceIncludes>
                  <dependencySourceInclude>org.drools:*</dependencySourceInclude>
                </dependencySourceIncludes>
              </configuration>
            </plugin>
      

      the javadoc plugins downloads a very long list of dependencies every time it is run:

      gdesmet@gdesmetRedHat2010 droolsjbpm-uber-distribution [master *] $ mvn javadoc:javadoc
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools and jBPM uber distribution 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-javadoc-plugin:2.8:javadoc (default-cli) @ droolsjbpm-uber-distribution >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ droolsjbpm-uber-distribution ---
      [INFO] 
      [INFO] <<< maven-javadoc-plugin:2.8:javadoc (default-cli) @ droolsjbpm-uber-distribution <<<
      [INFO] 
      [INFO] --- maven-javadoc-plugin:2.8:javadoc (default-cli) @ droolsjbpm-uber-distribution ---
      [WARNING] Missing POM for stax:stax-ri:jar:1.0
      [WARNING] Missing POM for javax.ejb:ejb:jar:3.0
      [WARNING] Missing POM for com.sun:tools:jar:javadoc-resources:1.5.0
      [WARNING] Missing POM for woodstox:wstx-asl:jar:3.2.2
      [WARNING] Missing POM for org.springframework.osgi:log4j.osgi:jar:1.2.15-SNAPSHOT
      [WARNING] Missing POM for javax.servlet.jsp.jstl:jstl:jar:1.2
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.beans:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.asm:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.core:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.aop:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.aspects/3.0.0.RELEASE/org.springframework.aspects-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.aspects/3.0.0.RELEASE/org.springframework.aspects-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.aspects/3.0.0.RELEASE/org.springframework.aspects-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.aspects:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.context:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.context.support/3.0.0.RELEASE/org.springframework.context.support-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.context.support/3.0.0.RELEASE/org.springframework.context.support-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.context.support/3.0.0.RELEASE/org.springframework.context.support-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.context.support:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.pom
      Downloading: http://repo1.maven.org/maven2/org/springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.pom
      [WARNING] Missing POM for org.springframework:org.springframework.expression:jar:javadoc-resources:3.0.0.RELEASE
      Downloading: http://repository.jboss.org/nexus/content/groups/public/net/sourceforge/jexcelapi/com.springsource.jxl/2.6.6/com.springsource.jxl-2.6.6.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/net/sourceforge/jexcelapi/com.springsource.jxl/2.6.6/com.springsource.jxl-2.6.6.pom
      Downloading: http://repo1.maven.org/maven2/net/sourceforge/jexcelapi/com.springsource.jxl/2.6.6/com.springsource.jxl-2.6.6.pom
      [WARNING] Missing POM for net.sourceforge.jexcelapi:com.springsource.jxl:jar:javadoc-resources:2.6.6
      Downloading: http://repository.jboss.org/nexus/content/groups/public/com/thoughtworks/xstream/com.springsource.com.thoughtworks.xstream/1.3.1/com.springsource.com.thoughtworks.xstream-1.3.1.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/com/thoughtworks/xstream/com.springsource.com.thoughtworks.xstream/1.3.1/com.springsource.com.thoughtworks.xstream-1.3.1.pom
      Downloading: http://repo1.maven.org/maven2/com/thoughtworks/xstream/com.springsource.com.thoughtworks.xstream/1.3.1/com.springsource.com.thoughtworks.xstream-1.3.1.pom
      [WARNING] Missing POM for com.thoughtworks.xstream:com.springsource.com.thoughtworks.xstream:jar:javadoc-resources:1.3.1
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.pom
      Downloading: http://repo1.maven.org/maven2/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.pom
      [WARNING] Missing POM for org.joda:com.springsource.org.joda.time:jar:javadoc-resources:1.6.0
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/antlr/com.springsource.org.antlr.runtime/3.1.3/com.springsource.org.antlr.runtime-3.1.3.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/antlr/com.springsource.org.antlr.runtime/3.1.3/com.springsource.org.antlr.runtime-3.1.3.pom
      Downloading: http://repo1.maven.org/maven2/org/antlr/com.springsource.org.antlr.runtime/3.1.3/com.springsource.org.antlr.runtime-3.1.3.pom
      [WARNING] Missing POM for org.antlr:com.springsource.org.antlr.runtime:jar:javadoc-resources:3.1.3
      Downloading: http://repository.jboss.org/nexus/content/groups/public/org/antlr/com.springsource.org.antlr/3.1.3/com.springsource.org.antlr-3.1.3.pom
      Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/antlr/com.springsource.org.antlr/3.1.3/com.springsource.org.antlr-3.1.3.pom
      Downloading: http://repo1.maven.org/maven2/org/antlr/com.springsource.org.antlr/3.1.3/com.springsource.org.antlr-3.1.3.pom
      [WARNING] Missing POM for org.antlr:com.springsource.org.antlr:jar:javadoc-resources:3.1.3
      

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              ge0ffrey.desmet Geoffrey De Smet
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: