You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
3.3 KiB
124 lines
3.3 KiB
<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> |
|
<parent> |
|
<groupId>org.springframework.bootstrap</groupId> |
|
<artifactId>spring-bootstrap-samples</artifactId> |
|
<version>0.0.1-SNAPSHOT</version> |
|
</parent> |
|
<artifactId>spring-bootstrap-trad-sample</artifactId> |
|
<name>spring-bootstrap-trad-sample</name> |
|
<packaging>war</packaging> |
|
|
|
<properties> |
|
<m2eclipse.wtp.contextRoot>/</m2eclipse.wtp.contextRoot> |
|
<main.basedir>${project.basedir}/../..</main.basedir> |
|
</properties> |
|
|
|
<profiles> |
|
<profile> |
|
<id>tomcat</id> |
|
<activation> |
|
<activeByDefault>true</activeByDefault> |
|
</activation> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.apache.tomcat.embed</groupId> |
|
<artifactId>tomcat-embed-core</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.tomcat.embed</groupId> |
|
<artifactId>tomcat-embed-logging-juli</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.tomcat.embed</groupId> |
|
<artifactId>tomcat-embed-jasper</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
</dependencies> |
|
</profile> |
|
<profile> |
|
<id>jetty</id> |
|
<activation> |
|
<activeByDefault>false</activeByDefault> |
|
</activation> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.eclipse.jetty</groupId> |
|
<artifactId>jetty-webapp</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>javax.servlet</groupId> |
|
<artifactId>javax.servlet-api</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.jetty</groupId> |
|
<artifactId>jetty-jsp</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
</dependencies> |
|
</profile> |
|
</profiles> |
|
|
|
<dependencies> |
|
<!-- Spring Framework --> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-context</artifactId> |
|
<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> |
|
</dependency> |
|
|
|
<!-- CGLIB, required for @Configuration usage --> |
|
<dependency> |
|
<groupId>cglib</groupId> |
|
<artifactId>cglib-nodep</artifactId> |
|
<version>2.2</version> |
|
</dependency> |
|
|
|
<!-- Logging --> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-api</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>jcl-over-slf4j</artifactId> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-log4j12</artifactId> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>log4j</groupId> |
|
<artifactId>log4j</artifactId> |
|
<scope>runtime</scope> |
|
</dependency> |
|
|
|
<!-- Servlet API --> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-bootstrap</artifactId> |
|
<version>${project.version}</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
</project> |
|
|
|
|