- <span style="font-size:14px;background-color: rgb(255, 255, 255);">
- <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>
- com.abigdreamer.ark
- </groupId>
- <artifactId>
- demo
- </artifactId>
- <version>
- 0.0.1-SNAPSHOT
- </version>
- <packaging>
- war
- </packaging>
- <name>
- data-permission
- </name>
- <url>
- http://maven.apache.org
- </url>
- <properties>
- <org.hibernate.version>
- 4.1.2
- </org.hibernate.version>
- <org.springframework-version>
- 4.0.3.RELEASE
- </org.springframework-version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>
- junit
- </groupId>
- <artifactId>
- junit
- </artifactId>
- <version>
- 4.10
- </version>
- <scope>
- test
- </scope>
- </dependency>
- <dependency>
- <groupId>
- cglib
- </groupId>
- <artifactId>
- cglib
- </artifactId>
- <version>
- 2.2.2
- </version>
- </dependency>
- <dependency>
- <groupId>
- log4j
- </groupId>
- <artifactId>
- log4j
- </artifactId>
- <version>
- 1.2.14
- </version>
- <scope>
- provided
- </scope>
- </dependency>
- <dependency>
- <groupId>
- mysql
- </groupId>
- <artifactId>
- mysql-connector-java
- </artifactId>
- <version>
- 5.1.21
- </version>
- </dependency>
- <!-- hibernate 4.3.0 start -->
- <dependency>
- <groupId>
- org.hibernate
- </groupId>
- <artifactId>
- hibernate-core
- </artifactId>
- <version>
- 4.3.0.Final
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.hibernate.javax.persistence
- </groupId>
- <artifactId>
- hibernate-jpa-2.0-api
- </artifactId>
- <version>
- 1.0.1.Final
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.hibernate
- </groupId>
- <artifactId>
- hibernate-ehcache
- </artifactId>
- <version>
- 4.3.0.Final
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.hibernate
- </groupId>
- <artifactId>
- hibernate-validator
- </artifactId>
- <version>
- 5.1.0.Alpha1
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.hibernate.common
- </groupId>
- <artifactId>
- hibernate-commons-annotations
- </artifactId>
- <version>
- 4.0.4.Final
- </version>
- </dependency>
- <!-- hibernate 4.3.0 end -->
- <!-- spring start -->
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-context
- </artifactId>
- <version>
- ${org.springframework-version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-webmvc
- </artifactId>
- <version>
- ${org.springframework-version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-orm
- </artifactId>
- <version>
- ${org.springframework-version}
- </version>
- <type>
- jar
- </type>
- <scope>
- compile
- </scope>
- </dependency>
- <!-- spring end -->
- <!-- servlet jsp -->
- <dependency>
- <groupId>
- javax.servlet
- </groupId>
- <artifactId>
- javax.servlet-api
- </artifactId>
- <version>
- 3.1.0
- </version>
- <scope>
- provided
- </scope>
- </dependency>
- <dependency>
- <groupId>
- javax.servlet.jsp
- </groupId>
- <artifactId>
- javax.servlet.jsp-api
- </artifactId>
- <version>
- 2.3.1
- </version>
- <scope>
- provided
- </scope>
- </dependency>
- <dependency>
- <groupId>
- jstl
- </groupId>
- <artifactId>
- jstl
- </artifactId>
- <version>
- 1.2
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.apache.commons
- </groupId>
- <artifactId>
- commons-dbcp2
- </artifactId>
- <version>
- 2.0
- </version>
- </dependency>
- <dependency>
- <groupId>
- commons-logging
- </groupId>
- <artifactId>
- commons-logging
- </artifactId>
- <version>
- 1.1.1
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-orm
- </artifactId>
- <version>
- ${org.springframework-version}
- </version>
- <type>
- jar
- </type>
- <scope>
- compile
- </scope>
- </dependency>
- <!-- struts2 -->
- <dependency>
- <groupId>
- org.apache.struts
- </groupId>
- <artifactId>
- struts2-core
- </artifactId>
- <version>
- 2.3.1.2
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.apache.struts
- </groupId>
- <artifactId>
- struts2-spring-plugin
- </artifactId>
- <version>
- 2.3.1.2
- </version>
- </dependency>
- <!-- struts2注解零配置依赖的包 -->
- <dependency>
- <groupId>
- org.apache.struts
- </groupId>
- <artifactId>
- struts2-convention-plugin
- </artifactId>
- <version>
- 2.3.1
- </version>
- </dependency>
- <!-- struts2标签 -->
- <dependency>
- <groupId>
- org.apache.struts
- </groupId>
- <artifactId>
- struts-taglib
- </artifactId>
- <version>
- 1.3.10
- </version>
- </dependency>
- </dependencies>
- </project>
- </span>
来源: http://lib.csdn.net/snippet/javaee/42003