forked from tebolicious/ssc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
202 lines (202 loc) · 8.58 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<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>io.pivotal.education.core-spring</groupId>
<artifactId>parentCoreSpringProject</artifactId>
<version>4.3.b.RELEASE</version>
<packaging>pom</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.0.RELEASE</version>
</parent>
<properties>
<!-- Override some defaults from Spring Boot. -->
<java.version>1.8</java.version>
<hibernate.version>4.3.11.Final</hibernate.version>
<!-- Versions of other dependencies not in spring IO. -->
<easymock.version>3.1</easymock.version>
<hibernate.jmx.version>3.5.6-Final</hibernate.jmx.version>
<jamon.version>2.81</jamon.version>
<!-- Enable maven support for Servlet 3 - no web.xml -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<dependencies>
<!-- Although we are not using Spring Boot until Day 3, we do use SpringApplication
which is a Spring Boot class. The starters are also a convenient way of pulling
in the most common Spring and Testing dependencies. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Needed for the Spring jdbc namespace -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<!-- Database -->
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
</dependency>
</dependencies>
<!-- Dependencies we may need, and their versions -->
<dependencyManagement>
<dependencies>
<!-- Course specific -->
<dependency>
<groupId>io.pivotal.education.core-spring</groupId>
<artifactId>rewards-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.pivotal.education.core-spring</groupId>
<artifactId>rewards-db</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Spring Cloud -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Brixton.SR4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Other -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jmx</artifactId>
<version>${hibernate.jmx.version}</version>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>${easymock.version}</version>
</dependency>
<dependency>
<groupId>com.jamonapi</groupId>
<artifactId>jamon</artifactId>
<version>${jamon.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!-- Ensure resources are exported correctly - conflict with Spring Boot -->
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<!-- Set Java version -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<!-- Set Project Natures -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<wtpversion>2.0</wtpversion>
<sourceIncludes>
<sourceInclude>**/*.*</sourceInclude>
</sourceIncludes>
<!-- All of them are listed manually to solve a limitation of the mvn
eclipse plugin (https://issuetracker.springsource.com/browse/STS-2938). This
might cause some issues when migrating to the next version of Eclipse/STS)
also see spring-intro/pom.xml (projectnatures defined explicitely there as
well) -->
<projectnatures>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
<projectnature>org.eclipse.jdt.core.javanature</projectnature>
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
<projectnature>org.eclipse.jem.workbench.JavaEMFNature</projectnature>
</projectnatures>
<additionalBuildcommands>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
</additionalBuildcommands>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
</configuration>
</plugin>
<!-- Ensure resources are handled correctly -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
</plugins>
</build>
<modules>
<!--
// DO NOT MODIFY THESE MODULE ELEMENTS - GENERATED AUTOMATICALLY
-->
<!-- Section: intro -->
<module>rewards-common</module>
<module>rewards-db</module>
<!-- Section: main -->
<!-- Day 1 -->
<module>spring-intro</module>
<module>spring-intro-solution</module>
<module>javaconfig-dependency-injection</module>
<module>javaconfig-dependency-injection-solution</module>
<module>annotations</module>
<module>annotations-solution</module>
<module>xml-di</module>
<module>xml-di-solution</module>
<module>test</module>
<module>test-solution</module>
<module>aop</module>
<module>aop-solution</module>
<module>jdbc</module>
<module>jdbc-solution</module>
<!-- Day 3 -->
<module>tx</module>
<module>tx-solution</module>
<module>jpa-spring-data</module>
<module>jpa-spring-data-solution</module>
<module>mvc</module>
<module>mvc-solution</module>
<module>spring-boot-start</module>
<module>spring-boot-solution</module>
<module>security</module>
<module>security-solution</module>
<module>rest-ws</module>
<module>rest-ws-solution</module>
<module>ms-discovery-server</module>
<module>ms-discovery-server-solution</module>
<module>ms-accounts-server</module>
<module>ms-accounts-server-solution</module>
<module>ms-web-client</module>
<module>ms-web-client-solution</module>
<!-- Section: optional -->
<module>xml-dependency-injection-best-practices</module>
<module>xml-dependency-injection-best-practices-solution</module>
<module>jms</module>
<module>jms-solution</module>
<module>jmx</module>
<module>jmx-solution</module>
<!-- Section: appendix -->
</modules>
</project>