See <https://builds.apache.org/job/maven-plugins-ITs-m3-windows/1764/changes>

Changes:

[gboue] [MINSTALL-131] Rename package to org.apache.maven.plugins

With the migration to Maven 3, the main package should be 
"org.apache.maven.plugins" instead of the current "org.apache.maven.plugin".

[gboue] [MCHECKSTYLE-332] maven plugin not using cache property

Starting with Checkstyle 6.16, the cache configuration was moved from the 
TreeWalker module to the Checker module, as per 
https://github.com/checkstyle/checkstyle/issues/569. To detect this change, we 
can rely on the presence of the public API method "setCacheFile(String)" in the 
Checker class.

[Robert Scholte] Initial commit maven-scipting-plugin, a jsr223 wrapping maven 
plugin.

[gboue] Fixing IT that will break when Jar Plugin is updated to 3.0.0 
(indirectly through a Maven update): running install twice in the same build 
would call the plugin twice and attach the main artifact twice - which is now 
disallowed.

[gboue] Migration to Maven 3: because of an API change in ModelProblemCollector 
between 3.0.x and 3.1.x, that interface cannot be used as-is for compatibility 
for both in order to determine if the coordinate information passed by the user 
is valid. The plugins are compiled with 3.0 core and are currently linked to a 
specific ModelProblemCollector, but starting with 3.1.0-alpha-1, Maven core 
calls a different method than the one the plugins were compiled with. This 
results in AbstractMethodError at run-time. (this was not detected by the ITs 
because, although they tested that the build failed with missing parameters, it 
didn't test the cause of the failure.)

Since the plugins are now using a new MavenProject instance, and attaching 
things to it in order to deploy or install them, it is possible to rely on the 
validation performed during the building of that project to catch model errors.

[gboue] [MINSTALL-110] install-file should also install bundled pom.xml from 
artifact.

Follow-up: make sure the POM file extracted from the archive is into a 
temporary folder, and that it is correctly deleted after installation.

------------------------------------------
[...truncated 11579 lines...]
[INFO] ..SUCCESS (6.2 s)
[INFO] Building: copy\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.2 s)
[INFO] Building: copy-and-unpack-with-alternate-local-repo\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (8.0 s)
[INFO] Building: copy-cli\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.4 s)
[INFO] Building: copy-dependencies\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (7.1 s)
[INFO] Building: copy-from-reactor\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (7.7 s)
[INFO] Building: copy-from-remote-repository\pom.xml
[INFO] artifact org.apache.maven.its.dependency.fake-remote-copy:1.0: checking 
for updates from central
[INFO] run script verify.groovy
[INFO] ..SUCCESS (8.1 s)
[INFO] Building: dependency-properties\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.3 s)
[INFO] Building: filterunpack\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (6.4 s)
[INFO] Building: go-offline\pom.xml
[INFO] ..SUCCESS (7.9 s)
[INFO] Building: list-repositories\pom.xml
[INFO] snapshot org.apache.maven.its.dependency:test:1.0-SNAPSHOT: checking for 
updates from apache.snapshots
[INFO] artifact org.apache.maven.its.dependency.test:1.0-SNAPSHOT: checking for 
updates from central
[INFO] ..SUCCESS (6.8 s)
[INFO] Building: mdep-439-analyze-java8\pom.xml
[INFO] ..SKIPPED due to JRE version
[INFO] Building: mdep-450-project-with-ancestor\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (6.2 s)
[INFO] Building: mdep-450-project-without-ancestor\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (5.9 s)
[INFO] Building: mdep-506-dependency-without-version-in-depmgt\pom.xml
[INFO] ..SUCCESS (7.3 s)
[INFO] Building: purge-local-repository\pom.xml
[INFO] run script setup.bsh
[INFO] artifact org.apache.maven.its.dependency.purged:1.0: checking for 
updates from central
[INFO] run script verify.bsh
[INFO] ..SUCCESS (7.2 s)
[INFO] Building: purge-local-repository-non-transitive\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.9 s)
[INFO] Building: purge-local-repository-reresolve\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.9 s)
[INFO] Building: purge-local-repository-snapshots-only\pom.xml
[INFO] run script setup.bsh
[INFO] snapshot org.apache.maven.its.dependency:snap-purged:1.0-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] artifact org.apache.maven.its.dependency.snap-purged:1.0-SNAPSHOT: 
checking for updates from central
[INFO] run script verify.bsh
[INFO] ..SUCCESS (7.6 s)
[INFO] Building: purge-local-repository-version-range\pom.xml
[INFO] artifact org.apache.maven.its.dependency:purge-local-repository: 
checking for updates from central
[INFO] artifact org.apache.maven.its.dependency:purge-local-repository: 
checking for updates from central
[INFO] artifact 
org.apache.maven.its.dependency.purge-local-repository:[0.9,1.1]: checking for 
updates from central
[ERROR] 
/org/apache/maven/its/dependency/purge-local-repository/%5B0.9,1.1%5D/purge-local-repository-%5B0.9,1.1%5D.pom
java.lang.IllegalArgumentException: Illegal character in path at index 92: 
https://repo.maven.apache.org/maven2/org/apache/maven/its/dependency/purge-local-repository/[0.9,1.1]/maven-metadata.xml
        at java.net.URI.create(URI.java:859)
        at 
