How to copy .war to Tomcat's webapps directory using Maven?

maven, maven-plugin

Solution

I used the Maven WAR Plugin: http://maven.apache.org/plugins/maven-war-plugin/usage.html

Problem

Is there anything I can add to `pom.xml` that will copy the generated `.war` file from the `target` directory to my Tomcat's `webapps` directory?

Original source

Related problems