forked from springinpractice/sip02
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
90 lines (80 loc) · 2.65 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.springinpractice</groupId>
<artifactId>com.springinpractice.top</artifactId>
<version>1.0-RELEASE</version>
</parent>
<artifactId>com.springinpractice.02_06</artifactId>
<packaging>war</packaging>
<name>Spring in Practice Section 2.6</name>
<description>Shows how to use Spring Data JPA for your data access layer.</description>
<url>http://springinpractice.com/</url>
<properties>
<chapter.number>02</chapter.number>
<chapter.conf.dir>${sip.conf.dir}/sip${chapter.number}</chapter.conf.dir>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>com.springinpractice.api</artifactId>
<version>1.0-RELEASE</version>
</dependency>
<dependency>
<groupId>com.springinpractice</groupId>
<artifactId>com.springinpractice.deps-hibernate</artifactId>
<version>1.0-RELEASE</version>
<type>pom</type>
<optional>true</optional>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>com.springinpractice.deps-web</artifactId>
<version>1.0-RELEASE</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>com.springinpractice.skin</artifactId>
<version>1.0-RELEASE</version>
<type>war</type>
</dependency>
<!-- Spring Data JPA -->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
</dependency>
<!-- Need this to use Hibernate as a JPA persistence provider -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
</dependency>
<!-- For JDBC -->
<dependency>
<groupId>com.mysql.jdbc</groupId>
<artifactId>com.springsource.com.mysql.jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<jettyEnvXml>${chapter.conf.dir}/jetty-env.xml</jettyEnvXml>
</configuration>
</plugin>
</plugins>
</build>
</project>