---
title: "POM.xml 3"
author: "flon"
date: "2014-09-24T15:39:00Z"
tags: []
slug: "pom-xml-3"
draft: false
lastmod: "2014-10-31T13:42:09Z"
id: 2150081
url: "https://flon.iteye.com/blog/2150081"
---

&lt;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"&gt;

&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

&lt;groupId&gt;com.ebuy&lt;/groupId&gt;

&lt;artifactId&gt;com.ebuy&lt;/artifactId&gt;

&lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;

&lt;name&gt;ebuy\_v1&lt;/name&gt;

&lt;description&gt;ebuy\_v1&lt;/description&gt;

&lt;properties&gt;

&lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;

&lt;!-- Shared version number properties --&gt;

&lt;org.springframework.version&gt;3.1.0.RELEASE&lt;/org.springframework.version&gt;

&lt;/properties&gt;

&lt;url&gt;http://maven.apache.org&lt;/url&gt;

&lt;dependencies&gt;

&lt;dependency&gt;

&lt;groupId&gt;junit&lt;/groupId&gt;

&lt;artifactId&gt;junit&lt;/artifactId&gt;

&lt;version&gt;3.8.1&lt;/version&gt;

&lt;scope&gt;test&lt;/scope&gt;

&lt;/dependency&gt;

&lt;dependency&gt;

&lt;groupId&gt;javax&lt;/groupId&gt;

&lt;artifactId&gt;javaee-web-api&lt;/artifactId&gt;

&lt;version&gt;6.0&lt;/version&gt;

&lt;scope&gt;provided&lt;/scope&gt;

&lt;/dependency&gt;

&lt;!-- Spring3.1.0配置开始 --&gt;

&lt;!--

Core utilities used by other modules,

Define this if you use Spring Utility APIs(org.springframework.core.\*/org.springframework.util.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-core&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Expression Language(depends on spring-core)

Define this if you use Spring Expression APIs(org.springframework.expression.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-expression&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Aspect Oriented Programing(AOP) Framework (depends on spring-core,spring-beans)

Define this if you use Spring AOP APIs(org.springframework.aop.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-aop&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Application Context (depends on spring-core, spring-expression, spring-aop, spring-beans)

This is the central artifact for Spring's Dependency Injection Container and is generally always defined

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-context&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Various Application Context utilities, including EhCache, JavaMail, Quartz, andFreemarker integration

Define this if you need any of these integrations

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-context-support&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Transaction Management Abstraction(depends on spring-core,spring-beans,spring-aop,spring-context)

Define this if you use Spring Transactions or DAO Exception Hierarchy

(org.springframework.transaction.* /org.springframework.dao.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-tx&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

JDBC Data Access Library (depends on spring-core, spring-beans, spring-context, spring-tx)

Define this if you use Spring's JdbcTemplate API (org.springframework.jdbc.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Object-to-Relation-Mapping (ORM) integration with Hibernate, JPA, and iBatis.

(depends on spring-core, spring-beans, spring-context, spring-tx)

Define this if you need ORM (org.springframework.orm.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-orm&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Object-to-XML Mapping (OXM) abstraction and integration with JAXB, JiBX,Castor, XStream, and XML Beans.

(depends on spring-core, spring-beans, spring-context)

Define this if you need OXM (org.springframework.oxm.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-oxm&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Web application development utilities applicable to both Servlet and Portlet Environments

(depends on spring-core, spring-beans, spring-context)

Define this if you use Spring MVC, or wish to use Struts, JSF, or another web framework with Spring (org.springframework.web.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-web&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Spring MVC for Servlet Environments (depends on spring-core, spring-beans, spring-context, spring-web)

Define this if you use Spring MVC with a Servlet Container such as ApacheTomcat (org.springframework.web.servlet.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Spring MVC for Portlet Environments (depends on spring-core, spring-beans, spring-context, spring-web)

Define this if you use Spring MVC with a Portlet Container (org.springframework.web.portlet.\*)

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-webmvc-portlet&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;/dependency&gt;

&lt;!--

Support for testing Spring applications with tools such as JUnit and TestNG

This artifact is generally always defined with a 'test' scope for the integration testing framework and unit testing stubs

--&gt;

&lt;dependency&gt;

&lt;groupId&gt;org.springframework&lt;/groupId&gt;

&lt;artifactId&gt;spring-test&lt;/artifactId&gt;

&lt;version&gt;${org.springframework.version}&lt;/version&gt;

&lt;scope&gt;test&lt;/scope&gt;

&lt;/dependency&gt;

&lt;!-- Spring3.05配置结束 --&gt;

&lt;/dependencies&gt;

&lt;/project&gt;