Build failed in Jenkins: maven-plugins » Apache Maven Javadoc Plugin #8897

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: maven-plugins » Apache Maven Javadoc Plugin #8897

Apache Jenkins Server-2
See <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/8897/display/redirect>

------------------------------------------
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Javadoc Plugin 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ maven-javadoc-plugin ---
[INFO] Deleting <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ maven-javadoc-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ maven-javadoc-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ensure-no-container-api) @ maven-javadoc-plugin ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-javadoc-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.psd
[INFO] Exclude: **/*.sha1
[INFO] Exclude: **/*package-list*
[INFO] Exclude: src/main/resources/org/apache/maven/plugin/javadoc/frame-injection-fix.txt
[INFO] Exclude: src/test/resources/unit/test-javadoc-test/junit/junit/3.8.1/junit-3.8.1.pom
[INFO] Exclude: javadoc-options-javadoc-resources.xml
[INFO] 534 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 506 licence.
[INFO]
[INFO] --- maven-plugin-plugin:3.4:helpmojo (generate-helpmojo) @ maven-javadoc-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO]
[INFO] --- modello-maven-plugin:1.8.1:java (default) @ maven-javadoc-plugin ---
[INFO] outputDirectory: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/generated-sources/modello>
[INFO] Working on model: src/main/mdo/javadocOptions.mdo
[INFO] Generating current version: 1.1.0
[INFO]
[INFO] --- modello-maven-plugin:1.8.1:xpp3-reader (default) @ maven-javadoc-plugin ---
[INFO] outputDirectory: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/generated-sources/modello>
[INFO] Working on model: src/main/mdo/javadocOptions.mdo
[INFO] Generating current version: 1.1.0
[INFO]
[INFO] --- modello-maven-plugin:1.8.1:xpp3-writer (default) @ maven-javadoc-plugin ---
[INFO] outputDirectory: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/generated-sources/modello>
[INFO] Working on model: src/main/mdo/javadocOptions.mdo
[INFO] Generating current version: 1.1.0
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-javadoc-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ maven-javadoc-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 21 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ maven-javadoc-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/classes>
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ maven-javadoc-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-annotations found 15 mojo descriptors.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO]
[INFO] --- plexus-component-metadata:1.7.1:generate-metadata (default) @ maven-javadoc-plugin ---
[INFO] Discovered 1 component descriptors(s)
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ maven-javadoc-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 192 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ maven-javadoc-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 49 source files to <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test-classes>
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/java/org/apache/maven/plugin/javadoc/stubs/TagletArtifactsMavenProjectStub.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/java/org/apache/maven/plugin/javadoc/stubs/TagletArtifactsMavenProjectStub.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/java/org/apache/maven/plugin/javadoc/JavadocJarTest.java>: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/java/org/apache/maven/plugin/javadoc/JavadocJarTest.java> uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/java/org/apache/maven/plugin/javadoc/JavadocJarTest.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- plexus-component-metadata:1.7.1:generate-test-metadata (default) @ maven-javadoc-plugin ---
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ maven-javadoc-plugin ---
[INFO] Surefire report directory: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugin.javadoc.AbstractJavadocMojoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.345 sec - in org.apache.maven.plugin.javadoc.AbstractJavadocMojoTest
Running org.apache.maven.plugin.javadoc.AbstractFixJavadocMojoTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec - in org.apache.maven.plugin.javadoc.AbstractFixJavadocMojoTest
Running org.apache.maven.plugin.javadoc.TestJavadocReportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.336 sec - in org.apache.maven.plugin.javadoc.TestJavadocReportTest
Running org.apache.maven.plugin.javadoc.JavadocUtilTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.057 sec - in org.apache.maven.plugin.javadoc.JavadocUtilTest
Running org.apache.maven.plugin.javadoc.JavadocJarTest
[INFO] Building jar: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/javadocjar-default/target/javadocjar-default-javadoc.jar>
[INFO]
1 error
[ERROR] MavenReportException: Error while generating Javadoc:
Exit code: 1 - <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/resources/unit/javadocjar-failonerror/javadocjar/def/package.html>: error - Body tag missing from HTML file

Command line was: /usr/local/asfpackages/java/jdk1.7.0_80/jre/../bin/javadoc @options @argfile

Refer to the generated Javadoc files in '<https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/javadocjar-failonerror/target/site/apidocs'> dir.

org.apache.maven.reporting.MavenReportException:
Exit code: 1 - <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/src/test/resources/unit/javadocjar-failonerror/javadocjar/def/package.html>: error - Body tag missing from HTML file

Command line was: /usr/local/asfpackages/java/jdk1.7.0_80/jre/../bin/javadoc @options @argfile

