maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliot Metsger (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MJAVADOC-180) aggregation doesn't work for test-javadoc goal
Date Sat, 17 May 2008 15:44:27 GMT

     [ http://jira.codehaus.org/browse/MJAVADOC-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Elliot Metsger updated MJAVADOC-180:
------------------------------------

    Attachment: mjavadoc-180.tar

Hi Vincent, thanks for taking a look.  I'm attaching mjavadoc-180.tar which will explode the
test case to its own subdirectory.

Running 'mvn javadoc:test-javadoc' will produce the failure.  I've noted in the parent pom
where you can work around this issue by changing <aggregate> to 'false'.

Hopefully I'm not trying to do anything silly.  Thanks!

> aggregation doesn't work for test-javadoc goal
> ----------------------------------------------
>
>                 Key: MJAVADOC-180
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-180
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3, 2.4
>         Environment: maven-javadoc-plugin 2.3 final
> maven-javadoc-plugin 2.4-SNAPSHOT r632385
> Maven version: 2.0.8
> Java version: 1.5.0_13
> OS name: "mac os x" version: "10.5.2" arch: "i386" Family: "unix"
>            Reporter: Elliot Metsger
>         Attachments: mjavadoc-180.tar
>
>
> When executing 'javadoc:test-javadoc' from a parent project in a multi-module build,
it fails complaining of missing dependencies:
> mvn clean -X -e javadoc:test-javadoc
> <snip>
> [DEBUG] embargo-api: using locally installed snapshot
> [DEBUG] dspace-api: resolved to version 1.4.2e-20080118.034638-23 from repository msel.maven.snapshots
> [DEBUG] Compiled artifacts for edu.jhu.library.embargo:embargo-dspace:1.0.0-SNAPSHOT
> /Users/esm/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
> /Users/esm/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.jar
> /Users/esm/.m2/repository/xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.jar
> /Users/esm/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar
> /Users/esm/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
> /Users/esm/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar
> /Users/esm/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar
> /Users/esm/.m2/repository/edu/jhu/library/embargo/embargo-api/1.0.0-SNAPSHOT/embargo-api-1.0.0-SNAPSHOT.jar
> /Users/esm/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
> /Users/esm/.m2/repository/org/dspace/dspace-api/1.4.2e-SNAPSHOT/dspace-api-1.4.2e-SNAPSHOT.jar
> /Users/esm/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar
> <snip>
> [DEBUG] "cd /Users/esm/idea/workspace/embargo/target/site/testapidocs && /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
@options @packages
> [search path for source files: [/Users/esm/idea/workspace/embargo/embargo-api/src/test/java,
/Users/esm/idea/workspace/embargo/embargo-dspace/src/test/java]]
> [search path for class files: [/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar, /System/Library/Java/Extensions/CoreAudio.jar,
/System/Library/Java/Extensions/dns_sd.jar, /System/Library/Java/Extensions/j3daudio.jar,
/System/Library/Java/Extensions/j3dcore.jar, /System/Library/Java/Extensions/j3dutils.jar,
/System/Library/Java/Extensions/jai_codec.jar, /System/Library/Java/Extensions/jai_core.jar,
/System/Library/Java/Extensions/mlibwrapper_jai.jar, /System/Library/Java/Extensions/MRJToolkit.jar,
/System/Library/Java/Extensions/QTJava.zip, /System/Library/Java/Extensions/vecmath.jar, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/apple_provider.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/dnsns.jar, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunjce_provider.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunpkcs11.jar, /Users/esm/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar,
/Users/esm/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.jar,
/Users/esm/.m2/repository/xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.jar, /Users/esm/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar,
/Users/esm/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar, /Users/esm/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar,
/Users/esm/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar, /Users/esm/.m2/repository/edu/jhu/library/embargo/embargo-api/1.0.0-SNAPSHOT/embargo-api-1.0.0-SNAPSHOT.jar,
/Users/esm/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar, /Users/esm/.m2/repository/org/dspace/dspace-api/1.4.2e-SNAPSHOT/dspace-api-1.4.2e-SNAPSHOT.jar,
/Users/esm/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar]]
> <snip>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in Test JavaDocs report generation:Exit code: 1 - /Users/esm/idea/workspace/embargo/embargo-dspace/src/test/java/org/dspace/embargo/AbstractServiceTest.java:3:
package org.dbunit does not exist
> import org.dbunit.IDatabaseTester;
>                   ^
> /Users/esm/idea/workspace/embargo/embargo-dspace/src/test/java/org/dspace/embargo/AbstractServiceTest.java:4:
package org.dbunit does not exist
> import org.dbunit.PropertiesBasedJdbcDatabaseTester;
> <snip - more of the same>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message