I was interested to know what would be the best practice for deploying a WAR WARMAN file in Tomcat. Using the maven release plugin, I get a version file for my project for example: myservice-1.0.0.war
I would like to deploy it to tomcat so that I can access it as follows for example: http: // localhost: 8080 / myservice
By default, tomcat explodes a war file as a directory named myservice-1.0.0 under CATALINA_HOME / webapps. But I want to explode the war as a directory called myservice for the reasons mentioned above.
I know that I can just rename myservice-1.0.0.war -> myservice.war and then deploy it to Tomcat.
I wanted to know what others are doing?
maven-2 tomcat
andthereitgoes
source share