maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Schneider <>
Subject Confused with activeProfile
Date Wed, 17 Sep 2008 15:24:59 GMT

I have this default profile in my pom.xml


This pom has a parent where most of the parameters of this profile are

So running :
mvn -P testLocal clean tomcat:deploy

should be equivalent to :

mvn clean tomcat:deploy ?

But if I don't put -P testLocal I get an error message as if some
parameters are missing.

Running just after this :

mvn help:active-profiles

The following profiles are active:
 - testLocal (source: pom)

So I don't understand why it doesn't work.
Any idea ?


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

View raw message