[ http://jira.codehaus.org/browse/MNG-2470?page=comments#action_71121 ] 
            
Brett Porter commented on MNG-2470:
-----------------------------------

while it is discussed in MNG-1094, that looks to be for the main repository 
element and not the snapshot repository element

> uniqueVersion not inherited in child projects
> ---------------------------------------------
>
>                 Key: MNG-2470
>                 URL: http://jira.codehaus.org/browse/MNG-2470
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritence and Interpolation
>    Affects Versions: 2.0.4
>         Environment: Linux
>            Reporter: korebantic
>
> My parent project defines the following:
>  <distributionManagement>
>    <snapshotRepository>
>      <id>Yo</id>
>      <name>Yo Repository</name>
>      <url>scp://yo/home/maven/www</url>
>      <uniqueVersion>false</uniqueVersion>
>    </snapshotRepository>
>  </distributionManagement>
> When I run the following command in the child project:
> mvn help:effective-pom
> I get the following results:
>  ...
>  <distributionManagement>
>    <snapshotRepository>
>      <id>Yo</id>
>      <name>Yo Repository</name>
>      <url>scp://yo/home/maven/www</url>
>    </snapshotRepository>
>  </distributionManagement>
>  ...
> It looks like inheritence is ignoring the <uniqueVersion> element. 
> This is also verified, when I run "mvn deploy" -- the parent project installs 
> a non-timestamped version in the remote repository, but the child project 
> installs a timestamped version.

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