Hello Brett,
The error I have is :
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke
Tomcat manager
And then
java.io.IOException: Server returned HTTP response code: 401
which means "unauthorized".
In fact this clearly shows that some parameters are missing.
So to remember, in my pom.xml I have :
<profile>
<id>testLocal</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
...
</properties>
</profile>
Running : mvn -P testLocal clean tomcat:deploy is OK
Running : mvn clean tomcat:deploy fails with error above
So I don't understand why the 2nd option fails as testLocal profile
should be taken by default, AFAIK.
Thanks for your help,
Marc.
Brett Porter a écrit :
> 2008/9/18 Marc Schneider <[EMAIL PROTECTED]>:
>> 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.
>
> What is the error message?
>
> - Brett
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]