maven-users mailing list archives

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

I have this default profile in my pom.xml

<profile>
	<id>testLocal</id>
	<activation>
		<activeByDefault>true</activeByDefault>
	</activation>
</profile>

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

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 ?

Thanks,
Marc.


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


Mime
View raw message