You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ol...@apache.org on 2013/08/20 15:06:05 UTC
svn commit: r1515810 - in /commons/sandbox/monitoring/trunk: pom.xml
reporting/pom.xml
Author: olamy
Date: Tue Aug 20 13:06:04 2013
New Revision: 1515810
URL: http://svn.apache.org/r1515810
Log:
configure tomcat maven plugin to be able to run tomcat7:run
Modified:
commons/sandbox/monitoring/trunk/pom.xml
commons/sandbox/monitoring/trunk/reporting/pom.xml
Modified: commons/sandbox/monitoring/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/monitoring/trunk/pom.xml?rev=1515810&r1=1515809&r2=1515810&view=diff
==============================================================================
--- commons/sandbox/monitoring/trunk/pom.xml (original)
+++ commons/sandbox/monitoring/trunk/pom.xml Tue Aug 20 13:06:04 2013
@@ -36,6 +36,15 @@
performances and thread concurrency.
</description>
+ <!-- Compiler source and target JVM (see parent pom) -->
+ <properties>
+ <maven.compile.source>1.6</maven.compile.source>
+ <maven.compile.target>1.6</maven.compile.target>
+ <commons.componentid>monitoring</commons.componentid>
+ <commons.jira.componentid>12312100</commons.jira.componentid>
+ <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/sandbox/commons-monitoring</commons.scmPubUrl>
+ </properties>
+
<modules>
<module>core</module>
<module>jdbc</module>
@@ -91,6 +100,11 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -132,14 +146,6 @@
</site>
</distributionManagement>
- <!-- Compiler source and target JVM (see parent pom) -->
- <properties>
- <maven.compile.source>1.6</maven.compile.source>
- <maven.compile.target>1.6</maven.compile.target>
- <commons.componentid>monitoring</commons.componentid>
- <commons.jira.componentid>12312100</commons.jira.componentid>
- </properties>
-
<dependencyManagement>
<dependencies>
<dependency>
Modified: commons/sandbox/monitoring/trunk/reporting/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/monitoring/trunk/reporting/pom.xml?rev=1515810&r1=1515809&r2=1515810&view=diff
==============================================================================
--- commons/sandbox/monitoring/trunk/reporting/pom.xml (original)
+++ commons/sandbox/monitoring/trunk/reporting/pom.xml Tue Aug 20 13:06:04 2013
@@ -29,6 +29,11 @@
<name>Commons Monitoring (Sandbox) :: Reporting</name>
<packaging>war</packaging>
+ <properties>
+ <tomcatRunPort>8080</tomcatRunPort>
+ <tomcatRunPath>/monitoring</tomcatRunPath>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
@@ -77,6 +82,21 @@
<attachClasses>true</attachClasses>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <configuration>
+ <port>${tomcatRunPort}</port>
+ <path>${tomcatRunPath}</path>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.commons.monitoring</groupId>
+ <artifactId>commons-monitoring-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
</plugins>
</build>
</project>