org.apache.maven.wagon.providers.http.httpclient.client.methods.HttpGet.<init>(HttpGet.java:69)
        at 
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:970)
        at 
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:960)
        at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
        at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
        at 
org.apache.maven.repository.legacy.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:392)
        at 
org.apache.maven.repository.legacy.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:218)
        at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:132)
        at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:71)
        at 
org.codehaus.mojo.mrm.maven.ProxyArtifactStore.getMetadata(ProxyArtifactStore.java:480)
        at 
org.codehaus.mojo.mrm.maven.ProxyArtifactStore.getMetadataLastModified(ProxyArtifactStore.java:536)
        at 
org.codehaus.mojo.mrm.impl.maven.CompositeArtifactStore.getMetadataLastModified(CompositeArtifactStore.java:339)
        at 
org.codehaus.mojo.mrm.impl.maven.ArtifactStoreFileSystem.listEntries(ArtifactStoreFileSystem.java:147)
        at 
org.codehaus.mojo.mrm.impl.digest.AutoDigestFileSystem.listEntries(AutoDigestFileSystem.java:100)
        at org.codehaus.mojo.mrm.api.BaseFileSystem.get(BaseFileSystem.java:89)
        at 
org.codehaus.mojo.mrm.impl.digest.AutoDigestFileSystem.get(AutoDigestFileSystem.java:185)
        at 
org.codehaus.mojo.mrm.servlet.FileSystemServlet.doGet(FileSystemServlet.java:157)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.net.URISyntaxException: Illegal character in path at index 92: 
https://repo.maven.apache.org/maven2/org/apache/maven/its/dependency/purge-local-repository/[0.9,1.1]/maven-metadata.xml
        at java.net.URI$Parser.fail(URI.java:2829)
        at java.net.URI$Parser.checkChars(URI.java:3002)
        at java.net.URI$Parser.parseHierarchical(URI.java:3086)
        at java.net.URI$Parser.parse(URI.java:3034)
        at java.net.URI.<init>(URI.java:595)
        at java.net.URI.create(URI.java:857)
        ... 33 more