Refer to the generated Javadoc files in '<https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/javadocjar-failonerror/target/site/apidocs'> dir.

        at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5156)
        at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:2119)
        at org.apache.maven.plugin.javadoc.JavadocJar.doExecute(JavadocJar.java:188)
        at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.execute(AbstractJavadocMojo.java:1915)
        at org.apache.maven.plugin.javadoc.JavadocJarTest.testContinueIfFailOnErrorIsFalse(JavadocJarTest.java:149)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99)
        at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:136)
        at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:109)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
[INFO] Building jar: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/javadocjar-failonerror/target/javadocjar-failonerror-javadoc.jar>
[INFO] Building jar: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/javadocjar-archive-config/target/javadocjar-archive-config-javadoc.jar>
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.858 sec - in org.apache.maven.plugin.javadoc.JavadocJarTest
Running org.apache.maven.plugin.javadoc.AggregatorJavadocReportTest
[INFO]
1 warning
[WARNING] Javadoc Warnings
[WARNING] javadoc: warning - Multiple sources of package comments found for package "resources.test"
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.347 sec - in org.apache.maven.plugin.javadoc.AggregatorJavadocReportTest
Running org.apache.maven.plugin.javadoc.FixJavadocMojoTest
[INFO] Clirr output file was created: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/fix-test/target/clirr608425955.txt>
[INFO] Clirr found API differences, i.e. new classes/interfaces or methods.
[INFO] Saving changes to fix.test.InterfaceWithNoJavadoc
[INFO] Saving changes to fix.test.InterfaceWithJavadoc
[WARNING] Fixed unknown param 'str' defined in fix.test.ClassWithJavadoc#wrongJavadocTag(aString)
[WARNING] Fixed unknown param 'unused' defined in fix.test.ClassWithJavadoc#unusedTag()
[WARNING] Found unknown throws 'UnknownRuntimeException' defined on fix.test.ClassWithJavadoc#throwsTagWithUnknownRuntimeException()
[INFO] Saving changes to fix.test.ClassWithJavadoc
[INFO] Saving changes to fix.test.ClassWithNoJavadoc
[INFO] Clirr output file was created: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/fix-jdk5-test/target/clirr1115539707.txt>
[INFO] Clirr found API differences, i.e. new classes/interfaces or methods.
[INFO] Saving changes to fix.test.InterfaceWithNoJavadoc
[WARNING] Fixed unknown param '<T>' defined in fix.test.ClassWithJavadoc#withGenericDoclet2(name)
[WARNING] Fixed unknown param '<U>' defined in fix.test.ClassWithJavadoc#withGenericDoclet2(name)
[INFO] Saving changes to fix.test.ClassWithJavadoc
[INFO] Saving changes to fix.test.InterfaceWithJavadoc
[INFO] Saving changes to fix.test.SubClassWithJavadoc
[INFO] Saving changes to fix.test.ClassWithNoJavadoc
[INFO] Clirr output file was created: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-javadoc-plugin/ws/target/test/unit/fix-jdk6-test/target/clirr282978348.txt>
[INFO] Clirr found API differences, i.e. new classes/interfaces or methods.
[INFO] Saving changes to fix.test.ClassWithJavadoc
[INFO] Saving changes to fix.test.InterfaceWithJavadoc
[warn] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[warn] Unrecognized 'fake_value' for fixTags parameter. Ignored it!
[debug] Removing ' * @throws java.lang.Exception'; Throwable not specified by a.b.c.Clazz#method() and it is not a RuntimeException.
[warn] Ignoring unknown throws 'com.foo.FatalException' defined on a.b.c.Clazz#method()
[warn] Found unknown throws 'com.foo.FatalException' defined on a.b.c.Clazz#method()
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.242 sec - in org.apache.maven.plugin.javadoc.FixJavadocMojoTest
Running org.apache.maven.plugin.javadoc.JavadocReportTest
[WARNING] Javadoc 1.4+ doesn't support the -1.1 switch anymore. Ignore this option.
[INFO]
1 warning
[WARNING] Javadoc Warnings
[WARNING] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[INFO]
1 warning
[WARNING] Javadoc Warnings
[WARNING] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[ERROR] ProjectBuildingException for Mock for Artifact, hashCode: 1719679809: Error resolving project artifact: Could not find artifact commons-logging:commons-logging:pom:1.1.1 for project null
[ERROR] ProjectBuildingException for Mock for Artifact, hashCode: 1861973704: Error resolving project artifact: Could not find artifact commons-logging:commons-logging:pom:1.1.1 for project null
[ERROR] ProjectBuildingException for Mock for Artifact, hashCode: 605178120: Error resolving project artifact: Could not find artifact commons-logging:commons-logging:pom:1.1.1 for project null
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Unsupported option <locale/> with variant 'fr_CA_wrong', trying to use <locale/> without variant, i.e. 'fr_CA'
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!

Results :

Tests run: 37, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : maven-plugins » Apache Maven Javadoc Plugin #8898

Apache Jenkins Server-2