On 4/23/2012 9:15 PM, Benson Margulies wrote:
On Mon, Apr 23, 2012 at 9:00 PM, Andrew Hughes<ahhug...@gmail.com> wrote:
Hi All,
I have configured the following to perform (local) snapshot updates every
5mins... unfortunately the dependencies DO NOT update at the prescribed
5min interval. Could it be that the<activeProfiles> do not ALWAYS
activate? I do have a specific -P dev (project defined) profile enabled
while building, will this deactivate the settings.xml<activeProfiles>? Or
any other circumstances for that matter?
If anyone has a better way of doing this or if there is a problem with my
settings below, I'm all ear's :)
Or wars?
activeProfiles are only active until some explicit profile is
activated from the command line, I believe. You need to make your
profile use an activation that will always be satisfied instead.
If I recall correctly, you can disable an active profile by explicitly
disabling it by prefixing the name with '!'. For example, if your
active profile is named "foo", you could run the "package" goal with the
profile disabled like so:
mvn package -P !foo
Rich Eggert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org