[INFO] run script verify.bsh
[INFO] ..SUCCESS (7.1 s)
[INFO] Building: resolve\pom.xml
[INFO] ..SUCCESS (6.2 s)
[INFO] Building: resolve-plugins\pom.xml
[INFO] ..SUCCESS (6.7 s)
[INFO] Building: resolve-plugins-exclude-reactor\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (7.8 s)
[INFO] Building: resolve-plugins-with-exclude\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (7.2 s)
[INFO] Building: sources\pom.xml
[INFO] artifact classworlds.classworlds:1.1-alpha-2: checking for updates from 
central
[INFO] ..SUCCESS (6.9 s)
[INFO] Building: tree\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.4 s)
[INFO] Building: tree-includes\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.4 s)
[INFO] Building: unpack\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (7.8 s)
[INFO] Building: unpack-cli\pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.2 s)
[INFO] Building: unpack-custom-ear\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (6.6 s)
[INFO] Building: unpack-dependencies\pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (7.9 s)
[INFO] Building: unpack-from-remote-repository\pom.xml
[INFO] artifact org.apache.maven.its.dependency.fake-remote-unpack:1.0: 
checking for updates from central
[INFO] run script verify.groovy
[INFO] ..SUCCESS (8.1 s)
[INFO] Building: purge-local-repository-without-pom
[INFO] run script setup.bsh
[INFO] run script verify.bsh
[INFO] ..SUCCESS (5.9 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:59009
[INFO] Mock Repository Manager http://localhost:59009 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ 
maven-dependency-plugin ---
[INFO] There is 1 error reported by Checkstyle 6.1.1 with 
config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:2.0.0:verify (integration-test) @ 
maven-dependency-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 40, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
maven-dependency-plugin ---
[INFO] Installing 
F:\jenkins\jenkins-slave\workspace\maven-plugins-ITs-m3-windows\maven-dependency-plugin\target\maven-dependency-plugin-3.0.0-SNAPSHOT.jar
 to 
C:\Users\jenkins\.m2\repository\org\apache\maven\plugins\maven-dependency-plugin\3.0.0-SNAPSHOT\maven-dependency-plugin-3.0.0-SNAPSHOT.jar
[INFO] Installing 
F:\jenkins\jenkins-slave\workspace\maven-plugins-ITs-m3-windows\maven-dependency-plugin\pom.xml
 to 
C:\Users\jenkins\.m2\repository\org\apache\maven\plugins\maven-dependency-plugin\3.0.0-SNAPSHOT\maven-dependency-plugin-3.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Plugins Aggregator 1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
maven-plugins-aggregator ---
[INFO] Deleting 
<https://builds.apache.org/job/maven-plugins-ITs-m3-windows/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ 
maven-plugins-aggregator ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ 
maven-plugins-aggregator ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-plugins-aggregator ---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
maven-plugins-aggregator ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.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\jenkins\.m2\repository\org\apache\maven\plugins\maven-plugins-aggregator\1-SNAPSHOT\maven-plugins-aggregator-1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven ACR Plugin ............................ SUCCESS [ 53.174 s]
[INFO] Apache Maven Ant Plugin ............................ SUCCESS [02:34 min]
[INFO] Apache Maven AntRun Plugin ......................... SUCCESS [01:43 min]
[INFO] Apache Maven Changelog Plugin ...................... SUCCESS [01:27 min]
[INFO] Apache Maven Changes Plugin ........................ SUCCESS [02:02 min]
[INFO] Apache Maven Clean Plugin .......................... SUCCESS [ 51.367 s]
[INFO] Apache Maven Compiler Plugin ....................... SUCCESS [04:26 min]
[INFO] Apache Maven Deploy Plugin ......................... SUCCESS [03:49 min]
[INFO] Apache Maven Documentation Checker Plugin .......... SUCCESS [  9.340 s]
[INFO] Apache Maven EAR Plugin ............................ SUCCESS [09:53 min]
[INFO] Apache Maven EJB Plugin ............................ SUCCESS [01:12 min]
[INFO] Apache Maven Help Plugin ........................... SUCCESS [03:21 min]
[INFO] Apache Maven Install Plugin ........................ SUCCESS [02:40 min]
[INFO] Apache Maven Jarsigner Plugin ...................... SUCCESS [01:21 min]
[INFO] Apache Maven Javadoc Plugin ........................ SUCCESS [09:40 min]
[INFO] Apache Maven JDeps Plugin .......................... SUCCESS [  3.921 s]
[INFO] Apache Maven Linkcheck Plugin ...................... SUCCESS [  6.096 s]
[INFO] Apache Maven Patch Plugin .......................... SUCCESS [ 10.592 s]
[INFO] Apache Maven PDF Plugin ............................ SUCCESS [-45.-933 s]
[INFO] Apache Maven RAR Plugin ............................ SUCCESS [ 23.485 s]
[INFO] Apache Maven Repository Plugin ..................... SUCCESS [ 54.738 s]
[INFO] Apache Maven Resources Plugin ...................... SUCCESS [02:19 min]
[INFO] Apache Maven Site Plugin ........................... SUCCESS [14:41 min]
[INFO] Apache Maven Source Plugin ......................... SUCCESS [01:48 min]
[INFO] Apache Maven Stage Plugin .......................... SUCCESS [  5.507 s]
[INFO] Apache Maven Toolchains Plugin ..................... SUCCESS [ 30.217 s]
[INFO] Apache Maven Verifier Plugin ....................... SUCCESS [ 17.410 s]
[INFO] Apache Maven WAR Plugin ............................ SUCCESS [03:16 min]
[INFO] Apache Maven DOAP Plugin ........................... SUCCESS [ 36.395 s]
[INFO] Apache Maven Invoker Plugin ........................ FAILURE [11:20 min]
[INFO] Apache Maven JAR Plugin ............................ SUCCESS [03:05 min]
[INFO] Apache Maven Checkstyle Plugin ..................... SUCCESS [07:17 min]
[INFO] Apache Maven PMD Plugin ............................ SUCCESS [03:26 min]
[INFO] Apache Maven Project Info Reports Plugin ........... SUCCESS [03:52 min]
[INFO] Apache Maven Remote Resources Plugin ............... SUCCESS [01:40 min]
[INFO] Apache Maven Shade Plugin .......................... SUCCESS [06:04 min]
[INFO] Apache Maven SCM Publish Plugin .................... SUCCESS [01:17 min]
[INFO] Apache Maven Assembly Plugin ....................... FAILURE [18:25 min]
[INFO] Apache Maven Dependency Plugin ..................... SUCCESS [05:56 min]
[INFO] Apache Maven Plugins Aggregator .................... SUCCESS [  0.938 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: -52.-336 s
[INFO] Finished at: 2016-11-21T02:42:15-08:00
[INFO] Final Memory: 152M/530M
[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-invoker-plugin:2.0.0:verify (integration-test) 
on project maven-invoker-plugin: 1 build failed. See console output above for 
details. -> [Help 1]
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:2.0.0:verify (integration-test) 
on project maven-assembly-plugin: 1 build 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-invoker-plugin
Build step 'Invoke top-level Maven targets' marked build as failure
Deleting 1 temporary files
Recording test results

Reply via email to