Skip to content

Instantly share code, notes, and snippets.

@geowarin
Created January 22, 2013 04:03
Show Gist options
  • Save geowarin/4591960 to your computer and use it in GitHub Desktop.
Save geowarin/4591960 to your computer and use it in GitHub Desktop.
Basic configuration for the tomcat7-maven plugin (http://tomcat.apache.org/maven-plugin-2.0)
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<!-- <path>/${project.artifactId}</path> -->
<path>/</path>
<port>8080</port>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment