There is no need to do this, but then again if you use the provided tooling there should be little reason. The release plugin will rewrite all of these version numbers for you when you roll a release.

Andy

On 7 Jun 2007, at 10:08, 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#a11004521
Sent from the Maven - Users mailing list archive at Nabble.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