pom to move war to tomcat directory code example
Example: pom to move war to tomcat directory
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<warName><!-- name you want --></warName>
<outputDirectory><!-- tomcat webapps dir --></outputDirectory>
</configuration>
</plugin>