153 lines
4.3 KiB
XML
153 lines
4.3 KiB
XML
<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>maven-framework-project</artifactId>
|
|
<groupId>net.aimeizi</groupId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
|
|
<artifactId>spring3-jersey-restfull-example</artifactId>
|
|
<packaging>war</packaging>
|
|
<properties>
|
|
<spring.scope>compile</spring.scope>
|
|
<jersey.scope>compile</jersey.scope>
|
|
<spring.version>3.0.5.RELEASE</spring.version>
|
|
<jersey.version>1.0.1</jersey.version>
|
|
<selenium.version>2.0a7</selenium.version>
|
|
<junit.version>4.8.2</junit.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-core</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<scope>${jersey.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-server</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<scope>${jersey.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-json</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<scope>${jersey.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey.contribs</groupId>
|
|
<artifactId>jersey-spring</artifactId>
|
|
<version>${jersey.version}</version>
|
|
<scope>${jersey.scope}</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Spring dependencies -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-expression</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>${spring.scope}</scope>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium</artifactId>
|
|
<version>${selenium.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-server</artifactId>
|
|
<version>${selenium.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>9.2.1.v20140609</version>
|
|
<configuration>
|
|
<httpConnector>
|
|
<port>8080</port>
|
|
</httpConnector>
|
|
<webAppConfig>
|
|
<contextPath>/</contextPath>
|
|
</webAppConfig>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<artifactId>tomcat6-maven-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |