"Using ${project.version} has other nasty side effects doesn't it?  
I'll go looking for the JIRA."

Yes it does. It causes snapshot deployments to look for dependencies with 
identical numbers, which is nearly impossible unless useUniqueVersion is false.

http://jira.codehaus.org/browse/MNG-2486

-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 12, 2007 4:07 AM
To: Maven Developers List
Subject: Re: svn commit: r546388 - 
/maven/components/branches/maven-2.0.x/pom.xml


On 11 Jun 07, at 11:23 PM 11 Jun 07, Emmanuel Venisse wrote:

> Jason,
>
> if the mavenVersion property is used only in dependencies versions, 
> you can remove it and replace all dependencies versions by $ 
> {project.version}. We use it in continuum and the release plugin works 
> fine with it.
>

I used this for the 2.0.6 release so I'm not sure why this isn't working now. I 
also tried setting mavenVersion to ${project.version} which also yielded the 
same result.

Using ${project.version} has other nasty side effects doesn't it?  
I'll go looking for the JIRA.

But I would really like to release the way I did last time without having to 
rewrite the POM.

> Emmanuel
>
> [EMAIL PROTECTED] a écrit :
>> Author: jvanzyl
>> Date: Mon Jun 11 23:16:16 2007
>> New Revision: 546388
>> URL: http://svn.apache.org/viewvc?view=rev&rev=546388
>> Log:
>> o trying to use ${project.version} to fake out the release plugin
>> Modified:
>>     maven/components/branches/maven-2.0.x/pom.xml
>> Modified: maven/components/branches/maven-2.0.x/pom.xml
>> URL: http://svn.apache.org/viewvc/maven/components/branches/
>> maven-2.0.x/pom.xml?view=diff&rev=546388&r1=546387&r2=546388
>> =====================================================================
>> =========
>> --- maven/components/branches/maven-2.0.x/pom.xml (original)
>> +++ maven/components/branches/maven-2.0.x/pom.xml Mon Jun 11
>> 23:16:16 2007
>> @@ -127,7 +127,7 @@
>>      </dependency>
>>    </dependencies>
>>    <properties>
>> -    <mavenVersion>2.0.7-SNAPSHOT</mavenVersion>
>> +    <mavenVersion>${project.version}</mavenVersion>
>>    </properties>
>>    <dependencyManagement>
>>      <dependencies>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
>
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to