maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: maven-plugins » Apache Maven Shade Plugin #5885
Date Thu, 05 May 2016 03:42:30 GMT
See <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/5885/changes>

Changes:

[schulte] o Updated to 'plexus-utils-3.0.23'.
o Updated to stop suppressing exceptions incorrectly when closing resources.
  Most of the time the 'IOUtils.closeQuietly' methods of 'commons-io' and
  the 'IOUtil.close' method of 'plexus-utils' are used incorrectly. They
  are meant to be used in 'finally' blocks to not suppress an exception
  already thrown in the 'try' block. The documentation of the
  'IOUtils.closeQuietly' methods explicitly contains usage examples.
  As soon as 'commons-io' or 'plexus-utils' is targetted at Java 1.7, those
  methods should get deprecated and people should be told to use the
  try-with-resources statement instead.

------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Shade Plugin 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ maven-shade-plugin ---
[INFO] Deleting <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ maven-shade-plugin
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ maven-shade-plugin
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ maven-shade-plugin
---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-shade-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: rel-path-test-files/**
[INFO] Exclude: src/it/dep-reduced-pom-use-base-version/repo/org/apache/maven/its/shade/drp/a/0.1-SNAPSHOT/_maven.repositories
[INFO] Exclude: src/it/mshade-123/sample.txt
[INFO] Exclude: src/it/MSHADE-133/src/main/resources/myConfig.yml
[INFO] Exclude: src/it/rerun-with-reloc/src/main/resources/some-ordinary-resource.txt
[INFO] Exclude: src/it/rerun-without-reloc/src/main/resources/some-ordinary-resource.txt
[INFO] Exclude: src/it/MSHADE-182/src/main/resources/META-INF/services/relocateme.Service
[INFO] Exclude: src/it/MSHADE-182/target/classes/META-INF/services/relocateme.Service
[INFO] Exclude: src/it/MSHADE-182/build.log
[INFO] Exclude: DEPENDENCIES
[INFO] 295 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 270 licence.
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:helpmojo (generate-helpmojo) @ maven-shade-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] --- maven-remote-resources-plugin:1.5:process (default) @ maven-shade-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ maven-shade-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-shade-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/target/classes>
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java>:
<https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java>
uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java>:
Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/java/org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java>:
<https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/java/org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java>
uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/main/java/org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ maven-shade-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] 
[INFO] --- plexus-component-metadata:1.5.5:generate-metadata (default) @ maven-shade-plugin
---
[INFO] Discovered 1 component descriptors(s)
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ maven-shade-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ maven-shade-plugin
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/target/test-classes>
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java>:
<https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java>
uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java>:
Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java>:
<https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java>
uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- plexus-component-metadata:1.5.5:generate-test-metadata (default) @ maven-shade-plugin
---
[INFO] Discovered 1 component descriptors(s)
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ maven-shade-plugin ---
[INFO] Surefire report directory: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugins.shade.filter.MinijarFilterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.277 sec - in org.apache.maven.plugins.shade.filter.MinijarFilterTest
Running org.apache.maven.plugins.shade.filter.SimpleFilterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.maven.plugins.shade.filter.SimpleFilterTest
Running org.apache.maven.plugins.shade.resource.ServiceResourceTransformerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec - in org.apache.maven.plugins.shade.resource.ServiceResourceTransformerTest
Running org.apache.maven.plugins.shade.resource.XmlAppendingTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.maven.plugins.shade.resource.XmlAppendingTransformerTest
Running org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformerTest
Running org.apache.maven.plugins.shade.resource.AppendingTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.maven.plugins.shade.resource.AppendingTransformerTest
Running org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformerTest
Running org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec - in org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformerTest
Running org.apache.maven.plugins.shade.DefaultShaderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.338 sec - in org.apache.maven.plugins.shade.DefaultShaderTest
Running org.apache.maven.plugins.shade.relocation.SimpleRelocatorParameterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.maven.plugins.shade.relocation.SimpleRelocatorParameterTest
Running org.apache.maven.plugins.shade.relocation.SimpleRelocatorTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.maven.plugins.shade.relocation.SimpleRelocatorTest
Running org.apache.maven.plugins.shade.mojo.RelativizePathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.maven.plugins.shade.mojo.RelativizePathTest
Running org.apache.maven.plugins.shade.mojo.ArtifactSelectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.maven.plugins.shade.mojo.ArtifactSelectorTest
Running org.apache.maven.plugins.shade.mojo.ShadeMojoTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.451 sec - in org.apache.maven.plugins.shade.mojo.ShadeMojoTest
Running org.apache.maven.plugins.shade.mojo.ArtifactIdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.maven.plugins.shade.mojo.ArtifactIdTest

Results :

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

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ maven-shade-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-shade-plugin/ws/target/maven-shade-plugin-3.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata)
@ maven-shade-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ maven-shade-plugin ---
[INFO] There are 3 errors reported by Checkstyle 6.1.1 with config/maven_checks.xml ruleset.
[ERROR] src/main/java/org/apache/maven/plugins/shade/DefaultShader.java[200:25] (whitespace)
WhitespaceAround: '=' is not followed by whitespace.
[INFO] Ignored 2 errors, 1 violation remaining.

Mime
View raw message