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