tomcat7warmaven-tomcat-plugin

Tomcat war with version number deployed by Maven plugin


i use maven3 to deploy to tomcat7, and in the process, it builds the war with a version number, and when the maven plugin deploys it, the version number is no longer part of the war, and the path i set works properly (all of this works as expected, no problems). the plugin i'm using for the deploy is groupId "org.codehaus.mojo"

My question is how this happens, because i need to replicate this process when i manually deploy a war with a version number. I want the version number taken out, and i want to set a path, other that the war name.

Looking for help to do this.


Solution

  • use element in the pom. And move to new version of this plugin which is now located at Apache http://tomcat.apache.org/maven-plugin.html