You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Damon Rand (JIRA)" <ji...@codehaus.org> on 2008/07/15 23:59:26 UTC

[jira] Closed: (MNG-3665) The uniqueVersion property seems to have no affect

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

Damon Rand closed MNG-3665.
---------------------------

    Resolution: Not A Bug

Ok I see now. Am closing as not a bug. 

I guess then the only way to get incrementing version numbers with Maven is to use the release plugin? I'll look in that direction...

Damon.

> The uniqueVersion property seems to have no affect
> --------------------------------------------------
>
>                 Key: MNG-3665
>                 URL: http://jira.codehaus.org/browse/MNG-3665
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.7, 2.0.9
>         Environment: Windows, mvn 2.0.9
>            Reporter: Damon Rand
>
> I'm trying a very basic pom.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> 	<modelVersion>4.0.0</modelVersion>
> 	<groupId>org.alfresco.crowd</groupId>
> 	<artifactId>alfresco-crowd-security</artifactId>
> 	<name>Maven Alfresco Crowd Security AMP</name>
> 	<version>0.2.2</version>
> 	<description>Test AMP project</description>
> 	<distributionManagement>
> 				<repository>
> 						<id>ai-public-releases-secure3</id>
> 						<url>
> 								dav:https://forge.amnesty.org/maven/repos/public-releases
> 						</url>
> 						<uniqueVersion>true</uniqueVersion>
> 				</repository>
> 	</distributionManagement>
> </project>
> But as you can see the uniqueVersion is not being generated on my filenames..
> D:\workspaces\crowd\test2>mvn deploy
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Alfresco Crowd Security AMP
> [INFO]    task-segment: [deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar: D:\workspaces\crowd\test2\target\alfresco-crowd-security-0.
> 2.2.jar
> [INFO] [install:install]
> [INFO] Installing D:\workspaces\crowd\test2\target\alfresco-crowd-security-0.2.2
> .jar to D:\profiles\drand\.m2\repository\org\alfresco\crowd\alfresco-crowd-secur
> ity\0.2.2\alfresco-crowd-security-0.2.2.jar
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> WAGON_VERSION: 1.0-beta-2
> Uploading: https://forge.amnesty.org/maven/repos/public-releases/org/alfresco/cr
> owd/alfresco-crowd-security/0.2.2/alfresco-crowd-security-0.2.2.jar
> [INFO] Uploading project information for alfresco-crowd-security 0.2.2
> [INFO] Retrieving previous metadata from ai-public-releases-secure3
> [INFO] Uploading repository metadata for: 'artifact org.alfresco.crowd:alfresco-
> crowd-security'
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Tue Jul 15 17:41:07 BST 2008
> [INFO] Final Memory: 9M/16M
> [INFO] ------------------------------------------------------------------------
> D:\workspaces\crowd\test2>

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