Created
May 22, 2016 14:46
-
-
Save amencke/15170e3d903c235ee96721dc645da58c to your computer and use it in GitHub Desktop.
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
<?xml version="1.0"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<artifactId>gameoflife</artifactId> | |
<groupId>com.wakaleo.gameoflife</groupId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<groupId>com.wakaleo.gameoflife</groupId> | |
<artifactId>gameoflife-web</artifactId> | |
<packaging>war</packaging> | |
<name>gameoflife-web</name> | |
<properties> | |
<jetty.port>9090</jetty.port> | |
<jetty.stop.port>9999</jetty.stop.port> | |
</properties> | |
<build> | |
<finalName>gameoflife</finalName> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
<filtering>true</filtering> | |
</resource> | |
</resources> | |
<plugins> | |
<!-- cargo plugin setup --> | |
<plugin> | |
<groupId>org.codehaus.cargo</groupId> | |
<artifactId>cargo-maven2-plugin</artifactId> | |
<configuration> | |
<container> | |
<containerId>tomcat8x</containerId> | |
<zipUrlInstaller> | |
<url>http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/8.0.33/tomcat-8.0.33.zip</url> | |
<downloadDir>${project.build.directory}/downloads</downloadDir> | |
<extractDir>${project.build.directory}/extracts</extractDir> | |
</zipUrlInstaller> | |
</container> | |
<configuration> | |
<type>existing</type> | |
<properties></properties> | |
</configuration> | |
<!-- Deployables configuration --> | |
<deployables> | |
<deployable> | |
<groupId>com.wakaleo.gameoflife</groupId> | |
<artifactId>gameoflife-web</artifactId> | |
<packaging>war</packaging> | |
</deployable> | |
</deployables> | |
</configuration> | |
</plugin> | |
<!-- end of cargo plugin setup --> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>7.1.0.v20100505</version> | |
<configuration> | |
<scanIntervalSeconds>10</scanIntervalSeconds> | |
<connectors> | |
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> | |
<port>${jetty.port}</port> | |
<maxIdleTime>60000</maxIdleTime> | |
</connector> | |
</connectors> | |
<stopKey>foo</stopKey> | |
<stopPort>${jetty.stop.port}</stopPort> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1.1</version> | |
<configuration> | |
<manifest> | |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |
</manifest> | |
<archive> | |
<manifestEntries> | |
<Specification-Title>${project.name}</Specification-Title> | |
<Specification-Version>${project.version}</Specification-Version> | |
<Implementation-Version>${BUILD_TAG}</Implementation-Version> | |
</manifestEntries> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>net.thucydides.maven.plugins</groupId> | |
<artifactId>maven-thucydides-plugin</artifactId> | |
<version>${thucydides.version}</version> | |
<executions> | |
<execution> | |
<id>thucydides-reports</id> | |
<phase>post-integration-test</phase> | |
<goals> | |
<goal>aggregate</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<!-- Deprecated: needs to be migrated to the webtests module. --> | |
<profile> | |
<id>performance</id> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.4</version> | |
<executions> | |
<execution> | |
<id>run-jmeter</id> | |
<phase>integration-test</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
<configuration> | |
<tasks> | |
<echo message="Starting JMeter tests" /> | |
<ant antfile="build.xml" target="jmeter" /> | |
<echo message="JMeter tests done" /> | |
</tasks> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
<profile> | |
<id>acceptance</id> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.9</version> | |
<configuration> | |
<skip>true</skip> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
<dependencies> | |
<dependency> | |
<groupId>com.wakaleo.gameoflife</groupId> | |
<artifactId>gameoflife-core</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-webmvc</artifactId> | |
<version>3.0.2.RELEASE</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-core</artifactId> | |
<version>3.0.2.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
<version>3.0.2.RELEASE</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>jstl</artifactId> | |
<version>1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>servlet-api</artifactId> | |
<version>2.5</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-all</artifactId> | |
<version>1.8.5</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.easytesting</groupId> | |
<artifactId>fest-assert</artifactId> | |
<version>1.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-simple</artifactId> | |
<version>1.6.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>1.6.1</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment