You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tristan ROBET (JIRA)" <ji...@codehaus.org> on 2010/08/19 10:11:32 UTC

[jira] Commented: (MNG-4297) Disallow use of properties in the project coordinates

    [ http://jira.codehaus.org/browse/MNG-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232436#action_232436 ] 

Tristan ROBET commented on MNG-4297:
------------------------------------

What about inheritance ? Isn't it a good pratice to put <version>${parent.project.version}</version> in each child project ?

> Disallow use of properties in the project coordinates
> -----------------------------------------------------
>
>                 Key: MNG-4297
>                 URL: http://jira.codehaus.org/browse/MNG-4297
>             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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira