See <https://builds.apache.org/job/maven-plugins-ITs-m3-windows/1851/display/redirect?page=changes>
Changes: [Michael Osipov] [MDEP-409] dependency:tree fails for a multi-module project where one module depends on another and "mvn install" has not been run yet Submitted-by: RĂ©da Housni Alaoui <reda.housniala...@gmail.com> This closes #111 ------------------------------------------ [...truncated 3.21 MB...] [INFO] Building: dependency-properties\pom.xml [INFO] run script verify.bsh [INFO] ..SUCCESS (6.6 s) [INFO] Building: filterunpack\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (6.6 s) [INFO] Building: get-artifact\pom.xml [INFO] run script setup.bsh [INFO] run script verify.bsh [INFO] ..SUCCESS (6.3 s) [INFO] Building: get-artifact-maven-plugin\pom.xml [INFO] run script setup.bsh [INFO] run script verify.bsh [INFO] ..SUCCESS (6.4 s) [INFO] Building: get-artifact-no-transitive\pom.xml [INFO] run script setup.bsh [INFO] run script verify.bsh [INFO] ..SUCCESS (6.3 s) [INFO] Building: get-gav\pom.xml [INFO] run script setup.bsh [INFO] run script verify.bsh [INFO] ..SUCCESS (6.4 s) [INFO] Building: go-offline\pom.xml [INFO] ..SUCCESS (8.1 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.9 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.6 s) [INFO] Building: mdep-450-project-without-ancestor\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (6.7 s) [INFO] Building: mdep-506-dependency-without-version-in-depmgt\pom.xml [INFO] ..SUCCESS (7.4 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.3 s) [INFO] Building: purge-local-repository-non-transitive\pom.xml [INFO] run script verify.bsh [INFO] ..SUCCESS (7.3 s) [INFO] Building: purge-local-repository-reresolve\pom.xml [INFO] run script verify.bsh [INFO] ..SUCCESS (7.3 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 (8.2 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 (6.9 s) [INFO] Building: resolve\pom.xml [INFO] ..SUCCESS (6.8 s) [INFO] Building: resolve-plugins\pom.xml [INFO] ..SUCCESS (7.4 s) [INFO] Building: resolve-plugins-exclude-reactor\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (8.0 s) [INFO] Building: resolve-plugins-with-exclude\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (7.1 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.3 s) [INFO] Building: tree-includes\pom.xml [INFO] run script verify.bsh [INFO] ..SUCCESS (6.1 s) [INFO] Building: tree-multimodule\pom.xml [INFO] snapshot org.apache.maven.its.dependency:tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from apache.snapshots [INFO] artifact org.apache.maven.its.dependency.tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from central [INFO] org.apache.maven.its.dependency.tree-multimodule-module-a.1.0-SNAPSHOT: checking for updates from central [INFO] run script verify.bsh [INFO] ..SUCCESS (7.2 s) [INFO] Building: unpack\pom.xml [INFO] run script verify.bsh [INFO] ..SUCCESS (7.9 s) [INFO] Building: unpack-cli\pom.xml [INFO] run script verify.bsh [INFO] ..SUCCESS (6.8 s) [INFO] Building: unpack-custom-ear\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (6.8 s) [INFO] Building: unpack-dependencies\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (8.6 s) [INFO] Building: unpack-from-remote-repository\pom.xml [INFO] run script setup.bsh [INFO] artifact org.apache.maven.its.dependency.fake-remote-unpack:1.0: checking for updates from central [INFO] run script verify.bsh [INFO] ..SUCCESS (8.4 s) [INFO] Building: purge-local-repository-without-pom [INFO] run script setup.bsh [INFO] run script verify.bsh [INFO] ..SUCCESS (6.4 s) [INFO] [INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:60016 [INFO] Mock Repository Manager http://localhost:60016 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: 47, 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.1-SNAPSHOT.jar to C:\Users\jenkins\.m2\repository\org\apache\maven\plugins\maven-dependency-plugin\3.0.1-SNAPSHOT\maven-dependency-plugin-3.0.1-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.1-SNAPSHOT\maven-dependency-plugin-3.0.1-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] [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 [ 44.731 s] [INFO] Apache Maven AntRun Plugin ......................... SUCCESS [01:44 min] [INFO] Apache Maven Changelog Plugin ...................... SUCCESS [01:15 min] [INFO] Apache Maven Changes Plugin ........................ SUCCESS [02:04 min] [INFO] Apache Maven Clean Plugin .......................... SUCCESS [ 51.115 s] [INFO] Apache Maven Compiler Plugin ....................... SUCCESS [03:59 min] [INFO] Apache Maven Deploy Plugin ......................... SUCCESS [03:33 min] [INFO] Apache Maven Documentation Checker Plugin .......... SUCCESS [ 8.311 s] [INFO] Apache Maven EAR Plugin ............................ SUCCESS [09:48 min] [INFO] Apache Maven EJB Plugin ............................ SUCCESS [01:11 min] [INFO] Apache Maven Help Plugin ........................... SUCCESS [03:15 min] [INFO] Apache Maven Install Plugin ........................ SUCCESS [03:03 min] [INFO] Apache Maven Jarsigner Plugin ...................... SUCCESS [01:16 min] [INFO] Apache Maven Javadoc Plugin ........................ SUCCESS [09:10 min] [INFO] Apache Maven JDeps Plugin .......................... SUCCESS [ 3.709 s] [INFO] Apache Maven Linkcheck Plugin ...................... SUCCESS [ 5.314 s] [INFO] Apache Maven Patch Plugin .......................... SUCCESS [ 10.697 s] [INFO] Apache Maven PDF Plugin ............................ SUCCESS [ 41.717 s] [INFO] Apache Maven RAR Plugin ............................ SUCCESS [ 20.032 s] [INFO] Apache Maven Repository Plugin ..................... SUCCESS [ 42.828 s] [INFO] Apache Maven Resources Plugin ...................... SUCCESS [02:18 min] [INFO] Apache Maven Site Plugin ........................... SUCCESS [10:57 min] [INFO] Apache Maven Source Plugin ......................... SUCCESS [01:43 min] [INFO] Apache Maven Stage Plugin .......................... SUCCESS [ 4.191 s] [INFO] Apache Maven Toolchains Plugin ..................... SUCCESS [ 26.018 s] [INFO] Apache Maven Verifier Plugin ....................... SUCCESS [ 16.753 s] [INFO] Apache Maven WAR Plugin ............................ SUCCESS [03:09 min] [INFO] Apache Maven DOAP Plugin ........................... SUCCESS [ 33.882 s] [INFO] Apache Maven Invoker Plugin ........................ SUCCESS [10:58 min] [INFO] Apache Maven JAR Plugin ............................ SUCCESS [03:04 min] [INFO] Apache Maven Checkstyle Plugin ..................... SUCCESS [07:11 min] [INFO] Apache Maven PMD Plugin ............................ SUCCESS [03:26 min] [INFO] Apache Maven Project Info Reports Plugin ........... SUCCESS [03:33 min] [INFO] Apache Maven Remote Resources Plugin ............... SUCCESS [01:36 min] [INFO] Apache Maven Shade Plugin .......................... SUCCESS [06:35 min] [INFO] Apache Maven SCM Publish Plugin .................... SUCCESS [01:14 min] [INFO] Apache Maven Assembly Plugin ....................... FAILURE [18:48 min] [INFO] Apache Maven Dependency Plugin ..................... SUCCESS [06:53 min] [INFO] Apache Maven Plugins Aggregator .................... SUCCESS [ 0.981 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:07 h [INFO] Finished at: 2017-04-15T00:51:40+00:00 [INFO] Final Memory: 153M/482M [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:3.0.0-SNAPSHOT: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-assembly-plugin Build step 'Invoke top-level Maven targets' marked build as failure Deleting 1 temporary files Recording test results