You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by simon <si...@chello.at> on 2008/02/24 10:09:59 UTC

Re: Why is there two configuration files for Maven, settings.xml and pom.xml

On Sat, 2008-02-23 at 23:53 -0800, youhaodeyi wrote:
> Can I put the configurations in settings.xml to pom.xml? Why does maven use
> two configuration files?

The pom.xml is meant to be checked in to your version control system,
and will be published to the maven repository. This should produce a
"normal build" without any external settings.

The settings.xml file can do per-person overrides of stuff in the
pom.xml. Of course this is not normally checked in, and is never
available in the maven repository.

Regards,
Simon


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