Description
After a few more fixes for the 2.0 release I stumbled upon this. The release:prepare phase fails with the following error:
[INFO] [INFO] [ianal:verify-legal-files {execution: default}] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Building Apache Camel Test Bundles: mock-javamail-1.7 [INFO] [INFO] task-segment: [clean, verify] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] [clean:clean] [INFO] [INFO] Deleting file set: /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/target (included: [**], excluded: []) [INFO] [INFO] [dependency:copy {execution: copy-legal}] [INFO] [INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml [INFO] [INFO] Copying legal-1.0.xml to /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/target/legal/legal.xml [INFO] [INFO] [remote-resources:process {execution: default}] [INFO] [INFO] [resources:resources] [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] [INFO] Copying 6 resources [INFO] [INFO] Copying 3 resources [INFO] [INFO] [compiler:compile] [INFO] [INFO] Compiling 3 source files to /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/target/classes [INFO] [INFO] [resources:testResources] [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] [INFO] skip non existing resourceDirectory /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/src/test/resources [INFO] [INFO] Copying 3 resources [INFO] [INFO] [compiler:testCompile] [INFO] [INFO] No sources to compile [INFO] [INFO] [surefire:test] [INFO] [INFO] Tests are skipped. [INFO] [INFO] [bundle:bundle] [INFO] [INFO] Expanding: /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/target/org.apache.camel.tests.mock-javamail_1.7-2.0.0.jar into /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/target/classes [INFO] [INFO] Preparing source:jar [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] [INFO] No goals needed for project - skipping [INFO] [INFO] [source:jar {execution: attach-sources}] [INFO] [INFO] Building jar: /w1/apache/release/camel/tests/test-bundles/mock-javamail_1.7/target/org.apache.camel.tests.mock-javamail_1.7-2.0.0-sources.jar [INFO] [INFO] [javadoc:jar {execution: attach-javadocs}] [INFO] 1 error [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] BUILD ERROR [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] MavenReportException: Error while creating archive:Exit code: 1 - javadoc: error - No public or protected classes found to document. [INFO] [INFO] Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx500m @options @packages [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 93 minutes 39 seconds [INFO] [INFO] Finished at: Sun Aug 16 23:03:42 EDT 2009 [INFO] [INFO] Final Memory: 115M/206M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Maven execution failed, exit code: '1'