Created
July 23, 2015 19:45
-
-
Save ern/7af780f7176557612bd4 to your computer and use it in GitHub Desktop.
Tomcat Executable War sample POM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.rsmart</groupId> | |
| <artifactId>dashboard</artifactId> | |
| <version>1.9.3-SNAPSHOT</version> | |
| <packaging>war</packaging> | |
| <name>rSmart Client Dashboard</name> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.tynamo</groupId> | |
| <artifactId>tapestry-security</artifactId> | |
| <version>0.4.6</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.trsvax</groupId> | |
| <artifactId>tapestry-bootstrap</artifactId> | |
| <version>2.1.6-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.got5</groupId> | |
| <artifactId>tapestry5-jquery</artifactId> | |
| <version>3.3.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis</groupId> | |
| <artifactId>axis</artifactId> | |
| <version>1.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-codec</groupId> | |
| <artifactId>commons-codec</artifactId> | |
| <version>1.6</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jumpmind.symmetric</groupId> | |
| <artifactId>symmetric-csv</artifactId> | |
| <version>3.0.10.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.json</groupId> | |
| <artifactId>json</artifactId> | |
| <version>20090211</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.sf.ehcache</groupId> | |
| <artifactId>ehcache</artifactId> | |
| <version>2.5.6</version> | |
| <type>pom</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>joda-time</groupId> | |
| <artifactId>joda-time</artifactId> | |
| <version>2.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.sourceforge.jexcelapi</groupId> | |
| <artifactId>jxl</artifactId> | |
| <version>2.6.12</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis</groupId> | |
| <artifactId>axis-jaxrpc</artifactId> | |
| <version>1.4</version> | |
| </dependency> | |
| <!--dependency> | |
| <groupId>org.sakaiproject.kernel</groupId> | |
| <artifactId>sakai-kernel-util</artifactId> | |
| <version>1.2.0-SNAPSHOT</version> | |
| </dependency--> | |
| <dependency> | |
| <groupId>org.apache.axis</groupId> | |
| <artifactId>axis-saaj</artifactId> | |
| <version>1.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>axis</groupId> | |
| <artifactId>axis-wsdl4j</artifactId> | |
| <version>1.5.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.xml</groupId> | |
| <artifactId>jaxrpc-api</artifactId> | |
| <version>1.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-discovery</groupId> | |
| <artifactId>commons-discovery</artifactId> | |
| <version>0.2</version> | |
| </dependency> | |
| <!-- end axis stuff --> | |
| <dependency> | |
| <groupId>jdom</groupId> | |
| <artifactId>jdom</artifactId> | |
| <version>1.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>jaxen</groupId> | |
| <artifactId>jaxen</artifactId> | |
| <version>1.0-FCS</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>saxpath</groupId> | |
| <artifactId>saxpath</artifactId> | |
| <version>1.0-FCS</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tapestry</groupId> | |
| <artifactId>tapestry-core</artifactId> | |
| <version>${tapestry-release-version}</version> | |
| </dependency> | |
| <!-- A dependency on either JUnit or TestNG is required, or the surefire plugin (which runs the tests) | |
| will fail, preventing Maven from packaging the WAR. Tapestry includes a large number | |
| of testing facilities designed for use with TestNG (http://testng.org/), so it's recommended. --> | |
| <dependency> | |
| <groupId>org.testng</groupId> | |
| <artifactId>testng</artifactId> | |
| <version>5.12.1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.easymock</groupId> | |
| <artifactId>easymock</artifactId> | |
| <version>2.5.2</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tapestry</groupId> | |
| <artifactId>tapestry-test</artifactId> | |
| <version>${tapestry-release-version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <!-- Provided by the servlet container, but sometimes referenced in the application | |
| code. --> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>servlet-api</artifactId> | |
| <version>2.5</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tapestry</groupId> | |
| <artifactId>tapestry-hibernate</artifactId> | |
| <version>${tapestry-release-version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-core</artifactId> | |
| <version>${hibernate-core-version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-c3p0</artifactId> | |
| <version>${hibernate-core-version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>c3p0</groupId> | |
| <artifactId>c3p0</artifactId> | |
| <version>0.9.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>geronimo-spec</groupId> | |
| <artifactId>geronimo-spec-jta</artifactId> | |
| <version>1.0-M1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <!--dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-annotations</artifactId> | |
| <version>3.5.6-Final</version> | |
| <scope>provided</scope> | |
| </dependency--> | |
| <dependency> | |
| <groupId>mysql</groupId> | |
| <artifactId>mysql-connector-java</artifactId> | |
| <version>5.1.28</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| <version>2.0.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tapestry</groupId> | |
| <artifactId>tapestry-upload</artifactId> | |
| <version>${tapestry-release-version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| <version>1.1.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.sf.opencsv</groupId> | |
| <artifactId>opencsv</artifactId> | |
| <version>1.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.chenillekit</groupId> | |
| <artifactId>chenillekit-tapestry</artifactId> | |
| <version>1.3.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>xstream</groupId> | |
| <artifactId>xstream</artifactId> | |
| <version>1.2.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-web</artifactId> | |
| <version>${spring-version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-jdbc</artifactId> | |
| <version>${spring-version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-configuration</groupId> | |
| <artifactId>commons-configuration</artifactId> | |
| <version>1.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.quartz-scheduler</groupId> | |
| <artifactId>quartz</artifactId> | |
| <version>2.1.7</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>dashboard</finalName> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-scm-plugin</artifactId> | |
| <version>1.9</version> | |
| <configuration> | |
| <tag>${project.version}</tag> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>1.6</source> | |
| <target>1.6</target> | |
| <optimize>true</optimize> | |
| </configuration> | |
| </plugin> | |
| <!-- Run the application using "mvn jetty:run" --> | |
| <plugin> | |
| <groupId>org.mortbay.jetty</groupId> | |
| <artifactId>maven-jetty-plugin</artifactId> | |
| <version>6.1.16</version> | |
| <configuration> | |
| <systemProperties> | |
| <!-- | |
| <systemProperty> | |
| <name>dashboard.config.file</name> | |
| <value>/Users/jbush/Dev/projects/dashboard/src/main/resources/dashboard.cfg.properties</value> | |
| </systemProperty>--> | |
| <systemProperty> | |
| <name>log4j.configuration</name> | |
| <value>dashboard.cfg.properties</value> | |
| </systemProperty> | |
| <!-- | |
| <systemProperty> | |
| <name>log4j.configuration</name> | |
| <value>file:/Users/jbush/Dev/projects/dashboard/src/main/resources/dashboard.cfg.properties</value> | |
| </systemProperty> | |
| <systemProperty> | |
| <name>log4j.debug</name> | |
| <value>true</value> | |
| </systemProperty> | |
| --> | |
| </systemProperties> | |
| <!-- Log to the console. --> | |
| <requestLog implementation="org.mortbay.jetty.NCSARequestLog"> | |
| <!-- This doesn't do anything for Jetty, but is a workaround for a Maven bug | |
| that prevents the requestLog from being set. --> | |
| <append>true</append> | |
| </requestLog> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.tomcat.maven</groupId> | |
| <artifactId>tomcat7-maven-plugin</artifactId> | |
| <version>2.0-SNAPSHOT</version> | |
| <configuration> | |
| <!-- http port --> | |
| <port>9999</port> | |
| <!-- | |
| <additionalClasspathDirs> | |
| <additionalClasspathDir>${project.build.directory}/${project.build.finalName}/</additionalClasspathDir> | |
| </additionalClasspathDirs> | |
| --> | |
| <systemProperties> | |
| <log4j.configuration>dashboard.cfg.properties</log4j.configuration> | |
| </systemProperties> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>tomcat-run</id> | |
| <goals> | |
| <goal>exec-war-only</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <systemProperties> | |
| <log4j.configuration>dashboard.cfg.properties</log4j.configuration> | |
| </systemProperties> | |
| <!-- optional only if you want to use a preconfigured server.xml file --> | |
| <!-- <serverXml>src/main/tomcatconf/server.xml</serverXml> --> | |
| <!-- optional values which can be configurable --> | |
| <attachArtifactClassifier>exec-war</attachArtifactClassifier> | |
| <attachArtifactClassifierType>jar</attachArtifactClassifierType> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| <extensions> | |
| <extension> | |
| <groupId>org.springframework.build</groupId> | |
| <artifactId>aws-maven</artifactId> | |
| <version>5.0.0.RELEASE</version> | |
| </extension> | |
| </extensions> | |
| </build> | |
| <reporting> | |
| <!-- Adds a report detailing the components, mixins and base classes defined by this module. --> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.tapestry</groupId> | |
| <artifactId>tapestry-component-report</artifactId> | |
| <version>${tapestry-release-version}</version> | |
| <configuration> | |
| <rootPackage>com.rsmart.dashboard</rootPackage> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </reporting> | |
| <repositories> | |
| <repository> | |
| <id>repo1.maven.org</id> | |
| <url>http://repo1.maven.org/maven2/</url> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| </repository> | |
| <repository> | |
| <id>chenillekit</id> | |
| <url>http://www.chenillekit.org/mvnrepo/release</url> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| </repository> | |
| <repository> | |
| <id>chenillekit snapshots</id> | |
| <url>http://www.chenillekit.org/mvnrepo/snapshot</url> | |
| <snapshots> | |
| <enabled>true</enabled> | |
| </snapshots> | |
| </repository> | |
| <!-- This repository is only needed when the tapestry-release-version is a snapshot release. --> | |
| <repository> | |
| <id>apache-snapshots</id> | |
| <url>http://repository.apache.org/snapshots/</url> | |
| </repository> | |
| <repository> | |
| <id>devlab722-repo</id> | |
| <url>http://nexus.devlab722.net/nexus/content/repositories/releases | |
| </url> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| </repository> | |
| <repository> | |
| <id>devlab722-snapshot-repo</id> | |
| <url>http://nexus.devlab722.net/nexus/content/repositories/snapshots | |
| </url> | |
| <releases> | |
| <enabled>false</enabled> | |
| </releases> | |
| </repository> | |
| <repository> | |
| <id>ani-maven-s3-release-repo</id> | |
| <name>S3 Release Repository</name> | |
| <url>s3://ani-maven-repo/release</url> | |
| <releases> | |
| <enabled>true</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| </repository> | |
| <repository> | |
| <id>ani-maven-s3-snapshot-repo</id> | |
| <name>S3 Snapshot Repository</name> | |
| <url>s3://ani-maven-repo/snapshot</url> | |
| <releases> | |
| <enabled>false</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>true</enabled> | |
| </snapshots> | |
| </repository> | |
| </repositories> | |
| <pluginRepositories> | |
| <!-- As above, this can be commented out when access to the snapshot version of a Tapestry Maven plugin is not required. --> | |
| <pluginRepository> | |
| <id>apache-snapshots</id> | |
| <url>http://repository.apache.org/snapshots/</url> | |
| </pluginRepository> | |
| </pluginRepositories> | |
| <properties> | |
| <cxf.version>2.4.2</cxf.version> | |
| <tapestry-release-version>5.3.3</tapestry-release-version> | |
| <hibernate-core-version>3.6.7.Final</hibernate-core-version> | |
| <spring-version>3.1.0.RELEASE</spring-version> | |
| <spring-release-version>3.1.0.RELEASE</spring-release-version> | |
| </properties> | |
| <scm> | |
| <connection>scm:git:git@github.com:asahinet/dashboard.git</connection> | |
| <developerConnection>scm:git:git@github.com:asahinet/dashboard.git</developerConnection> | |
| </scm> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment