Search code examples
tomcatmavenmaven-tomcat-plugin

Diference between mvn package tomcat6:deploy and mvn tomcat6:deploy


Is mvn package tomcat6:deploy and mvn tomcat6:deploy does the same thing? I tried on my system both , but couldn't find any notable difference.


Solution

  • Nope no difference. See documentation http://tomcat.apache.org/maven-plugin-2/tomcat6-maven-plugin/deploy-mojo.html

    "Invokes the execution of the lifecycle phase package prior to executing itself."