Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: POM
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Maven currently allows properties in the groupId, artifactId and version of a pom. This causes artifacts to be produced that require full inheritance and interpolation before they can be uniquely identified. It also poses potential problems if the properties are defined in settings, env or profiles where the consumer can't exactly identify the artifact after the fact.
Allowing properties in the coordinates generally allows bad practices. After all, how can you not know what the identify of the project you're working on actually is?
Made Maven 3.0 produce a model problem with severity WARNING for this in r803995 to inform users that this might finally be prohibited in the future.