thanks Denis for the analysis I think the culprit is http://jira.codehaus.org/browse/MPLUGIN-227
and javadoc plugin is just intolerant at this case where there is some code in "unnamed" package: not a regression, just a case that wasn't seen in real world before the bug in plugin tools I just created https://jira.codehaus.org/browse/MJAVADOC-354 which I should fix immediately Regards, Hervé Le samedi 29 septembre 2012 00:06:18 Dennis Lundberg a écrit : > Hi > > I had a look at why the Javadoc Plugin has started failing. At first it > seemed weird since there had been no code changes, but then it hit me > that a new version of said plugin had just been released, and therefor a > new site had been published. After some digging I found out the reason > for the failure. > > In version 2.8.1 the package-list looks like this: > maven.apache.org/plugins/maven-javadoc-plugin-2.8.1/apidocs/package-list > > In version 2.9 (latest) the package-list looks like this: > http://maven.apache.org/plugins/maven-javadoc-plugin/apidocs/package-list > > Note the leading empty line in 2.9, which is causing JavadocUtil to deem > the package-list invalid. I don't know where the blank line is coming > from or why it has appeared now, but it seems to be a regression in > Javadoc Plugin 2.9. > > On 2012-09-28 23:00, Apache Jenkins Server wrote: > > See <https://builds.apache.org/job/maven-plugins-ITs-m2/790/changes> > > > > Changes: > > > > [krosenvold] Revert "added generics" > > > > This reverts commit 19ae2a8f731d39653450c89d830f25e7ecf691bf. > > > > [krosenvold] o Make asssembly compile on java7 > > > > ------------------------------------------ > > [...truncated 10159 lines...] > > [INFO] Exploding webapp > > [INFO] Assembling webapp [maven-war-plugin-test] in > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedmojo/test-dir/ExplodedWarWithSourceMod > > ificationCheck]> [INFO] Processing war project > > [INFO] Copying webapp resources > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedmojo/test-dir/ExplodedWarWithSourceMod > > ificationCheck-test-data/source]> [INFO] Webapp assembled in [2 msecs] > > [INFO] Exploding webapp > > [INFO] Assembling webapp [maven-war-plugin-test] in > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedmojo/test-dir/ExplodedWarWithFileNameM > > apping]> [INFO] Processing war project > > [INFO] Copying webapp resources > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedmojo/test-dir/ExplodedWarWithFileNameM > > apping-test-data/source]> [INFO] Webapp assembled in [3 msecs] > > [INFO] Exploding webapp > > [INFO] Assembling webapp [maven-war-plugin-test] in > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedmojo/test-dir/ExplodedWarWithFileNameM > > appingAndDuplicateDependencies]> [INFO] Processing war project > > [INFO] Copying webapp resources > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedmojo/test-dir/ExplodedWarWithFileNameM > > appingAndDuplicateDependencies-test-data/source]> [INFO] Webapp assembled > > in [3 msecs] > > Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.016 sec > > Running org.apache.maven.plugin.war.WarInPlaceMojoTest > > [INFO] Generating webapp in source directory > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedinplacemojo/test-dir/SimpleExplodedInp > > laceWar-test-data/source]> [INFO] Assembling webapp > > [maven-war-plugin-test] in > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedinplacemojo/test-dir/SimpleExplodedInp > > laceWar-test-data/source]> [INFO] Processing war project > > [INFO] Copying webapp webResources > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedinplacemojo/test-dir/resources]> to > > [<https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/ > > target/test-classes/unit/warexplodedinplacemojo/test-dir/SimpleExplodedInp > > laceWar-test-data/source]> [INFO] Webapp assembled in [1 msecs] > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec > > > > Results : > > > > Tests run: 85, Failures: 0, Errors: 0, Skipped: 0 > > > > [INFO] [jar:jar {execution: default-jar}] > > [INFO] Building jar: > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/maven-war-plugin-2.4-SNAPSHOT.jar> [INFO] > > [plugin:addPluginArtifactMetadata {execution: > > default-addPluginArtifactMetadata}] [INFO] [invoker:install {execution: > > integration-test}] > > [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/p > > om.xml> to > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/local-repo/org/apache/maven/plugins/maven-war-plugin/2.4-SNAPSHOT/ma > > ven-war-plugin-2.4-SNAPSHOT.pom> [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/maven-war-plugin-2.4-SNAPSHOT.jar> to > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/local-repo/org/apache/maven/plugins/maven-war-plugin/2.4-SNAPSHOT/ma > > ven-war-plugin-2.4-SNAPSHOT.jar> [INFO] [invoker:integration-test > > {execution: integration-test}] > > [INFO] Building: simple-war-project/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/simple-war-project/verify.bsh> [INFO] ..SUCCESS (3.2 s) > > [INFO] Building: MWAR-143/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-143/verify.bsh> [INFO] ..SUCCESS (7.7 s) > > [INFO] Building: MWAR-139/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-139/verify.bsh> [INFO] ..SUCCESS (2.9 s) > > [INFO] Building: MWAR-133/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-133/verify.bsh> [INFO] ..SUCCESS (2.5 s) > > [INFO] Building: scoped-dependency-same-artifact/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/scoped-dependency-same-artifact/verify.bsh> [INFO] ..SUCCESS (3.4 > > s) > > [INFO] Building: overlay-excludes/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/overlay-excludes/verify.bsh> [INFO] ..SUCCESS (4.1 s) > > [INFO] Building: simple-war-no-webxml/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/simple-war-no-webxml/verify.bsh> [INFO] ..SUCCESS (2.9 s) > > [INFO] Building: MWAR-62/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-62/verify.bsh> [INFO] ..SUCCESS (2.3 s) > > [INFO] Building: web-resources-filtering/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/web-resources-filtering/verify.bsh> [INFO] ..SUCCESS (3.8 s) > > [INFO] Building: MWAR-96/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-96/verify.bsh> [INFO] ..SUCCESS (2.9 s) > > [INFO] Building: MWAR-240/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-240/verify.bsh> [INFO] ..SUCCESS (3.2 s) > > [INFO] Building: MWAR-131/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-131/verify.bsh> [INFO] ..SUCCESS (6.4 s) > > [INFO] Building: default/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/default/verify.bsh> [INFO] ..SUCCESS (3.3 s) > > [INFO] Building: manifest-content/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/manifest-content/verify.bsh> [INFO] ..SUCCESS (3.0 s) > > [INFO] Building: MWAR-129/pom.xml > > [INFO] run script > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/it/MWAR-129/verify.bsh> [INFO] ..SUCCESS (2.3 s) > > [INFO] [invoker:verify {execution: integration-test}] > > [INFO] ------------------------------------------------- > > [INFO] Build Summary: > > [INFO] Passed: 15, Failed: 0, Errors: 0, Skipped: 0 > > [INFO] ------------------------------------------------- > > [INFO] [install:install {execution: default-install}] > > [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-war-plugin/t > > arget/maven-war-plugin-2.4-SNAPSHOT.jar> to > > /home/jenkins/.m2/repository/org/apache/maven/plugins/maven-war-plugin/2. > > 4-SNAPSHOT/maven-war-plugin-2.4-SNAPSHOT.jar [INFO] > > ------------------------------------------------------------------------ > > [INFO] Building SCM Publish Maven Plugin > > [INFO] task-segment: [clean, install] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] [clean:clean {execution: default-clean}] > > [INFO] Deleting > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target> [INFO] [enforcer:enforce {execution: > > ensure-no-container-api}] > > [INFO] [plugin:helpmojo {execution: generated-helpmojo}] > > [INFO] Using 'UTF-8' encoding to read mojo metadata. > > [INFO] Applying mojo extractor for language: java > > [INFO] Mojo extractor for language: java found 1 mojo descriptors. > > [INFO] Applying mojo extractor for language: bsh > > [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. > > [INFO] Applying mojo extractor for language: java-annotations > > [INFO] Mojo extractor for language: java-annotations found 0 mojo > > descriptors. [INFO] [plugin:descriptor {execution: default-descriptor}] > > [INFO] Using 'UTF-8' encoding to read mojo metadata. > > [INFO] Applying mojo extractor for language: java > > [INFO] Mojo extractor for language: java found 2 mojo descriptors. > > [INFO] Applying mojo extractor for language: bsh > > [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. > > [INFO] Applying mojo extractor for language: java-annotations > > [INFO] Mojo extractor for language: java-annotations found 0 mojo > > descriptors. [WARNING] The parameter expression: > > 'project.build.resources' used in mojo: 'process' has been deprecated. > > Use 'project.resources' instead. [INFO] [remote-resources:process > > {execution: default}] > > [debug] execute contextualize > > [INFO] [resources:resources {execution: default-resources}] > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 2 resources > > [INFO] Copying 3 resources > > [INFO] [compiler:compile {execution: default-compile}] > > [INFO] Compiling 7 source files to > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/classes> [INFO] [plugin:descriptor {execution: > > mojo-descriptor}] > > [INFO] Using 'UTF-8' encoding to read mojo metadata. > > [INFO] Applying mojo extractor for language: java > > [INFO] Mojo extractor for language: java found 2 mojo descriptors. > > [INFO] Applying mojo extractor for language: bsh > > [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. > > [INFO] Applying mojo extractor for language: java-annotations > > [INFO] Mojo extractor for language: java-annotations found 3 mojo > > descriptors. [debug] execute contextualize > > [INFO] [resources:testResources {execution: default-testResources}] > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] skip non existing resourceDirectory > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/src/test/resources> [INFO] Copying 3 resources > > [INFO] [compiler:testCompile {execution: default-testCompile}] > > [INFO] No sources to compile > > [INFO] [surefire:test {execution: default-test}] > > [INFO] Surefire report directory: > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/surefire-reports> > > > > ------------------------------------------------------- > > > > T E S T S > > > > ------------------------------------------------------- > > > > Results : > > > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > > > [INFO] [jar:jar {execution: default-jar}] > > [INFO] Building jar: > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/maven-scm-publish-plugin-1.0-SNAPSHOT.jar> [INFO] > > [plugin:addPluginArtifactMetadata {execution: > > default-addPluginArtifactMetadata}] [INFO] [invoker:install {execution: > > integration-test}] > > [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/pom.xml> to > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/local-repo/org/apache/maven/plugins/maven-scm-publish-plugin > > /1.0-SNAPSHOT/maven-scm-publish-plugin-1.0-SNAPSHOT.pom> [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/maven-scm-publish-plugin-1.0-SNAPSHOT.jar> to > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/local-repo/org/apache/maven/plugins/maven-scm-publish-plugin > > /1.0-SNAPSHOT/maven-scm-publish-plugin-1.0-SNAPSHOT.jar> [INFO] > > [invoker:integration-test {execution: integration-test}] > > [INFO] Building: 006-site-multi-module/pom.xml > > [INFO] run script setup.bsh > > [INFO] ..SUCCESS (22.3 s) > > [INFO] Building: 005-site-lifecycle/pom.xml > > [INFO] run script setup.bsh > > [INFO] ..SUCCESS (18.8 s) > > [INFO] Building: 002-perform/pom.xml > > [INFO] run script setup.bsh > > [INFO] ..SUCCESS (18.0 s) > > [INFO] Building: 001-prepare/pom.xml > > [INFO] run script setup.bsh > > [INFO] ..SUCCESS (5.0 s) > > [INFO] Building: 004-publish-scm/pom.xml > > [INFO] run script setup.bsh > > [INFO] ..SUCCESS (19.0 s) > > [INFO] Building: 003-lifecycle/pom.xml > > [INFO] run script setup.bsh > > [INFO] ..SUCCESS (5.4 s) > > [INFO] [invoker:verify {execution: integration-test}] > > [INFO] ------------------------------------------------- > > [INFO] Build Summary: > > [INFO] Passed: 6, Failed: 0, Errors: 0, Skipped: 0 > > [INFO] ------------------------------------------------- > > [INFO] [install:install {execution: default-install}] > > [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-scm-publish- > > plugin/target/maven-scm-publish-plugin-1.0-SNAPSHOT.jar> to > > /home/jenkins/.m2/repository/org/apache/maven/plugins/maven-scm-publish-p > > lugin/1.0-SNAPSHOT/maven-scm-publish-plugin-1.0-SNAPSHOT.jar [INFO] > > ------------------------------------------------------------------------ > > [INFO] Building Maven Plugins Aggregator > > [INFO] task-segment: [clean, install] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] [clean:clean {execution: default-clean}] > > [INFO] Deleting > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/target> [INFO] > > [remote-resources:process {execution: default}] > > [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] > > [INFO] [install:install {execution: default-install}] > > [INFO] Installing > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/pom.xml> to > > /home/jenkins/.m2/repository/org/apache/maven/plugins/maven-plugins-aggre > > gator/1-SNAPSHOT/maven-plugins-aggregator-1-SNAPSHOT.pom [INFO] > > [INFO] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Maven Plugins ......................................... SUCCESS > > [9.458s] [INFO] Maven ACR Plugin ...................................... > > SUCCESS [31.132s] [INFO] Maven Ant Plugin > > ...................................... SUCCESS [1:09.782s] [INFO] Maven > > AntRun Plugin ................................... SUCCESS [50.141s] > > [INFO] Maven Eclipse Plugin .................................. SUCCESS > > [6:48.952s] [INFO] Maven Assembly Plugin > > ................................. SUCCESS [11:24.057s] [INFO] Maven > > Changelog Plugin ................................ SUCCESS [45.210s] > > [INFO] Maven Compiler Plugin ................................. SUCCESS > > [52.048s] [INFO] Maven Changes Report Plugin ........................... > > SUCCESS [1:12.411s] [INFO] Maven Checkstyle Plugin > > ............................... SUCCESS [1:45.368s] [INFO] Maven Clean > > Plugin .................................... SUCCESS [15.372s] [INFO] > > Maven Dependency Plugin ............................... SUCCESS > > [2:34.281s] [INFO] Maven Deploy Plugin > > ................................... SUCCESS [1:00.020s] [INFO] Maven DOAP > > Plugin ..................................... SUCCESS [27.767s] [INFO] > > Maven Documentation Checker Plugin .................... SUCCESS [7.400s] > > [INFO] Maven EAR Plugin ...................................... SUCCESS > > [3:30.374s] [INFO] Maven EJB Plugin > > ...................................... SUCCESS [26.652s] [INFO] Maven GPG > > Plugin ...................................... SUCCESS [9.539s] [INFO] > > Maven Help Plugin ..................................... SUCCESS [29.553s] > > [INFO] Maven IDEA Plugin ..................................... SUCCESS > > [9.067s] [INFO] Maven Install Plugin .................................. > > SUCCESS [37.187s] [INFO] Maven JAR Plugin > > ...................................... SUCCESS [1:02.057s] [INFO] Maven > > Jarsigner Plugin ................................ SUCCESS [24.451s] > > [INFO] Maven Javadoc Plugin .................................. FAILED > > [1:17.830s] [INFO] Maven Linkcheck Plugin > > ................................ SUCCESS [2.977s] [INFO] Maven One Plugin > > ...................................... SUCCESS [1.646s] [INFO] Maven > > Patch Plugin .................................... SUCCESS [11.297s] > > [INFO] Maven PDF Plugin ...................................... SUCCESS > > [44.829s] [INFO] Maven PMD Plugin ...................................... > > SUCCESS [43.237s] [INFO] Maven RAR Plugin > > ...................................... SUCCESS [10.419s] [INFO] Maven > > Reactor Plugin .................................. SUCCESS [3.183s] [INFO] > > Maven Repository Plugin ............................... SUCCESS [40.604s] > > [INFO] Maven Resources Plugin ................................ SUCCESS > > [57.709s] [INFO] Maven Site Plugin 3 ................................... > > SUCCESS [7:16.525s] [INFO] Maven Source Plugin > > ................................... SUCCESS [44.191s] [INFO] Maven Stage > > Plugin .................................... SUCCESS [2.324s] [INFO] Maven > > Toolchains Plugin ............................... SUCCESS [2.402s] [INFO] > > Maven Verifier Plugin ................................. SUCCESS [13.866s] > > [INFO] Maven WAR Plugin ...................................... SUCCESS > > [1:13.288s] [INFO] SCM Publish Maven Plugin > > .............................. SUCCESS [1:39.899s] [INFO] Maven Plugins > > Aggregator .............................. SUCCESS [1.031s] [INFO] > > ------------------------------------------------------------------------ > > [INFO] Error for project: Maven Javadoc Plugin (during install) > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] There are test failures. > > > > Please refer to > > <https://builds.apache.org/job/maven-plugins-ITs-m2/ws/maven-javadoc-plug > > in/target/surefire-reports> for the individual test results. [INFO] > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD ERRORS > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 52 minutes 51 seconds > > [INFO] Finished at: Fri Sep 28 21:00:27 UTC 2012 > > [INFO] Final Memory: 281M/1017M > > [INFO] > > ------------------------------------------------------------------------ > > Build step 'Invoke top-level Maven targets' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
