Thanks Robert, I had a look at the Javadoc build in Jenkins and it looks like its a setup problem on the Windows slave. Jenkins can't find the javadoc command...
Olivier, is this something you could have a look at, or shall I take it to [email protected]? Here's the first snippet from the failing test: ------------------------------------------------------------------------------- Test set: org.apache.maven.plugin.javadoc.JavadocReportTest ------------------------------------------------------------------------------- Tests run: 24, Failures: 3, Errors: 8, Skipped: 0, Time elapsed: 18.381 sec <<< FAILURE! testToFindJavadoc(org.apache.maven.plugin.javadoc.JavadocReportTest) Time elapsed: 0.149 sec <<< ERROR! org.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation: Unable to find javadoc command: The environment variable JAVA_HOME=f:\hudson\tools\java\latest-1.5-64 doesn't exist or is not a valid directory. at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.failOnError(AbstractJavadocMojo.java:5826) at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:319) at org.apache.maven.plugin.javadoc.JavadocReportTest.testToFindJavadoc(JavadocReportTest.java:560) Caused by: org.apache.maven.reporting.MavenReportException: Unable to find javadoc command: The environment variable JAVA_HOME=f:\hudson\tools\java\latest-1.5-64 doesn't exist or is not a valid directory. at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1876) at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:130) at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:315) ... 29 more Caused by: java.io.IOException: The environment variable JAVA_HOME=f:\hudson\tools\java\latest-1.5-64 doesn't exist or is not a valid directory. at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getJavadocExecutable(AbstractJavadocMojo.java:3526) at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1872) ... 31 more On 2012-10-19 22:54, Robert Scholte wrote: > Dennis, > > I noticed exactly the same thing and since I'm in the same timezone > there's not much I can do. > The issue with the m-scm-publish-p is probably caused by SCM-435 > I've fix it locally but I'm having trouble to push it back upstream, now > that it is put in GIT. > I haven't had a look at the m-javadoc-p, but the last time it ran fine > on my machine. > > -Robert > > Op Fri, 19 Oct 2012 22:05:02 +0200 schreef Dennis Lundberg > <[email protected]>: > >> See below... >> >> On 2012-10-19 18:50, Apache Jenkins Server wrote: >>> See >>> <https://builds.apache.org/job/maven-plugins-ITs-m3-windows/27/changes> >>> >>> Changes: >>> >>> [Robert Scholte] Add @since >>> >>> [Robert Scholte] Small code-optimizations >>> >>> ------------------------------------------ >>> [...truncated 9843 lines...] >>> Running org.apache.maven.plugins.shade.mojo.ArtifactSelectorTest >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>> sec >>> Running org.apache.maven.plugins.shade.mojo.RelativizePathTest >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.683 >>> sec >>> Running org.apache.maven.plugins.shade.mojo.ShadeMojoTest >>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.553 >>> sec >>> Running >>> org.apache.maven.plugins.shade.relocation.SimpleRelocatorParameterTest >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 >>> sec >>> Running org.apache.maven.plugins.shade.relocation.SimpleRelocatorTest >>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>> sec >>> Running >>> org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformerTest >>> >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>> sec >>> Running >>> org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformerTest >>> >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>> sec >>> Running org.apache.maven.plugins.shade.resource.AppendingTransformerTest >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec >>> Running >>> org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformerTest >>> >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 >>> sec >>> Running >>> org.apache.maven.plugins.shade.resource.XmlAppendingTransformerTest >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 >>> sec >>> >>> Results : >>> >>> Tests run: 27, Failures: 0, Errors: 0, Skipped: 0 >>> >>> [INFO] >>> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ >>> maven-shade-plugin --- >>> [INFO] Building jar: >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\maven-shade-plugin-2.0.1-SNAPSHOT.jar >>> >>> [INFO] >>> [INFO] --- maven-plugin-plugin:3.1:addPluginArtifactMetadata >>> (default-addPluginArtifactMetadata) @ maven-shade-plugin --- >>> [INFO] >>> [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ >>> maven-shade-plugin --- >>> [INFO] Building jar: >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\maven-shade-plugin-2.0.1-SNAPSHOT-tests.jar >>> >>> [INFO] >>> [INFO] --- maven-invoker-plugin:1.6:install (integration-test) @ >>> maven-shade-plugin --- >>> [INFO] Installing >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\pom.xml >>> to >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\local-repo\org\apache\maven\plugins\maven-shade-plugin\2.0.1-SNAPSHOT\maven-shade-plugin-2.0.1-SNAPSHOT.pom >>> >>> [INFO] Installing >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\maven-shade-plugin-2.0.1-SNAPSHOT.jar >>> to >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\local-repo\org\apache\maven\plugins\maven-shade-plugin\2.0.1-SNAPSHOT\maven-shade-plugin-2.0.1-SNAPSHOT.jar >>> >>> [INFO] Installing >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\maven-shade-plugin-2.0.1-SNAPSHOT-tests.jar >>> to >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\local-repo\org\apache\maven\plugins\maven-shade-plugin\2.0.1-SNAPSHOT\maven-shade-plugin-2.0.1-SNAPSHOT-tests.jar >>> >>> [INFO] >>> [INFO] --- maven-invoker-plugin:1.6:integration-test >>> (integration-test) @ maven-shade-plugin --- >>> [INFO] Building: artifact-includes-excludes\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\artifact-includes-excludes\verify.bsh >>> >>> [INFO] ..SUCCESS (7.7 s) >>> [INFO] Building: attach-after-lifecycle-fork\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\attach-after-lifecycle-fork\setup.bsh >>> >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\attach-after-lifecycle-fork\verify.bsh >>> >>> [INFO] ..SUCCESS (6.4 s) >>> [INFO] Building: attached-artifact-type\pom.xml >>> [INFO] ..SUCCESS (4.6 s) >>> [INFO] Building: component-descriptor-relocation\pom.xml >>> [INFO] ..SUCCESS (6.3 s) >>> [INFO] Building: dep-reduced-pom\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\dep-reduced-pom\verify.groovy >>> >>> [INFO] ..SUCCESS (4.4 s) >>> [INFO] Building: dep-reduced-pom-relocated-result\pom.xml >>> [INFO] ..SUCCESS (3.4 s) >>> [INFO] Building: dep-reduced-pom-unique\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\dep-reduced-pom-unique\verify.groovy >>> >>> [INFO] ..SUCCESS (5.4 s) >>> [INFO] Building: dep-reduced-pom-with-local-parent\pom.xml >>> [INFO] ..SUCCESS (3.7 s) >>> [INFO] Building: duplicate-classes-with-reloc\pom.xml >>> [INFO] ..SUCCESS (3.7 s) >>> [INFO] Building: duplicate-classes-without-reloc\pom.xml >>> [INFO] ..SUCCESS (4.0 s) >>> [INFO] Building: empty-apache-notice-transform\pom.xml >>> [INFO] ..SUCCESS (5.3 s) >>> [INFO] Building: empty-relocation-pattern\pom.xml >>> [INFO] ..SUCCESS (4.7 s) >>> [INFO] Building: empty-relocation-shaded-pattern\pom.xml >>> [INFO] ..SUCCESS (4.3 s) >>> [INFO] Building: filter-artifact-contents\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\filter-artifact-contents\verify.bsh >>> >>> [INFO] ..SUCCESS (4.3 s) >>> [INFO] Building: finalNameBuild\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameBuild\setup.bsh >>> >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameBuild\verify.bsh >>> >>> [INFO] ..SUCCESS (4.7 s) >>> [INFO] Building: finalNameBuild-attached\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameBuild-attached\setup.bsh >>> >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameBuild-attached\verify.bsh >>> >>> [INFO] ..SUCCESS (5.0 s) >>> [INFO] Building: finalNameShade\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameShade\setup.bsh >>> >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameShade\verify.bsh >>> >>> [INFO] ..SUCCESS (5.0 s) >>> [INFO] Building: finalNameShade-attached\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameShade-attached\setup.bsh >>> >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\finalNameShade-attached\verify.bsh >>> >>> [INFO] ..SUCCESS (5.4 s) >>> [INFO] Building: implicit-inclusion-of-project-artifact\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\implicit-inclusion-of-project-artifact\verify.bsh >>> >>> [INFO] ..SUCCESS (4.7 s) >>> [INFO] Building: manifest-retained\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\manifest-retained\verify.bsh >>> >>> [INFO] ..SUCCESS (5.6 s) >>> [INFO] Building: manifest-transformed\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\manifest-transformed\verify.bsh >>> >>> [INFO] ..SUCCESS (5.2 s) >>> [INFO] Building: mini-jar\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\mini-jar\verify.bsh >>> >>> [INFO] ..SUCCESS (5.2 s) >>> [INFO] Building: mini-jar-malformed-dependencies\pom.xml >>> [INFO] ..SUCCESS (8.6 s) >>> [INFO] Building: mini-jar-package-info\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\mini-jar-package-info\verify.bsh >>> >>> [INFO] ..SUCCESS (5.0 s) >>> [INFO] Building: mini-jar-respect-includes\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\mini-jar-respect-includes\verify.bsh >>> >>> [INFO] ..SUCCESS (5.8 s) >>> [INFO] Building: MSHADE-105\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\MSHADE-105\verify.bsh >>> >>> [INFO] ..SUCCESS (9.7 s) >>> [INFO] Building: mshade-123\pom.xml >>> [INFO] ..SUCCESS (8.8 s) >>> [INFO] Building: non-runtime-scope-excluded\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\non-runtime-scope-excluded\verify.bsh >>> >>> [INFO] ..SUCCESS (5.1 s) >>> [INFO] Building: pom-packaging\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\pom-packaging\verify.bsh >>> >>> [INFO] ..SUCCESS (2.8 s) >>> [INFO] Building: project-with-reactors-included\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\project-with-reactors-included\verify.bsh >>> >>> [INFO] ..SUCCESS (6.6 s) >>> [INFO] Building: reloc-abs-resource-path\pom.xml >>> [INFO] ..SUCCESS (7.4 s) >>> [INFO] Building: reloc-anno\pom.xml >>> [INFO] ..SUCCESS (4.4 s) >>> [INFO] Building: reloc-class-from-string-pool\pom.xml >>> [INFO] ..SUCCESS (4.1 s) >>> [INFO] Building: reloc-enum-ref-from-anno\pom.xml >>> [INFO] ..SUCCESS (4.5 s) >>> [INFO] Building: reloc-includes-excludes\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\reloc-includes-excludes\verify.bsh >>> >>> [INFO] ..SUCCESS (5.7 s) >>> [INFO] Building: rerun-with-reloc\pom.xml >>> [INFO] ..SUCCESS (5.8 s) >>> [INFO] Building: rerun-without-reloc\pom.xml >>> [INFO] ..SUCCESS (4.2 s) >>> [INFO] Building: services-resource-transformer\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\services-resource-transformer\verify.bsh >>> >>> [INFO] ..SUCCESS (4.9 s) >>> [INFO] Building: shadePomDependency\pom.xml >>> [INFO] ..SUCCESS (5.1 s) >>> [INFO] Building: users-shader-impl\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\users-shader-impl\verify.groovy >>> >>> [INFO] ..SUCCESS (5.4 s) >>> [INFO] Building: xml-transformer-ignores-dtd\pom.xml >>> [INFO] run script >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\it\xml-transformer-ignores-dtd\verify.bsh >>> >>> [INFO] ..SUCCESS (4.4 s) >>> [INFO] >>> [INFO] --- maven-invoker-plugin:1.6:verify (integration-test) @ >>> maven-shade-plugin --- >>> [INFO] ------------------------------------------------- >>> [INFO] Build Summary: >>> [INFO] Passed: 41, Failed: 0, Errors: 0, Skipped: 0 >>> [INFO] ------------------------------------------------- >>> [INFO] >>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ >>> maven-shade-plugin --- >>> [INFO] Installing >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\maven-shade-plugin-2.0.1-SNAPSHOT.jar >>> to >>> C:\Users\hudson\.m2\repository\org\apache\maven\plugins\maven-shade-plugin\2.0.1-SNAPSHOT\maven-shade-plugin-2.0.1-SNAPSHOT.jar >>> >>> [INFO] Installing >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\pom.xml >>> to >>> C:\Users\hudson\.m2\repository\org\apache\maven\plugins\maven-shade-plugin\2.0.1-SNAPSHOT\maven-shade-plugin-2.0.1-SNAPSHOT.pom >>> >>> [INFO] Installing >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-shade-plugin\target\maven-shade-plugin-2.0.1-SNAPSHOT-tests.jar >>> to >>> C:\Users\hudson\.m2\repository\org\apache\maven\plugins\maven-shade-plugin\2.0.1-SNAPSHOT\maven-shade-plugin-2.0.1-SNAPSHOT-tests.jar >>> >>> [INFO] >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Building Maven Plugins Aggregator 1-SNAPSHOT >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] >>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >>> maven-plugins-aggregator --- >>> [INFO] Deleting >>> <https://builds.apache.org/job/maven-plugins-ITs-m3-windows/ws/target> >>> [INFO] >>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ >>> maven-plugins-aggregator --- >>> [INFO] >>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ >>> maven-plugins-aggregator --- >>> [INFO] Installing >>> <https://builds.apache.org/job/maven-plugins-ITs-m3-windows/ws/pom.xml> >>> to >>> C:\Users\hudson\.m2\repository\org\apache\maven\plugins\maven-plugins-aggregator\1-SNAPSHOT\maven-plugins-aggregator-1-SNAPSHOT.pom >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Reactor Summary: >>> [INFO] >>> [INFO] Maven Plugins ..................................... SUCCESS >>> [13.257s] >>> [INFO] Maven ACR Plugin .................................. SUCCESS >>> [1:06.878s] >>> [INFO] Maven Ant Plugin .................................. SUCCESS >>> [1:43.967s] >>> [INFO] Maven AntRun Plugin ............................... SUCCESS >>> [1:15.425s] >>> [INFO] Maven Eclipse Plugin .............................. SUCCESS >>> [9:55.475s] >>> [INFO] Maven Assembly Plugin ............................. SUCCESS >>> [12:55.179s] >>> [INFO] Maven Changelog Plugin ............................ FAILURE >>> [9.241s] >>> [INFO] Maven Changes Report Plugin ....................... SUCCESS >>> [1:18.437s] >>> [INFO] Maven Checkstyle Plugin ........................... SUCCESS >>> [2:03.900s] >>> [INFO] Maven Clean Plugin ................................ SUCCESS >>> [22.626s] >>> [INFO] Maven Compiler Plugin ............................. SUCCESS >>> [1:37.624s] >>> [INFO] Maven Dependency Plugin ........................... SUCCESS >>> [2:31.820s] >>> [INFO] Maven Deploy Plugin ............................... SUCCESS >>> [1:23.256s] >>> [INFO] Maven DOAP Plugin ................................. SUCCESS >>> [21.330s] >>> [INFO] Maven Documentation Checker Plugin ................ SUCCESS >>> [30.430s] >>> [INFO] Maven EAR Plugin .................................. SUCCESS >>> [5:01.457s] >>> [INFO] Maven EJB Plugin .................................. SUCCESS >>> [33.616s] >>> [INFO] Maven GPG Plugin .................................. SUCCESS >>> [1.967s] >>> [INFO] Maven Help Plugin ................................. SUCCESS >>> [49.350s] >>> [INFO] Maven IDEA Plugin ................................. SUCCESS >>> [7.806s] >>> [INFO] Maven Install Plugin .............................. SUCCESS >>> [54.046s] >>> [INFO] Maven JAR Plugin .................................. SUCCESS >>> [1:39.400s] >>> [INFO] Maven Jarsigner Plugin ............................ SUCCESS >>> [36.834s] >>> [INFO] Maven Javadoc Plugin .............................. FAILURE >>> [1:32.549s] >>> [INFO] Maven Linkcheck Plugin ............................ SUCCESS >>> [4.983s] >>> [INFO] Maven One Plugin .................................. SUCCESS >>> [2.364s] >>> [INFO] Maven Patch Plugin ................................ SUCCESS >>> [6.681s] >>> [INFO] Maven PDF Plugin .................................. SUCCESS >>> [57.518s] >>> [INFO] Maven PMD Plugin .................................. SUCCESS >>> [1:52.194s] >>> [INFO] Maven RAR Plugin .................................. SUCCESS >>> [25.177s] >>> [INFO] Maven Reactor Plugin .............................. SUCCESS >>> [4.189s] >>> [INFO] Maven Repository Plugin ........................... SUCCESS >>> [1:08.637s] >>> [INFO] Maven Resources Plugin ............................ SUCCESS >>> [1:21.489s] >>> [INFO] Maven Site Plugin 3 ............................... SUCCESS >>> [12:05.123s] >>> [INFO] Maven Source Plugin ............................... SUCCESS >>> [1:06.711s] >>> [INFO] Maven Stage Plugin ................................ SUCCESS >>> [4.210s] >>> [INFO] Maven Toolchains Plugin ........................... SUCCESS >>> [3.001s] >>> [INFO] Maven Verifier Plugin ............................. SUCCESS >>> [24.938s] >>> [INFO] Maven WAR Plugin .................................. SUCCESS >>> [1:34.044s] >>> [INFO] SCM Publish Maven Plugin .......................... FAILURE >>> [1:24.399s] >>> [INFO] Maven Invoker Plugin .............................. SUCCESS >>> [5:15.781s] >>> [INFO] Maven Project Info Reports Plugin ................. SUCCESS >>> [2:35.595s] >>> [INFO] Maven Remote Resources Plugin ..................... SUCCESS >>> [1:17.517s] >>> [INFO] Maven Shade Plugin ................................ SUCCESS >>> [4:20.715s] >>> [INFO] Maven Plugins Aggregator .......................... SUCCESS >>> [0.067s] >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 1:25:03.367s >>> [INFO] Finished at: Fri Oct 19 17:48:22 BST 2012 >>> [INFO] Final Memory: 127M/287M >>> [INFO] >>> ------------------------------------------------------------------------ >>> [WARNING] The requested profile "apache.snapshots" could not be >>> activated because it does not exist. >>> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test >>> (default-test) on project maven-changelog-plugin: There are test >>> failures. >>> [ERROR] >>> [ERROR] Please refer to >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-changelog-plugin\target\surefire-reports >>> for the individual test results. >>> [ERROR] -> [Help 1] >> >> Here is the surefire report from Jenkins: >> >> ------------------------------------------------------------------------------- >> >> Test set: org.apache.maven.plugin.changelog.ChangeLogTest >> ------------------------------------------------------------------------------- >> >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.027 >> sec <<< FAILURE! >> testReadFile(org.apache.maven.plugin.changelog.ChangeLogTest) Time >> elapsed: 0.025 sec <<< FAILURE! >> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time >> expected:<239689800000> but was:<239686200000> >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.Assert.failNotEquals(Assert.java:280) >> at junit.framework.Assert.assertEquals(Assert.java:64) >> at junit.framework.Assert.assertEquals(Assert.java:133) >> at >> org.apache.maven.plugin.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:63) >> >> >> >> When I run this locally on Windows in Europe/Sweden (GMT+1) the tests >> pass. I have a hunch that this might be a time zone issue. The test code >> has this line, which made me wonder: >> >> Calendar cal = Calendar.getInstance(); // new cal with default TZ >> >> >> Can someone in *another* time zone confirm/deny that the test fails on >> Windows? >> >> >>> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test >>> (default-test) on project maven-javadoc-plugin: There are test failures. >>> [ERROR] >>> [ERROR] Please refer to >>> F:\hudson\hudson-slave\workspace\maven-plugins-ITs-m3-windows\maven-javadoc-plugin\target\surefire-reports >>> for the individual test results. >>> [ERROR] -> [Help 1] >>> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-invoker-plugin:1.7:verify >>> (integration-test) on project maven-scm-publish-plugin: 2 builds >>> failed. See console output above for details. -> [Help 1] >>> [ERROR] >>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>> the -e switch. >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> [ERROR] >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> [ERROR] [Help 1] >>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>> [ERROR] >>> [ERROR] After correcting the problems, you can resume the build with >>> the command >>> [ERROR] mvn <goals> -rf :maven-changelog-plugin >>> Build step 'Invoke top-level Maven targets' marked build as failure >>> Recording test results >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
