I'm confused (and intrigued)... We're also using cruise control and it'd be really nice to let CC supply maven with what it thinks the build number is for particular modules.
Currently, we're using the deploy-file goal and specifying a build number to that (even though internally, the poms list a snapshot version). Additionally, when our larger parent/child combos branch, there's the added effort to change each and every pom involved to reflect the new branch version. To me, this page looks like something that hasn't been implemented yet. Am I missing the picture? -----Original Message----- From: Tomasz Pik [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 4:17 PM To: Maven Users List Subject: Re: setting the version number in Maven On 10/10/07, EJ Ciramella <[EMAIL PROTECTED]> wrote: > Is it me or is that site horribly slow (and that link didn't work)? works for me. here's a shortcut: http://tinyurl.com/2dkf6p Regards, Tomek > > -----Original Message----- > From: Erez Nahir [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 10, 2007 4:07 PM > To: Maven Users List > Subject: Re: setting the version number in Maven > > Hi Bob, > > Have a look at > http://docs.codehaus.org/display/MAVEN/best+practices+-+version+manageme > nt+in+multi+project+bu > > In our project we use the ${applicationVersion} concept described in > this URL. > > Erez. > > Bob Aiello wrote: > > Hi, > > > > What is the easiest way to set a version in the pom.xml ? > > > > I have a maven app that has 30 poms and in order to update > > the version, I have to modify each of these poms manually. > > > > <version>1.1.0</version> > > > > I would like to be able to separate out the version > > So that I can just change it in one place and the 30 > > poms will pick up the change. I keep thinking that I > > should be able to have something like... > > > > <version>${myversion}</version> > > > > And a properties file somewhere in which I set the version. > > > > Any suggestions on a simply way to do this would be > > greatly appreciated!!! > > > > Bob Aiello > > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > 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] > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
