maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <>
Subject [jira] Commented: (MNG-4297) Disallow use of properties in the project coordinates
Date Thu, 19 Aug 2010 08:26:32 GMT


Benjamin Bentmann commented on MNG-4297:

bq. Isn't it a good pratice to put <version>${parent.project.version}</version>
in each child project ?
Nope, because it's redundant, just omit the version in the child and it uses the parent version.

> Disallow use of properties in the project coordinates
> -----------------------------------------------------
>                 Key: MNG-4297
>                 URL:
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: POM
>            Reporter: Brian Fox
> 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? 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message