Why isnt "mvn install" launching the cargo-plugin even though the profile's
<activeByDefault> is set to true?I have to type "mvn cargo:install" to get
it to execute.The profile is defined as :
<profiles>
<profile>
<id>tomcat5x</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>0.3-SNAPSHOT</version>
<configuration>
<container>
<containerId>tomcat5x</containerId>
<home>D:/jakarta-tomcat-5.0.30</home>
<output>
${project.build.directory}/tomcat5x.log
</output>
<log>
${project.build.directory}/tomcat5x-cargo.log
</log>
</container>
<configuration>
<deployables>
<deployable>
<location>
${project.build.directory}/eportal.war
</location>s
</deployable>
</deployables>
<type>existing</type>
<home>D:/jakarta-tomcat-5.0.30</home>
<properties>
<cargo.servlet.port>
${localPort}
</cargo.servlet.port>
</properties>
</configuration>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
--
Jeff Mutonho
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042