>-----Original Message----- >From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > >On 19 July 2010 06:10, Haszlakiewicz, Eric <ehas...@transunion.com> wrote: >> You can also set the version as a property in a top-level profiles.xml >> file, and refer to it in all of your pom files. > >If it's the /project/version or /project/parent/version that you are trying >to use a property for then you will completely mess up the remote repo you >are deploying to. > >For updating those versions, which AFAIK is what the OP was after, you have >three choices: >1. do it all by hand >2. versions:set -DnewVersion=_____ >3. that goal on the release plugin
huh? Mess it up how? Does something go wrong with the property expansion when deploying? I do use a property reference for both /project/version and /project/parent/version. I thought it worked ok when I tried it, but maybe I wasn't paying enough attention. The project where I'm using this currently has a version set in the profiles.xml of "3.1-SNAPSHOT", and when I deploy it ends up in directory of that name, with the artifacts being named things like "foo-3.1-20100719.075537-2.jar". Isn't that what is supposed to happen? eric --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org