You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 13:55:19 UTC

[jira] Closed: (MNG-2470) uniqueVersion not inherited in child projects

     [ http://jira.codehaus.org/browse/MNG-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-2470.
-----------------------------

         Assignee: Brett Porter
       Resolution: Duplicate
    Fix Version/s:     (was: Reviewed Pending Version Assignment)

> uniqueVersion not inherited in child projects
> ---------------------------------------------
>
>                 Key: MNG-2470
>                 URL: http://jira.codehaus.org/browse/MNG-2470
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.4
>         Environment: Linux
>            Reporter: korebantic
>            Assignee: Brett Porter
>
> 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