67 lines
2.2 KiB
XML
67 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
|
|
<groupId>springmvc-rest-helloworld</groupId>
|
|
<artifactId>springmvc-rest-helloworld</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<dependencies>
|
|
|
|
<!-- servlet 3 -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.0.1</version>
|
|
</dependency>
|
|
|
|
<!--spring context -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>4.0.0.RELEASE</version>
|
|
</dependency>
|
|
|
|
<!--spring webmvc -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>4.0.0.RELEASE</version>
|
|
</dependency>
|
|
|
|
<!--jackson -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.2.3</version>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<finalName>springmvc</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>8.1.8.v20121106</version>
|
|
<configuration>
|
|
<reload>manual</reload>
|
|
<webAppConfig>
|
|
<contextPath>/${project.build.finalName}</contextPath>
|
|
</webAppConfig>
|
|
<connectors>
|
|
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
|
|
<port>9080</port>
|
|
<!--<maxIdleTime>60000</maxIdleTime>-->
|
|
</connector>
|
|
</connectors>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |