Description
If I use the placeholders in a project based on the CI Friendly currently maven-enforcer-plugin fails like this:
[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)
This is currently based on reading the pom file itself instead of using the parts which are offered via Maven Core...
Attachments
Issue Links
- is duplicated by
-
MENFORCER-299 Failure with ${revision}
- Closed