Skip to content

Commit 9731d7a

Browse files
author
eugenp
committed
minor maven cleanup
1 parent 30cfa30 commit 9731d7a

2 files changed

Lines changed: 55 additions & 51 deletions

File tree

‎common/pom.xml‎

Lines changed: 52 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<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">
32
<modelVersion>4.0.0</modelVersion>
43
<artifactId>rest-common</artifactId>
54
<name>rest-common</name>
@@ -114,6 +113,7 @@
114113
</exclusion>
115114
</exclusions>
116115
</dependency>
116+
117117
<dependency>
118118
<groupId>org.springframework</groupId>
119119
<artifactId>spring-tx</artifactId>
@@ -134,19 +134,6 @@
134134
<scope>provided</scope>
135135
</dependency>
136136

137-
<!-- validation -->
138-
139-
<dependency>
140-
<groupId>javax.validation</groupId>
141-
<artifactId>validation-api</artifactId>
142-
<version>${validation-api.version}</version>
143-
</dependency>
144-
<dependency>
145-
<groupId>org.hibernate</groupId>
146-
<artifactId>hibernate-validator</artifactId>
147-
<version>${hibernate-validator.version}</version>
148-
</dependency>
149-
150137
<!-- security -->
151138

152139
<dependency>
@@ -160,6 +147,19 @@
160147
<version>${spring-security.version}</version>
161148
</dependency>
162149

150+
<!-- validation -->
151+
152+
<dependency>
153+
<groupId>javax.validation</groupId>
154+
<artifactId>validation-api</artifactId>
155+
<version>${validation-api.version}</version>
156+
</dependency>
157+
<dependency>
158+
<groupId>org.hibernate</groupId>
159+
<artifactId>hibernate-validator</artifactId>
160+
<version>${hibernate-validator.version}</version>
161+
</dependency>
162+
163163
<!-- marshalling -->
164164

165165
<dependency>
@@ -168,6 +168,12 @@
168168
<version>${jackson.version}</version>
169169
</dependency>
170170

171+
<dependency>
172+
<groupId>com.thoughtworks.xstream</groupId>
173+
<artifactId>xstream</artifactId>
174+
<version>${xstream.version}</version>
175+
</dependency>
176+
171177
<!-- persistence -->
172178

173179
<dependency>
@@ -191,7 +197,7 @@
191197
<artifactId>hibernate-entitymanager</artifactId>
192198
<version>${hibernate.version}</version>
193199
</dependency>
194-
200+
195201
<!-- proxying -->
196202

197203
<dependency>
@@ -206,7 +212,36 @@
206212
<version>${aspectjweaver.version}</version>
207213
<scope>runtime</scope>
208214
</dependency>
215+
216+
<!-- persistence - providers -->
217+
218+
<dependency>
219+
<groupId>com.h2database</groupId>
220+
<artifactId>h2</artifactId>
221+
<version>${h2.version}</version>
222+
</dependency>
209223

224+
<dependency>
225+
<groupId>mysql</groupId>
226+
<artifactId>mysql-connector-java</artifactId>
227+
<version>${mysql-connector-java.version}</version>
228+
<scope>runtime</scope>
229+
</dependency>
230+
231+
<dependency>
232+
<groupId>org.hsqldb</groupId>
233+
<artifactId>hsqldb</artifactId>
234+
<version>${hsqldb.version}</version>
235+
</dependency>
236+
237+
<!-- persistence - JPA 2 metamodel -->
238+
239+
<dependency>
240+
<groupId>org.hibernate</groupId>
241+
<artifactId>hibernate-jpamodelgen</artifactId>
242+
<version>1.2.0.Final</version>
243+
</dependency>
244+
210245
<!-- logging -->
211246

212247
<dependency>
@@ -218,7 +253,7 @@
218253
<groupId>ch.qos.logback</groupId>
219254
<artifactId>logback-classic</artifactId>
220255
<version>${logback.version}</version>
221-
<scope>runtime</scope>
256+
<!-- <scope>runtime</scope> -->
222257
</dependency>
223258
<dependency>
224259
<groupId>org.slf4j</groupId>

‎sec/pom.xml‎

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -50,35 +50,6 @@
5050
<scope>provided</scope>
5151
</dependency>
5252

53-
<!-- persistence - providers -->
54-
55-
<dependency>
56-
<groupId>com.h2database</groupId>
57-
<artifactId>h2</artifactId>
58-
<version>${h2.version}</version>
59-
</dependency>
60-
61-
<dependency>
62-
<groupId>mysql</groupId>
63-
<artifactId>mysql-connector-java</artifactId>
64-
<version>${mysql-connector-java.version}</version>
65-
<scope>runtime</scope>
66-
</dependency>
67-
68-
<dependency>
69-
<groupId>org.hsqldb</groupId>
70-
<artifactId>hsqldb</artifactId>
71-
<version>${hsqldb.version}</version>
72-
</dependency>
73-
74-
<!-- persistence - JPA 2 metamodel -->
75-
76-
<dependency>
77-
<groupId>org.hibernate</groupId>
78-
<artifactId>hibernate-jpamodelgen</artifactId>
79-
<version>${hibernate-jpamodelgen.version}</version>
80-
</dependency>
81-
8253
<!-- test scoped -->
8354

8455
<dependency>
@@ -202,7 +173,7 @@
202173
</plugin>
203174

204175
</plugins>
205-
176+
206177
</build>
207178

208179
<profiles>
@@ -250,7 +221,6 @@
250221
<include>**/*RestLiveTest.java</include>
251222
</includes>
252223
<systemPropertyVariables>
253-
<spring.profiles.active>client,mime_json</spring.profiles.active> <!-- should be removed -->
254224
<webTarget>cargo</webTarget>
255225
</systemPropertyVariables>
256226
</configuration>
@@ -284,13 +254,12 @@
284254
<configuration>
285255
<excludes>
286256
<exclude>**/*ProductionRestLiveTest.java</exclude>
257+
<exclude>**/*ManualTest.java</exclude>
287258
</excludes>
288259
<includes>
289260
<include>**/*ReadOnly*LiveTest.java</include>
290261
</includes>
291-
<!-- <systemPropertyVariables>
292-
<secWebTarget>smoke_staging</secWebTarget>
293-
</systemPropertyVariables> -->
262+
<!-- <systemPropertyVariables> <secWebTarget>smoke_staging</secWebTarget> </systemPropertyVariables> -->
294263
</configuration>
295264
</execution>
296265
</executions>

0 commit comments

Comments
 (0)