[ https://jira.codehaus.org/browse/MJAVADOC-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324742#comment-324742 ]
Peter Hayes commented on MJAVADOC-338: -------------------------------------- I have the same comment as well. I'd like to use this feature but the build performance cost is high. In my case, I'm only using it to include 2 of my additional libraries but it still tries to access the javadoc-resources of every dependency of my project. At a minimum it should only look for those javadoc-resources that will be included. Here's a portion of my build output for reference: {code} [INFO] --- maven-javadoc-plugin:2.9:javadoc (published-api) @ uma-imdesktop --- Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/net/sf/ehcache/sizeof-agent/1.0.1/sizeof-agent-1.0.1.pom [WARNING] Missing POM for net.sf.ehcache:sizeof-agent:jar:1.0.1 Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/com/ibm/websphere/uow/6.0.2.17/uow-6.0.2.17.pom [WARNING] Missing POM for com.ibm.websphere:uow:jar:6.0.2.17 Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/stax/stax-ri/1.0/stax-ri-1.0.pom [WARNING] Missing POM for stax:stax-ri:jar:1.0 Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/log4j/log4j/1.2.15/log4j-1.2.15-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/com/fimt/asts/ws/frf-handlers/3.0.0/frf-handlers-3.0.0-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/com/fimt/asts/ws/frf-identity/3.0.0/frf-identity-3.0.0-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/com/fimt/asts/ws/frf-utils/3.0.0/frf-utils-3.0.0-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/com/fimt/asts/ws/config-ws-stubs/1.0.0/config-ws-stubs-1.0.0-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/com/fimt/asts/frf/maven-archetype-frf-contract-first/3.0.0/maven-archetype-frf-contract-first-3.0.0-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/springframework/spring-aop/3.2.1.RELEASE/spring-aop-3.2.1.RELEASE-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/aopalliance/aopalliance/1.0/aopalliance-1.0-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/springframework/spring-beans/3.2.1.RELEASE/spring-beans-3.2.1.RELEASE-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/springframework/spring-core/3.2.1.RELEASE/spring-core-3.2.1.RELEASE-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/springframework/spring-context/3.2.1.RELEASE/spring-context-3.2.1.RELEASE-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/org/springframework/spring-expression/3.2.1.RELEASE/spring-expression-3.2.1.RELEASE-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/commons-lang/commons-lang/2.4/commons-lang-2.4-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/commons-codec/commons-codec/1.4/commons-codec-1.4-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/javax/transaction/jta/1.1/jta-1.1-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/javax/xml/bind/jaxb-api/2.2/jaxb-api-2.2-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2-javadoc-resources.jar Downloading: http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public/javax/activation/activation/1.1/activation-1.1-javadoc-resources.jar {code} > When includeDependencySources=true the javadoc plugin should not download the > internet every time it is run > ----------------------------------------------------------------------------------------------------------- > > Key: MJAVADOC-338 > URL: https://jira.codehaus.org/browse/MJAVADOC-338 > Project: Maven 2.x Javadoc Plugin > Issue Type: Bug > Affects Versions: 2.8 > Reporter: Geoffrey De Smet > > This is my configuration: > {code} > <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> > {code} > the javadoc plugins downloads a very long list of dependencies every time it > is run: > {code} > 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 > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira