You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Geoffrey De Smet (JIRA)" <ji...@codehaus.org> on 2012/01/17 11:46:02 UTC

[jira] (MJAVADOC-338) When includeDependencySources=true the javadoc plugin should not download the internet every time it is run

Geoffrey De Smet created MJAVADOC-338:
-----------------------------------------

             Summary: 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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAVADOC-338) When includeDependencySources=true the javadoc plugin should not download the internet every time it is run

Posted by "Geoffrey De Smet (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MJAVADOC-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288527#comment-288527 ] 

Geoffrey De Smet commented on MJAVADOC-338:
-------------------------------------------

Notice how it always looks for "javadoc-resources" artifacts. But since I am not use those, I don't see the point.
                
> 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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira