Skip to content

Instantly share code, notes, and snippets.

@simonetripodi
Created February 20, 2012 15:48
Show Gist options
  • Save simonetripodi/1869758 to your computer and use it in GitHub Desktop.
Save simonetripodi/1869758 to your computer and use it in GitHub Desktop.
exec.xml
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<executions>
<execution>
<id>tomcat-run</id>
<goals>
<goal>exec-war-only</goal>
</goals>
<phase>package</phase>
<configuration>
<attachArtifactClassifier>server-embedded</attachArtifactClassifier>
<warRunDependencies>
<warRunDependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-webapp</artifactId>
<version>2.0-RC7</version>
<type>war</type>
</dependency>
<contextPath>/</contextPath>
</warRunDependency>
</warRunDependencies>
<!-- naming is disable by default so use true to enable it -->
<enableNaming>true</enableNaming>
<extraDependencies>
<extraDependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.8.3</version>
</extraDependency>
</extraDependencies>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment