You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Le...@steria.se on 2009/01/14 09:36:14 UTC

Version modification in install


Hi everybody!

We're using TeamCity for continous integration and would like to use the
TeamCity generated version as versions for our installed artifacts.

What we would like to do is run the install target on the build agent to
deploy builds to the repository. But this would required a change in the
deployed pom.xml. I was hoping -Dproject.version would solve this issue the
easy way but it doesn't...

I'm wondering if someone has a simple solution for this or if we need to
create a shell/ant script to make the pom.xml modification before we run
the build?


//Leonard Broman

------------------------------------------------------------------------------------
This email originates from Steria AB, Box 544, SE-182 15  Danderyd, Sweden, +46 8 622 42 00, http://www.steria.se. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited.