[ 
http://jira.codehaus.org/browse/MSHARED-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194524#action_194524
 ] 

Thorsten Möller commented on MSHARED-40:
----------------------------------------

My experience is that any occurrence of properties is not substituted in 
exported POMs. It seems to me that the original POM files are merely copied. Is 
this correct? Maybe the Maven experts on this board can shed a light whether 
this is (i) intended behavior and (ii) whether there can be harmful 
consequences caused by the fact that properties are not evaluated.



> Exported POM still has dependency version ranges
> ------------------------------------------------
>
>                 Key: MSHARED-40
>                 URL: http://jira.codehaus.org/browse/MSHARED-40
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>            Reporter: Matthew Beermann
>
> If you have a version range for one of your dependencies, then the exported 
> POM (the one that's placed in the repository and in the jar itself) will 
> still have a range there. This seems at odds with (one) point of exporting a 
> POM, which is to have all the information you need to reconstruct the state 
> of a build at a particular moment in time. Without knowing which version 
> number was chosen, you can't be sure you're reconstructing the same build 
> later.
> It also seems to be at odds with the behavior elsewhere in this exported 
> artifact: the plugins section shows the actual version number used, and 
> active profiles are quietly merged into the main POM.

-- 
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


Reply via email to