224 lines
5.7 KiB
XML
224 lines
5.7 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>
|
|
|
|
<groupId>org.mvn.spring-data-jpa-example</groupId>
|
|
<artifactId>spring-data-jpa-example</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-data-jpa-example</name>
|
|
<url>http://maven.apache.org</url>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>fengjing</id>
|
|
<name>Feng Jing</name>
|
|
<email>184675420@qq.com</email>
|
|
<url>http://blog.csdn.net</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<spring.version>3.1.1.RELEASE</spring.version>
|
|
<jpa.version>2.0.0</jpa.version>
|
|
<junit.version>4.8</junit.version>
|
|
<hibernate.version>4.1.4.Final</hibernate.version>
|
|
<slf4j.version>1.6.6</slf4j.version>
|
|
<aspectj.version>1.6.12</aspectj.version>
|
|
<jodatime.version>2.1</jodatime.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>nexus-releases</id>
|
|
<name>Nexus Releases Repository</name>
|
|
<url>http://localhost:8081/nexus/content/repositories/releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>nexus-snapshots</id>
|
|
<name>Nexus Snapshots Repository</name>
|
|
<url>http://localhost:8081/nexus/content/repositories/snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
<artifactId>jsp-api</artifactId>
|
|
<version>2.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
<version>1.1.0.RELEASE</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>spring-beans</artifactId>
|
|
<groupId>org.springframework</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>spring-orm</artifactId>
|
|
<groupId>org.springframework</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>spring-core</artifactId>
|
|
<groupId>org.springframework</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>spring-tx</artifactId>
|
|
<groupId>org.springframework</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
|
<artifactId>hibernate-jpa-2.0-api</artifactId>
|
|
<version>1.0.0.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
<version>${hibernate.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- HSQL -->
|
|
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>${jodatime.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<version>${aspectj.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<version>2.2.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>5.1.21</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>p6spy</groupId>
|
|
<artifactId>p6spy</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4jdbc</groupId>
|
|
<artifactId>log4jdbc</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>spring-data-jpa-example</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.springsource.bundlor</groupId>
|
|
<artifactId>com.springsource.bundlor.maven</artifactId>
|
|
<version>1.0.0.RELEASE</version>
|
|
<configuration>
|
|
<failOnWarnings>true</failOnWarnings>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.10</version>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|