maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (MENFORCER-281) RequirePluginVersions broken with "CI Friendly versions"
Date Sat, 04 Nov 2017 14:44:00 GMT


ASF GitHub Bot commented on MENFORCER-281:

jtnord opened a new pull request #28: [MENFORCER-281] added IT to show the issue.
   Added an IT to demonstrate [MENFORCER-281](
   Fails with the following which is slightly different to what is observed in the real project,
but is at least a starter for 10
   [ERROR] /org/apache/maven/its/enforcer/menforcer281-parent/$%7Brevision%7D/menforcer281-parent-$%7Brevision%7D.pom
   java.lang.IllegalArgumentException: Illegal character in path at index 110: https://XXXXX/org/apache/maven/its/enforcer/m
           at org.apache.maven.wagon.providers.http.httpclient.client.methods.HttpGet.<init>(
           at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(
           at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(
           at org.apache.maven.wagon.StreamWagon.getInputStream(
           at org.apache.maven.wagon.StreamWagon.getIfNewer(
           at org.apache.maven.wagon.StreamWagon.get(
           at org.apache.maven.repository.legacy.DefaultWagonManager.getRemoteFile(
           at org.apache.maven.repository.legacy.DefaultWagonManager.getArtifactMetadata(
           at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(
           at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(
           at org.codehaus.mojo.mrm.maven.ProxyArtifactStore.getMetadata(
           at org.codehaus.mojo.mrm.maven.ProxyArtifactStore.getMetadataLastModified(
           at org.codehaus.mojo.mrm.impl.maven.CompositeArtifactStore.getMetadataLastModified(
           at org.codehaus.mojo.mrm.impl.maven.ArtifactStoreFileSystem.listEntries(
           at org.codehaus.mojo.mrm.impl.digest.AutoDigestFileSystem.listEntries(
           at org.codehaus.mojo.mrm.api.BaseFileSystem.get(
           at org.codehaus.mojo.mrm.impl.digest.AutoDigestFileSystem.get(
           at org.codehaus.mojo.mrm.servlet.FileSystemServlet.doGet(
           at javax.servlet.http.HttpServlet.service(
           at javax.servlet.http.HttpServlet.service(
           at org.mortbay.jetty.servlet.ServletHolder.handle(
           at org.mortbay.jetty.servlet.ServletHandler.handle(
           at org.mortbay.jetty.servlet.SessionHandler.handle(
           at org.mortbay.jetty.handler.ContextHandler.handle(
           at org.mortbay.jetty.handler.HandlerWrapper.handle(
           at org.mortbay.jetty.Server.handle(
           at org.mortbay.jetty.HttpConnection.handleRequest(
           at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
           at org.mortbay.jetty.HttpParser.parseNext(
           at org.mortbay.jetty.HttpParser.parseAvailable(
           at org.mortbay.jetty.HttpConnection.handle(
           at org.mortbay.thread.BoundedThreadPool$
   Caused by: Illegal character in path at index 110: https://XXXXXX/org/apache/maven/its/enforc
           ... 33 more
   [INFO] ..FAILED (5.7 s)

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> RequirePluginVersions broken with "CI Friendly versions"
> --------------------------------------------------------
>                 Key: MENFORCER-281
>                 URL:
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 1.4.1, 3.0.0-M1
>            Reporter: James Nord
>            Priority: Critical
> Maven [3.5.0|]
[introduced CI friendly versions|].
> However when used with [multi module project|]
the enforcer fails the build as it can not resolve the parent.
> The bug is that the parent resolution of a module in the reactor is attempting to use
the untransposed version.
> e.g.
> {noformat}
> INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (display-info) @ sub-module ---
> [WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequirePluginVersions failed with
> Failure to find com.acme.product:parent:pom:0.9.8-${revision}SNAPSHOT in
was cached in the local repository, resolution will not be reattempted until the update interval
of acme-internal has elapsed or updates are forced
>   com.acme.product:parent:pom:0.9.8-${revision}SNAPSHOT
> from the specified remote repositories:
>   acme-internal (, releases=true, snapshots=true)
> {noformat}
> to reproduce create a new multi module project as per the linked page above.  Add the
enforcer plugin and rule to the build
> run {{mvn -Drevision=1.2.3-SNAPSHOT}}  and watch the build fail.

This message was sent by Atlassian JIRA

View raw message