|
<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/maven-v4_0_0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<groupId>org.springframework.issues</groupId> |
|
<artifactId>SPR-99999</artifactId> |
|
<version>1.0-SNAPSHOT</version> |
|
<name>Spring MVC Issue Reproduction Project</name> |
|
<packaging>war</packaging> |
|
|
|
<properties> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
<java.version>1.6</java.version> |
|
<spring.version>4.1.6.RELEASE</spring.version> |
|
<slf4j.version>1.7.5</slf4j.version> |
|
|
|
<jetty.version>9.1.2.v20140210</jetty.version> |
|
<cargo.container.id>tomcat7x</cargo.container.id> |
|
<cargo.container.url> |
|
http://www.eu.apache.org/dist/tomcat/tomcat-7/v7.0.57/bin/apache-tomcat-7.0.57.zip |
|
</cargo.container.url> |
|
<cargo.container.jvmargs>-Xms96m -Xmx512m -Djava.awt.headless=true</cargo.container.jvmargs> |
|
<cargo.jvm.debug.port>8000</cargo.jvm.debug.port> |
|
</properties> |
|
|
|
<dependencies> |
|
<!-- Spring Framework --> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-context</artifactId> |
|
<version>${spring.version}</version> |
|
<exclusions> |
|
<!-- Exclude Commons Logging in favor of SLF4j --> |
|
<exclusion> |
|
<groupId>commons-logging</groupId> |
|
<artifactId>commons-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-webmvc</artifactId> |
|
<version>${spring.version}</version> |
|
</dependency> |
|
|
|
<!-- Logging --> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-api</artifactId> |
|
<version>${slf4j.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>jcl-over-slf4j</artifactId> |
|
<version>${slf4j.version}</version> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-log4j12</artifactId> |
|
<version>${slf4j.version}</version> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>log4j</groupId> |
|
<artifactId>log4j</artifactId> |
|
<version>1.2.17</version> |
|
<scope>runtime</scope> |
|
</dependency> |
|
|
|
<!-- Servlet API --> |
|
<dependency> |
|
<groupId>javax.servlet</groupId> |
|
<artifactId>servlet-api</artifactId> |
|
<version>2.5</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.thymeleaf</groupId> |
|
<artifactId>thymeleaf-spring4</artifactId> |
|
<version>2.1.4.RELEASE</version> |
|
</dependency> |
|
|
|
<!-- Test --> |
|
<dependency> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
<version>4.11</version> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>2.5.1</version> |
|
<configuration> |
|
<source>${java.version}</source> |
|
<target>${java.version}</target> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-dependency-plugin</artifactId> |
|
<version>2.8</version> |
|
<executions> |
|
<execution> |
|
<id>install</id> |
|
<phase>install</phase> |
|
<goals> |
|
<goal>sources</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-war-plugin</artifactId> |
|
<version>2.1.1</version> |
|
<configuration> |
|
<failOnMissingWebXml>false</failOnMissingWebXml> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-eclipse-plugin</artifactId> |
|
<version>2.8</version> |
|
<configuration> |
|
<downloadSources>true</downloadSources> |
|
<downloadJavadocs>false</downloadJavadocs> |
|
<wtpversion>2.0</wtpversion> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<version>2.12.4</version> |
|
<configuration> |
|
<includes> |
|
<include>**/*Tests.java</include> |
|
<include>**/*Test.java</include> |
|
</includes> |
|
<excludes> |
|
<exclude>**/*Abstract*.java</exclude> |
|
</excludes> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.eclipse.jetty</groupId> |
|
<artifactId>jetty-maven-plugin</artifactId> |
|
<version>${jetty.version}</version> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.codehaus.cargo</groupId> |
|
<artifactId>cargo-maven2-plugin</artifactId> |
|
<version>1.4.7</version> |
|
<configuration> |
|
<configuration> |
|
<properties> |
|
<cargo.servlet.port>8080</cargo.servlet.port> |
|
<cargo.tomcat.ajp.port>1099</cargo.tomcat.ajp.port> |
|
<cargo.rmi.port>1099</cargo.rmi.port> |
|
<cargo.logging>medium</cargo.logging> |
|
<cargo.jvmargs>${cargo.container.jvmargs}</cargo.jvmargs> |
|
</properties> |
|
</configuration> |
|
<deployables> |
|
<deployable> |
|
<properties> |
|
<context>ROOT</context> |
|
</properties> |
|
</deployable> |
|
</deployables> |
|
<container> |
|
<containerId>${cargo.container.id}</containerId> |
|
<zipUrlInstaller> |
|
<url>${cargo.container.url}</url> |
|
</zipUrlInstaller> |
|
</container> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<profiles> |
|
<profile> |
|
<id>tomcat8</id> |
|
<properties> |
|
<cargo.container.id>tomcat8x</cargo.container.id> |
|
<cargo.container.url> |
|
http://www.eu.apache.org/dist/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.zip |
|
</cargo.container.url> |
|
</properties> |
|
</profile> |
|
<profile> |
|
<id>jetty8</id> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.codehaus.cargo</groupId> |
|
<artifactId>cargo-maven2-plugin</artifactId> |
|
<configuration> |
|
<container> |
|
<containerId>jetty8x</containerId> |
|
<type>embedded</type> |
|
</container> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
<profile> |
|
<id>debug</id> |
|
<properties> |
|
<cargo.container.jvmargs> |
|
-Xdebug |
|
-Xrunjdwp:transport=dt_socket,address=${cargo.jvm.debug.port},suspend=n,server=y |
|
-Xnoagent |
|
-Djava.compiler=NONE |
|
</cargo.container.jvmargs> |
|
</properties> |
|
</profile> |
|
</profiles> |
|
|
|
<repositories> |
|
<repository> |
|
<id>spring-maven-snapshot</id> |
|
<name>Springframework Maven Snapshot Repository</name> |
|
<url>http://repo.spring.io/snapshot</url> |
|
<snapshots> |
|
<enabled>true</enabled> |
|
</snapshots> |
|
</repository> |
|
</repositories> |
|
|
|
</project> |
|
|