Won't ${project.version} be resolved to the version of the pom in the project
where the build was invoked?

I want the version of "this" pom, ie the pom which contains the property
reference. It will make a difference in a multi-module build where projects
have different versions.

   Peter


Thorsten Heit-3 wrote:
> 
> Hi,
> 
>> What I would like is a way to refer to the version of "this" pom (ie the
>> same as the reference) not relative to the pom from which the build is
>> invoked.
> 
> What about "${project.version}"? AFAIK this should work.
> 
> 
> HTH
> 
> Thorsten
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Retrieving-version-of-the-pom-itself---not-the-child-projects-pom-tf4359342s177.html#a12451009
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to