Skip to content

Commit

Permalink
added tomcat plugins to default and sample wars
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Mar 25, 2013
1 parent c1537a8 commit 86105b3
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
30 changes: 30 additions & 0 deletions hawtio-default/pom.xml
Expand Up @@ -85,6 +85,36 @@
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<port>9090</port>
<path>${context}</path>
<systemProperties>
</systemProperties>
<useTestClasspath>false</useTestClasspath>
<!--
<warSourceDirectory>${project.build.directory}/${project.name}-${project.version}</warSourceDirectory>
-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat6-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<port>9090</port>
<path>${context}</path>
<systemProperties>
</systemProperties>
<useTestClasspath>false</useTestClasspath>
<!--
<warSourceDirectory>${project.build.directory}/${project.name}-${project.version}</warSourceDirectory>
-->
</configuration>
</plugin>

<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down
27 changes: 27 additions & 0 deletions sample/pom.xml
Expand Up @@ -141,6 +141,33 @@
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<port>9090</port>
<path>${context}</path>
<systemProperties>
</systemProperties>
<useTestClasspath>false</useTestClasspath>
<warSourceDirectory>${project.build.directory}/${project.name}-${project.version}</warSourceDirectory>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat6-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<port>9090</port>
<path>${context}</path>
<systemProperties>
</systemProperties>
<useTestClasspath>false</useTestClasspath>
<warSourceDirectory>${project.build.directory}/${project.name}-${project.version}</warSourceDirectory>
</configuration>
</plugin>

<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down

0 comments on commit 86105b3

Please sign in to comment.