2017-05-12 14:32:54 -04:00
|
|
|
<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.baeldung</groupId>
|
|
|
|
<artifactId>spring-jpa</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<name>spring-jpa</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- Spring -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-orm</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<!-- persistence -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-ehcache</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
<version>${xml-apis.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<version>${javassist.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>${mysql-connector-java.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
|
|
<version>${spring-data-jpa.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- validation -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<version>${hibernate-validator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.el</groupId>
|
|
|
|
<artifactId>javax.el-api</artifactId>
|
|
|
|
<version>${javax.el-api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- web -->
|
2016-09-26 08:01:52 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>${javax.servlet.jstl.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>${javax.servlet.servlet-api.version}</version>
|
|
|
|
</dependency>
|
2015-07-23 09:54:23 -04:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<!-- utils -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test scoped -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>spring-jpa</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<warSourceDirectory>src/main/webapp</warSourceDirectory>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Spring -->
|
2017-05-15 03:38:06 -04:00
|
|
|
<org.springframework.version>4.3.8.RELEASE</org.springframework.version>
|
2017-05-12 14:32:54 -04:00
|
|
|
<javassist.version>3.21.0-GA</javassist.version>
|
|
|
|
|
|
|
|
<!-- persistence -->
|
2017-05-15 03:38:06 -04:00
|
|
|
<hibernate.version>5.2.10.Final</hibernate.version>
|
|
|
|
<mysql-connector-java.version>6.0.6</mysql-connector-java.version>
|
|
|
|
<spring-data-jpa.version>1.11.3.RELEASE</spring-data-jpa.version>
|
|
|
|
<h2.version>1.4.195</h2.version>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
<!-- web -->
|
|
|
|
<javax.servlet.jstl.version>1.2</javax.servlet.jstl.version>
|
|
|
|
<javax.servlet.servlet-api.version>2.5</javax.servlet.servlet-api.version>
|
|
|
|
|
|
|
|
<!-- various -->
|
2017-05-15 03:38:06 -04:00
|
|
|
<hibernate-validator.version>5.4.1.Final</hibernate-validator.version>
|
2017-05-12 14:32:54 -04:00
|
|
|
<xml-apis.version>1.4.01</xml-apis.version>
|
|
|
|
<javax.el-api.version>2.2.5</javax.el-api.version>
|
|
|
|
|
|
|
|
<!-- util -->
|
2017-05-15 03:38:06 -04:00
|
|
|
<guava.version>21.0</guava.version>
|
2017-05-12 14:32:54 -04:00
|
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
|
|
|
|
|
|
|
<httpcore.version>4.4.5</httpcore.version>
|
|
|
|
<httpclient.version>4.5.2</httpclient.version>
|
|
|
|
|
|
|
|
<rest-assured.version>2.9.0</rest-assured.version>
|
|
|
|
|
|
|
|
<!-- maven plugins -->
|
|
|
|
<maven-resources-plugin.version>2.7</maven-resources-plugin.version>
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
|
|
|
|
|
|
</properties>
|
2013-05-18 06:08:43 -04:00
|
|
|
|
|
|
|
</project>
|