a6e8a79f56e630fef06e8850012f879f0fa9eb4e
[so.git] / common / pom.xml
1 <?xml version="1.0" ?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.onap.so</groupId>
7     <artifactId>so</artifactId>
8     <version>1.9.0-SNAPSHOT</version>
9   </parent>
10   <artifactId>common</artifactId>
11   <name>common</name>
12   <description>MSO Common classes:- Logger</description>
13   <properties>
14     <grpc.version>1.25.0</grpc.version>
15     <protobuf.version>3.10.0</protobuf.version>
16     <grpc.netty.version>4.1.30.Final</grpc.netty.version>
17     <ccsdk.version>1.1.2</ccsdk.version>
18     <spring-cloud-sleuth.version>2.0.2.RELEASE</spring-cloud-sleuth.version>
19   </properties>
20   <dependencies>
21     <dependency>
22       <groupId>org.apache.httpcomponents</groupId>
23       <artifactId>httpclient</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.springframework</groupId>
27       <artifactId>spring-aspects</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.springframework.boot</groupId>
31       <artifactId>spring-boot-starter-security</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.springframework.boot</groupId>
35       <artifactId>spring-boot-starter-actuator</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>com.jayway.jsonpath</groupId>
39       <artifactId>json-path</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.hibernate</groupId>
43       <artifactId>hibernate-core</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.springframework</groupId>
47       <artifactId>spring-web</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.springframework</groupId>
51       <artifactId>spring-webmvc</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.modelmapper</groupId>
55       <artifactId>modelmapper</artifactId>
56       <version>2.3.2</version>
57     </dependency>
58     <dependency>
59       <groupId>org.apache.cxf</groupId>
60       <artifactId>cxf-rt-rs-client</artifactId>
61       <scope>test</scope>
62     </dependency>
63     <dependency>
64       <groupId>com.shazam</groupId>
65       <artifactId>shazamcrest</artifactId>
66       <version>0.11</version>
67       <scope>test</scope>
68       <exclusions>
69         <exclusion>
70           <groupId>com.google.guava</groupId>
71           <artifactId>guava</artifactId>
72         </exclusion>
73         <exclusion>
74           <groupId>org.apache.commons</groupId>
75           <artifactId>commons-lang3</artifactId>
76         </exclusion>
77       </exclusions>
78     </dependency>
79     <dependency>
80       <groupId>org.apache.tomcat</groupId>
81       <artifactId>tomcat-catalina</artifactId>
82       <version>9.0.30</version>
83     </dependency>
84     <dependency>
85       <groupId>org.slf4j</groupId>
86       <artifactId>slf4j-ext</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.slf4j</groupId>
90       <artifactId>slf4j-api</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.springframework.boot</groupId>
94       <artifactId>spring-boot-configuration-processor</artifactId>
95       <optional>true</optional>
96     </dependency>
97     <dependency>
98       <groupId>org.springframework.retry</groupId>
99       <artifactId>spring-retry</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>net.jodah</groupId>
103       <artifactId>failsafe</artifactId>
104       <version>2.0.1</version>
105     </dependency>
106     <dependency>
107       <groupId>org.springframework.security</groupId>
108       <artifactId>spring-security-web</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.mockito</groupId>
112       <artifactId>mockito-core</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.json</groupId>
116       <artifactId>json</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>org.springframework.boot</groupId>
120       <artifactId>spring-boot-starter-test</artifactId>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.onap.aaf.authz</groupId>
125       <artifactId>aaf-cadi-client</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.onap.aaf.authz</groupId>
129       <artifactId>aaf-cadi-aaf</artifactId>
130       <exclusions>
131         <exclusion>
132           <groupId>javax.servlet</groupId>
133           <artifactId>servlet-api</artifactId>
134         </exclusion>
135         <exclusion>
136           <groupId>log4j</groupId>
137           <artifactId>log4j</artifactId>
138         </exclusion>
139       </exclusions>
140     </dependency>
141     <dependency>
142       <groupId>org.onap.aaf.authz</groupId>
143       <artifactId>aaf-auth-client</artifactId>
144       <scope>runtime</scope>
145     </dependency>
146     <dependency>
147       <groupId>org.onap.aaf.authz</groupId>
148       <artifactId>aaf-misc-env</artifactId>
149       <scope>runtime</scope>
150     </dependency>
151     <dependency>
152       <groupId>org.onap.aaf.authz</groupId>
153       <artifactId>aaf-misc-rosetta</artifactId>
154       <scope>runtime</scope>
155     </dependency>
156     <dependency>
157       <groupId>org.reflections</groupId>
158       <artifactId>reflections</artifactId>
159       <version>0.9.11</version>
160     </dependency>
161     <dependency>
162       <groupId>com.zaxxer</groupId>
163       <artifactId>HikariCP</artifactId>
164     </dependency>
165     <!-- CDS dependencies -->
166     <dependency>
167       <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
168       <artifactId>blueprint-proto</artifactId>
169       <version>${ccsdk.version}</version>
170       <exclusions>
171         <exclusion>
172           <groupId>io.springfox</groupId>
173           <artifactId>springfox-boot-starter</artifactId>
174         </exclusion>
175       </exclusions>
176     </dependency>
177     <!-- protobuf dependencies -->
178     <dependency>
179       <groupId>com.google.protobuf</groupId>
180       <artifactId>protobuf-java</artifactId>
181       <version>${protobuf.version}</version>
182     </dependency>
183
184     <!-- gRPC dependencies -->
185     <dependency>
186       <groupId>io.grpc</groupId>
187       <artifactId>grpc-protobuf</artifactId>
188       <version>${grpc.version}</version>
189       <exclusions>
190         <exclusion>
191           <groupId>com.google.code.findbugs</groupId>
192           <artifactId>jsr305</artifactId>
193         </exclusion>
194       </exclusions>
195     </dependency>
196     <dependency>
197       <groupId>io.grpc</groupId>
198       <artifactId>grpc-netty</artifactId>
199       <version>${grpc.version}</version>
200     </dependency>
201     <dependency>
202       <groupId>io.grpc</groupId>
203       <artifactId>grpc-testing</artifactId>
204       <version>${grpc.version}</version>
205       <scope>test</scope>
206     </dependency>
207     <dependency>
208       <groupId>org.javatuples</groupId>
209       <artifactId>javatuples</artifactId>
210       <version>1.2</version>
211     </dependency>
212     <dependency>
213       <groupId>org.camunda.bpm</groupId>
214       <artifactId>camunda-external-task-client</artifactId>
215     </dependency>
216     <dependency>
217       <groupId>org.onap.appc.client</groupId>
218       <artifactId>client-lib</artifactId>
219       <version>${appc.client.version}</version>
220       <exclusions>
221         <exclusion>
222           <groupId>org.mockito</groupId>
223           <artifactId>mockito-core</artifactId>
224         </exclusion>
225         <exclusion>
226           <groupId>org.powermock</groupId>
227           <artifactId>powermock-module-junit4</artifactId>
228         </exclusion>
229         <exclusion>
230           <groupId>org.powermock</groupId>
231           <artifactId>powermock-api-mockito</artifactId>
232         </exclusion>
233       </exclusions>
234     </dependency>
235     <dependency>
236       <groupId>org.onap.appc.client</groupId>
237       <artifactId>client-kit</artifactId>
238       <version>${appc.client.version}</version>
239       <exclusions>
240         <exclusion>
241           <groupId>org.mockito</groupId>
242           <artifactId>mockito-core</artifactId>
243         </exclusion>
244       </exclusions>
245     </dependency>
246     <dependency>
247       <groupId>org.onap.appc.client</groupId>
248       <artifactId>client-lib</artifactId>
249       <version>${appc.client.version}</version>
250       <exclusions>
251         <exclusion>
252           <groupId>org.mockito</groupId>
253           <artifactId>mockito-core</artifactId>
254         </exclusion>
255         <exclusion>
256           <groupId>org.powermock</groupId>
257           <artifactId>powermock-module-junit4</artifactId>
258         </exclusion>
259         <exclusion>
260           <groupId>org.powermock</groupId>
261           <artifactId>powermock-api-mockito</artifactId>
262         </exclusion>
263       </exclusions>
264     </dependency>
265     <dependency>
266       <groupId>org.onap.appc.client</groupId>
267       <artifactId>client-kit</artifactId>
268       <version>${appc.client.version}</version>
269       <exclusions>
270         <exclusion>
271           <groupId>org.mockito</groupId>
272           <artifactId>mockito-core</artifactId>
273         </exclusion>
274       </exclusions>
275     </dependency>
276     <dependency>
277       <groupId>org.projectlombok</groupId>
278       <artifactId>lombok</artifactId>
279       <scope>provided</scope>
280     </dependency>
281     <dependency>
282       <groupId>javax.validation</groupId>
283       <artifactId>validation-api</artifactId>
284     </dependency>
285     <dependency>
286       <groupId>com.sun.xml.bind</groupId>
287       <artifactId>jaxb-core</artifactId>
288       <version>2.3.0</version>
289     </dependency>
290     <dependency>
291       <groupId>com.sun.xml.bind</groupId>
292       <artifactId>jaxb-impl</artifactId>
293       <version>2.3.0</version>
294     </dependency>
295     <dependency>
296       <groupId>javax.cache</groupId>
297       <artifactId>cache-api</artifactId>
298       <version>1.0.0</version>
299     </dependency>
300     <dependency>
301       <groupId>org.ehcache</groupId>
302       <artifactId>ehcache</artifactId>
303     </dependency>
304     <dependency>
305       <groupId>org.springframework.cloud</groupId>
306       <artifactId>spring-cloud-starter-sleuth</artifactId>
307     </dependency>
308   </dependencies>
309   <dependencyManagement>
310     <dependencies>
311       <dependency>
312         <groupId>org.springframework.boot</groupId>
313         <artifactId>spring-boot-dependencies</artifactId>
314         <version>${springboot.version}</version>
315         <type>pom</type>
316         <scope>import</scope>
317       </dependency>
318       <dependency>
319         <groupId>org.springframework.cloud</groupId>
320         <artifactId>spring-cloud-sleuth</artifactId>
321         <version>${spring-cloud-sleuth.version}</version>
322         <type>pom</type>
323         <scope>import</scope>
324       </dependency>
325     </dependencies>
326   </dependencyManagement>
327   <build>
328     <resources>
329       <resource>
330         <directory>src/main/resources</directory>
331         <filtering>true</filtering>
332       </resource>
333       <resource>
334         <directory>src/main/java</directory>
335         <includes>
336           <include>**/*.java</include>
337         </includes>
338       </resource>
339     </resources>
340     <plugins>
341       <plugin>
342         <groupId>org.apache.maven.plugins</groupId>
343         <artifactId>maven-surefire-plugin</artifactId>
344         <executions>
345           <execution>
346             <id>default-test</id>
347             <goals>
348               <goal>test</goal>
349             </goals>
350             <configuration>
351               <includes>
352                 <include>**/NonSpringSuite.java</include>
353               </includes>
354             </configuration>
355           </execution>
356           <execution>
357             <id>spring-tests</id>
358             <goals>
359               <goal>test</goal>
360             </goals>
361             <configuration>
362               <includes>
363                 <include>**/SpringSuite.java</include>
364               </includes>
365             </configuration>
366           </execution>
367         </executions>
368       </plugin>
369       <plugin>
370         <groupId>org.apache.maven.plugins</groupId>
371         <artifactId>maven-jar-plugin</artifactId>
372         <executions>
373           <execution>
374             <id>tests-jar</id>
375             <phase>package</phase>
376             <goals>
377               <goal>test-jar</goal>
378             </goals>
379             <configuration>
380               <skip>false</skip>
381             </configuration>
382           </execution>
383         </executions>
384       </plugin>
385     </plugins>
386     <pluginManagement>
387       <plugins>
388         <plugin>
389           <artifactId>maven-surefire-plugin</artifactId>
390           <version>2.20</version>
391           <configuration>
392             <systemPropertyVariables>
393               <so.log.level>DEBUG</so.log.level>
394             </systemPropertyVariables>
395             <rerunFailingTestsCount>2</rerunFailingTestsCount>
396             <parallel>suites</parallel>
397             <useUnlimitedThreads>false</useUnlimitedThreads>
398             <threadCount>1</threadCount>
399             <argLine>${surefireArgLine}</argLine>
400           </configuration>
401         </plugin>
402       </plugins>
403     </pluginManagement>
404   </build>
405 </project>