<parent>
   <groupId>com.sensage</groupId>
   <artifactId>sensage</artifactId>
   <version>${project.version}</version>
  </parent> 


It will work fine with the change in the parent version.Even we are using
the same stough for our multimodule project.

The only thing is set a reference in the configuration file for your project
version.

Jux wrote:
> 
> That is excactly what I would like to know too. Anybody?
> 
> 
> 
> Christian Goetze-2 wrote:
>> 
>> So I have a project with modules, and every module has its pom.xml file 
>> with a reference to the parent, which must include the parent version. 
>> All of these version numbers should be the same. I tried writing:
>> 
>>   <parent>
>>    <groupId>com.sensage</groupId>
>>    <artifactId>sensage</artifactId>
>>    <version>${project.version}</version>
>>   </parent>
>> 
>> but this fails.
>> 
>> Is there no way to do this centrally, do I really need to go and edit 
>> all the pom.xml files every time the version changes?
>> --
>> cg
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-set-project.version-externally--tf2596827s177.html#a11083757
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