Re: variable for poms. SOS

2011-03-12 Thread Wendy Smoak
On Fri, Mar 11, 2011 at 10:56 PM, koxkorrita wrote: > yes, i use snapshots but how can i use one variable for change it only into > one place? If you're going to use a property to control a version number, it should go in a pom towards the top of the project hierarchy, not in settings.xml. (The

RE: variable for poms. SOS

2011-03-11 Thread koxkorrita
yes, i use snapshots but how can i use one variable for change it only into one place? thanks -Mensaje original- De: Ron Wheeler [mailto:rwhee...@artifact-software.com] Enviado el: viernes, 11 de marzo de 2011 15:29 Para: users@maven.apache.org Asunto: Re: variable for poms. SOS You

Re: variable for poms. SOS

2011-03-11 Thread Ron Wheeler
You usually don't change versions each week. Only when you do a real release. Use SNAPSHOTS to control development. Maven will look after your housekeeping for you. If you use Maven the way that it is designed to be used, Maven is your friend. Otherwise Maven will fight you at every step. If

Re: variable for poms. SOS

2011-03-11 Thread Stephen Connolly
On 11 March 2011 07:21, Jörg Schaible wrote: > koxkorrita wrote: > > > hello > > i have some project, subprojects using maven. > > several of them are libs for import as dependencies into my maven > projects > > and subprojects. > > > > my problem is the next. > > into my pom version i have the t

Re: variable for poms. SOS

2011-03-10 Thread Jörg Schaible
koxkorrita wrote: > hello > i have some project, subprojects using maven. > several of them are libs for import as dependencies into my maven projects > and subprojects. > > my problem is the next. > into my pom version i have the tipical 0.0.1-SNAPSHOT. > i heve 125 java project that i use frecu

Re: variable for poms. SOS

2011-03-10 Thread Stephen Connolly
this might be a different solution to your problem. versions-maven-plugin@mojo mvn versions:set -DnewVersion=... - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 10 Mar 201

variable for poms. SOS

2011-03-10 Thread koxkorrita
hello i have some project, subprojects using maven. several of them are libs for import as dependencies into my maven projects and subprojects. my problem is the next. into my pom version i have the tipical 0.0.1-SNAPSHOT. i heve 125 java project that i use frecuentry. can i use one variable for