You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2017/05/04 18:52:04 UTC

[jira] [Updated] (MENFORCER-268) Usage of CI friendly version placeholders does not work

     [ https://issues.apache.org/jira/browse/MENFORCER-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise updated MENFORCER-268:
------------------------------------------
    Description: 
If I use the placeholders in a project based on the [CI Friendly|http://maven.apache.org/maven-ci-friendly.html] currently maven-enforcer-plugin fails like this:

{code}
[INFO] --- flatten-maven-plugin:1.0.0:clean (flatten.clean) @ domain ---
[INFO] Deleting /Users/kama/ws-git/javaee/domain/.flattened-pom.xml
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ domain ---
Downloading: http://localhost:8081/nexus/content/groups/public/com/soebes/examples/j2ee/parent/$%7Brevision%7D$%7Bsha1%7D$%7Bchangelist%7D/parent-$%7Brevision%7D$%7Bsha1%7D$%7Bchangelist%7D.pom
[WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequireNoRepositories failed with message:
Could not find artifact com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist} in nexus (http://localhost:8081/nexus/content/groups/public)

  com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist}

from the specified remote repositories:
  nexus (http://localhost:8081/nexus/content/groups/public, releases=true, snapshots=true)

[WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message:
Failure to find com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist} in http://localhost:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

  com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist}

from the specified remote repositories:
  nexus (http://localhost:8081/nexus/content/groups/public, releases=true, snapshots=true)

{code}

> Usage of CI friendly version placeholders does not work
> -------------------------------------------------------
>
>                 Key: MENFORCER-268
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-268
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.0.0, 1.4.2
>            Reporter: Karl Heinz Marbaise
>            Priority: Blocker
>             Fix For: 3.0.0
>
>
> If I use the placeholders in a project based on the [CI Friendly|http://maven.apache.org/maven-ci-friendly.html] currently maven-enforcer-plugin fails like this:
> {code}
> [INFO] --- flatten-maven-plugin:1.0.0:clean (flatten.clean) @ domain ---
> [INFO] Deleting /Users/kama/ws-git/javaee/domain/.flattened-pom.xml
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ domain ---
> Downloading: http://localhost:8081/nexus/content/groups/public/com/soebes/examples/j2ee/parent/$%7Brevision%7D$%7Bsha1%7D$%7Bchangelist%7D/parent-$%7Brevision%7D$%7Bsha1%7D$%7Bchangelist%7D.pom
> [WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequireNoRepositories failed with message:
> Could not find artifact com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist} in nexus (http://localhost:8081/nexus/content/groups/public)
>   com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist}
> from the specified remote repositories:
>   nexus (http://localhost:8081/nexus/content/groups/public, releases=true, snapshots=true)
> [WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message:
> Failure to find com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist} in http://localhost:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
>   com.soebes.examples.j2ee:parent:pom:${revision}${sha1}${changelist}
> from the specified remote repositories:
>   nexus (http://localhost:8081/nexus/content/groups/public, releases=true, snapshots=true)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)