On Tue, Aug 26, 2008 at 6:31 AM, Sven Vlieghe <[EMAIL PROTECTED]> wrote:

> I am trying to centralize the version-numbers of all projects/dependencies
> in our system. My approach for this, is to centralize the settings.xml-file
> & add all versions as profile-properties. This worked perfectly at first
> sight, but resulted in errors when trying to use the project as a
> dependency.
...
> Anyone sees what I'm doing wrong?

The settings.xml file is intended for developer-specific
configuration... the version number of a project definitely belongs in
the pom.

You can establish an organization-level pom that all your projects
inherit from and specify things that are truly common across all your
projects there, then come down to project-level parent poms for things
that are project-specific, etc.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to