maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: activeProfiles
Date Mon, 25 Mar 2013 10:49:03 GMT
Hi Eric,

Eric Kolotyluk wrote:

> I have two development environments: work and personal.
> I am trying to set up my projects so that the POM knows which profile to
> activate, but it seems you cannot put <activeProfiles> in a POM, only in
> a settings.xml file. Is there some reason for this?
> Is there some other Maven way to do what I want to do? How do other
> people separate work development from personal development?

What's the problem with it? If you active a profile in the settings.xml, you 
can use this profile (i.e. a profile with same name) also in your POMs, you 
don't need an activation anymore.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message