-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4.1, 3.0.0-M3
-
Fix Version/s: 3.0.0
-
Component/s: Standard Rules
-
Labels:None
Following https://maven.apache.org/maven-ci-friendly.html by using
<version>${revision}</version>
and for instance
<properties> <revision>1.0-SNAPSHOT</revision> </properties>
together with RequireSnapshotVersion yields:
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default-cli) @ some-module --- [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireSnapshotVersion failed with message: Parent cannot be a release: some.group:some-root:pom:${revision}
- links to