On Fri, Mar 11, 2011 at 10:56 PM, koxkorrita <koxkorr...@laudio.info> 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 settings.xml file is for developer-specific things like
repository credentials.)

Lots of people are already doing this, for example see the
<properties> section in the Archiva parent pom:
http://svn.apache.org/repos/asf/archiva/trunk/pom.xml

Try moving it to the top level pom for your project, and if that still
doesn't work, provide some snippets from your poms so we can see
exactly what you're doing.  (There are places where you cannot use
properties, like inside <parent>.)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to