uniqueVersion does not work when used inside a profile
------------------------------------------------------

                 Key: MDEPLOY-65
                 URL: http://jira.codehaus.org/browse/MDEPLOY-65
             Project: Maven 2.x Deploy Plugin
          Issue Type: Bug
    Affects Versions: 2.3
         Environment: winxp
            Reporter: geoff simpson


uniqueVersion does not work when used inside a profile

When the profile below is used the file name i expected is Test_Common-1.0.jar 
not Test_Common-1.0-20070907.103852-7.jar

Uploading: 
file:///C:\build\repository/com/test/Test_Common/1.0-SNAPSHOT/Test_Common-1.0-20070907.103852-7.jar

example configuration to reproduce error

<profile>
      <id>localdeploy</id>
      <distributionManagement>
            <snapshotRepository>
              <id>snapshot-id</id>
              <name>Repository</name>
              <url>file:///C:\build\repository</url>
              <uniqueVersion>false</uniqueVersion>
            </snapshotRepository>
      </distributionManagement>
</profile>

mvn -Plocaldeploy deploy -DbuildVersion=1.0-SNAPSHOT

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