You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukasz Strzelecki (JIRA)" <ji...@codehaus.org> on 2012/02/28 13:33:04 UTC

[jira] (MDEPLOY-147) deploy snapshot without timestamp

Lukasz Strzelecki created MDEPLOY-147:
-----------------------------------------

             Summary: deploy snapshot without timestamp
                 Key: MDEPLOY-147
                 URL: https://jira.codehaus.org/browse/MDEPLOY-147
             Project: Maven 2.x and 3.x Deploy Plugin
          Issue Type: Bug
          Components: deploy:deploy
    Affects Versions: 2.7
         Environment: Maven 3.0.3
Ubuntu 11.10
            Reporter: Lukasz Strzelecki
         Attachments: pom.xml

I've created maven project in which I want to deploy snapshot version to snapshot repository without timestamp.
So, in tag snapshotRepository I've declared snapshot repo like this:
{code}
<distributionManagement>
	<!-- ... -->
	<snapshotRepository>
		<id>repo-snapshots</id>
		<name>Snapshots maven repository</name>
		<url>[repo snapshot url]</url>
		<uniqueVersion>false</uniqueVersion>
	</snapshotRepository>
	<!-- ... -->
</distributionManagement>
{code}
What is important, I've added *<uniqueVersion>false</uniqueVersion>* to force deploy process to not add tiestamp. But after invoking goal 
{code}
mvn deploy
{code}
In repo is uploded snapshot with timestamp instead of SNAPSHOT postfix

Full prepared pom.xml for testing is in attachment for this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MDEPLOY-147) deploy snapshot without timestamp

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MDEPLOY-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MDEPLOY-147.
----------------------------------

    Resolution: Not A Bug

See the [Combatibility Notes| https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-NonuniqueSnapshotDeployments] for Maven3
                
> deploy snapshot without timestamp
> ---------------------------------
>
>                 Key: MDEPLOY-147
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-147
>             Project: Maven 2.x and 3.x Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy
>    Affects Versions: 2.7
>         Environment: Maven 3.0.3
> Ubuntu 11.10
>            Reporter: Lukasz Strzelecki
>         Attachments: pom.xml
>
>
> I've created maven project in which I want to deploy snapshot version to snapshot repository without timestamp.
> So, in tag snapshotRepository I've declared snapshot repo like this:
> {code}
> <distributionManagement>
> 	<!-- ... -->
> 	<snapshotRepository>
> 		<id>repo-snapshots</id>
> 		<name>Snapshots maven repository</name>
> 		<url>[repo snapshot url]</url>
> 		<uniqueVersion>false</uniqueVersion>
> 	</snapshotRepository>
> 	<!-- ... -->
> </distributionManagement>
> {code}
> What is important, I've added *<uniqueVersion>false</uniqueVersion>* to force deploy process to not add tiestamp. But after invoking goal 
> {code}
> mvn deploy
> {code}
> In repo is uploded snapshot with timestamp instead of SNAPSHOT postfix
> Full prepared pom.xml for testing is in attachment for this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira