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 frecuentry.
> 
> can i use one variable for setting it into one only place updating all the
> pom files?
> i have use into the setting.xml fine this:
> <my_projet_version>1.0</my_projet_version>
> 
> but if into my pom files i put the ${my_projet_version} variable it
> doesn't sustitute the value
> 
> How can i make this?
> 
> i cannot change weeckly into the 125 pom files the version manually
> 
> Can yo help me?

You don't have to use variables at all. Please read 
http://maven.apache.org/guides/introduction/introduction-to-dependency-
mechanism.html and in special the section about the dependencyManagement 
tag.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to