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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to