Merge "initial commit for the SO project ad its sub repos"
[so.git] / mso-api-handlers / mso-api-handler-infra / pom.xml
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">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.onap.so</groupId>
7     <artifactId>mso-api-handlers</artifactId>
8     <version>1.7.1-SNAPSHOT</version>
9   </parent>
10
11
12   <artifactId>mso-api-handler-infra</artifactId>
13
14   <name>mso-api-handler-infra</name>
15   <description>ONAP SO API Handler Infra</description>
16   <properties>
17     <camunda.version>7.10.0</camunda.version>
18     <camunda.bpm.assert.version>1.2</camunda.bpm.assert.version>
19     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21     <swagger.version>2.0.8</swagger.version>
22     <jax-rs-version>1.1.1</jax-rs-version>
23     <json4s-jackson-version>3.6.0</json4s-jackson-version>
24     <json4s-core-version>3.6.0</json4s-core-version>
25     <reflections-version>0.9.9-RC1</reflections-version>
26     <paranamer-version>2.5.2</paranamer-version>
27     <scannotation-version>1.0.3</scannotation-version>
28   </properties>
29   <dependencyManagement>
30     <dependencies>
31       <dependency>
32         <!-- Import dependency management from Spring Boot -->
33         <groupId>org.springframework.boot</groupId>
34         <artifactId>spring-boot-dependencies</artifactId>
35         <version>${springboot.version}</version>
36         <type>pom</type>
37         <scope>import</scope>
38       </dependency>
39       <dependency>
40         <!-- Import dependency management from camunda -->
41         <groupId>org.camunda.bpm</groupId>
42         <artifactId>camunda-bom</artifactId>
43         <version>${camunda.version}</version>
44         <scope>import</scope>
45         <type>pom</type>
46       </dependency>
47     </dependencies>
48   </dependencyManagement>
49   <dependencies>
50     <dependency>
51       <groupId>org.camunda.bpm</groupId>
52       <artifactId>camunda-engine</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.javassist</groupId>
56       <artifactId>javassist</artifactId>
57       <version>3.25.0-GA</version>
58     </dependency>
59     <dependency>
60       <groupId>org.springframework.boot</groupId>
61       <artifactId>spring-boot-starter-web</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>io.swagger.core.v3</groupId>
65       <artifactId>swagger-annotations</artifactId>
66       <version>${swagger.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>io.swagger.core.v3</groupId>
70       <artifactId>swagger-jaxrs2</artifactId>
71       <version>2.0.6</version>
72     </dependency>
73     <dependency>
74       <groupId>com.h2database</groupId>
75       <artifactId>h2</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.mariadb.jdbc</groupId>
79       <artifactId>mariadb-java-client</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.springframework.boot</groupId>
83       <artifactId>spring-boot-starter-actuator</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.springframework.boot</groupId>
87       <artifactId>spring-boot-starter-jersey</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.springframework.boot</groupId>
91       <artifactId>spring-boot-starter-data-jpa</artifactId>
92       <exclusions>
93         <exclusion>
94           <groupId>org.apache.tomcat</groupId>
95           <artifactId>tomcat-jdbc</artifactId>
96         </exclusion>
97       </exclusions>
98     </dependency>
99     <dependency>
100       <groupId>org.springframework.retry</groupId>
101       <artifactId>spring-retry</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>org.springframework.boot</groupId>
105       <artifactId>spring-boot-starter-webflux</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>commons-lang</groupId>
109       <artifactId>commons-lang</artifactId>
110       <version>2.6</version>
111     </dependency>
112     <dependency>
113       <groupId>javax.activation</groupId>
114       <artifactId>activation</artifactId>
115       <version>1.1.1</version>
116     </dependency>
117     <dependency>
118       <groupId>javax.transaction</groupId>
119       <artifactId>jta</artifactId>
120       <version>1.1</version>
121     </dependency>
122     <dependency>
123       <groupId>org.json4s</groupId>
124       <artifactId>json4s-jackson_2.12</artifactId>
125       <version>${json4s-jackson-version}</version>
126     </dependency>
127     <dependency>
128       <groupId>org.json4s</groupId>
129       <artifactId>json4s-core_2.12</artifactId>
130       <version>${json4s-core-version}</version>
131     </dependency>
132     <dependency>
133       <groupId>javax.xml.ws</groupId>
134       <artifactId>jaxws-api</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>javax.servlet</groupId>
138       <artifactId>javax.servlet-api</artifactId>
139     </dependency>
140     <dependency>
141       <groupId>javax.interceptor</groupId>
142       <artifactId>javax.interceptor-api</artifactId>
143     </dependency>
144
145     <!-- Dependencies on other MSO Projects -->
146     <dependency>
147       <groupId>org.onap.so</groupId>
148       <artifactId>mso-requests-db</artifactId>
149       <version>${project.version}</version>
150     </dependency>
151     <dependency>
152       <groupId>org.onap.so</groupId>
153       <artifactId>mso-requests-db-repositories</artifactId>
154       <version>${project.version}</version>
155     </dependency>
156     <dependency>
157       <groupId>org.onap.so</groupId>
158       <artifactId>mso-catalog-db</artifactId>
159       <version>${project.version}</version>
160     </dependency>
161     <!-- Test Dependencies -->
162     <dependency>
163       <groupId>pl.pragmatists</groupId>
164       <artifactId>JUnitParams</artifactId>
165       <version>1.0.5</version>
166       <scope>test</scope>
167     </dependency>
168     <dependency>
169       <groupId>junit</groupId>
170       <artifactId>junit</artifactId>
171       <scope>test</scope>
172     </dependency>
173     <dependency>
174       <groupId>org.onap.sdc.sdc-distribution-client</groupId>
175       <artifactId>sdc-distribution-client</artifactId>
176       <version>1.4.1</version>
177       <exclusions>
178         <exclusion>
179           <groupId>org.slf4j</groupId>
180           <artifactId>slf4j-log4j12</artifactId>
181         </exclusion>
182       </exclusions>
183     </dependency>
184     <dependency>
185       <groupId>com.github.java-json-tools</groupId>
186       <artifactId>json-schema-core</artifactId>
187       <version>1.2.8</version>
188     </dependency>
189     <dependency>
190       <groupId>com.github.java-json-tools</groupId>
191       <artifactId>json-schema-validator</artifactId>
192       <version>2.2.8</version>
193     </dependency>
194     <dependency>
195       <groupId>org.springframework.boot</groupId>
196       <artifactId>spring-boot-starter-test</artifactId>
197       <scope>test</scope>
198     </dependency>
199     <dependency>
200       <groupId>com.h2database</groupId>
201       <artifactId>h2</artifactId>
202     </dependency>
203     <dependency>
204       <groupId>org.springframework.boot</groupId>
205       <artifactId>spring-boot-configuration-processor</artifactId>
206       <optional>true</optional>
207     </dependency>
208     <dependency>
209       <groupId>ch.vorburger.mariaDB4j</groupId>
210       <artifactId>mariaDB4j</artifactId>
211       <version>2.2.3</version>
212       <scope>test</scope>
213     </dependency>
214     <dependency>
215       <groupId>com.googlecode.junit-toolbox</groupId>
216       <artifactId>junit-toolbox</artifactId>
217       <version>2.4</version>
218     </dependency>
219     <dependency>
220       <groupId>org.onap.so</groupId>
221       <artifactId>mso-api-handler-common</artifactId>
222       <version>${project.version}</version>
223     </dependency>
224     <dependency>
225       <groupId>org.springframework.cloud</groupId>
226       <artifactId>spring-cloud-contract-wiremock</artifactId>
227       <version>1.2.4.RELEASE</version>
228       <scope>test</scope>
229     </dependency>
230     <dependency>
231       <groupId>io.micrometer</groupId>
232       <artifactId>micrometer-core</artifactId>
233     </dependency>
234     <dependency>
235       <groupId>io.micrometer</groupId>
236       <artifactId>micrometer-registry-prometheus</artifactId>
237     </dependency>
238     <dependency>
239         <groupId>org.onap.aaf.authz</groupId>
240         <artifactId>aaf-cadi-client</artifactId>
241     </dependency>
242     <dependency>
243       <groupId>org.onap.aaf.authz</groupId>
244       <artifactId>aaf-cadi-aaf</artifactId>
245       <exclusions>
246         <exclusion>
247           <groupId>javax.servlet</groupId>
248           <artifactId>servlet-api</artifactId>
249         </exclusion>
250         <exclusion>
251           <groupId>log4j</groupId>
252           <artifactId>log4j</artifactId>
253         </exclusion>
254       </exclusions>
255     </dependency>
256     <dependency>
257       <groupId>org.onap.aaf.authz</groupId>
258       <artifactId>aaf-auth-client</artifactId>
259       <scope>runtime</scope>
260     </dependency>
261     <dependency>
262       <groupId>org.onap.aaf.authz</groupId>
263       <artifactId>aaf-misc-env</artifactId>
264       <scope>runtime</scope>
265     </dependency>
266     <dependency>
267       <groupId>org.onap.aaf.authz</groupId>
268       <artifactId>aaf-misc-rosetta</artifactId>
269       <scope>runtime</scope>
270     </dependency>
271     <dependency>
272       <groupId>javax.xml.bind</groupId>
273       <artifactId>jaxb-api</artifactId>
274       <version>2.3.0</version>
275     </dependency>
276     <dependency>
277       <groupId>com.sun.xml.bind</groupId>
278       <artifactId>jaxb-core</artifactId>
279       <version>2.3.0</version>
280     </dependency>
281     <dependency>
282       <groupId>com.sun.xml.bind</groupId>
283       <artifactId>jaxb-impl</artifactId>
284       <version>2.3.0</version>
285     </dependency>
286   </dependencies>
287
288   <build>
289     <finalName>${project.artifactId}-${project.version}</finalName>
290     <pluginManagement>
291       <plugins>
292         <plugin>
293           <groupId>org.eclipse.m2e</groupId>
294           <artifactId>lifecycle-mapping</artifactId>
295           <version>1.0.0</version>
296           <configuration>
297             <lifecycleMappingMetadata>
298               <pluginExecutions>
299                 <pluginExecution>
300                   <pluginExecutionFilter>
301                     <groupId>org.apache.maven.plugins</groupId>
302                     <artifactId>maven-dependency-plugin</artifactId>
303                     <versionRange>[1.0.0,)</versionRange>
304                     <goals>
305                       <goal>unpack</goal>
306                     </goals>
307                   </pluginExecutionFilter>
308                   <action>
309                     <execute />
310                   </action>
311                 </pluginExecution>
312               </pluginExecutions>
313             </lifecycleMappingMetadata>
314           </configuration>
315         </plugin>
316       </plugins>
317     </pluginManagement>
318     <plugins>
319       <plugin>
320         <groupId>org.apache.maven.plugins</groupId>
321         <artifactId>maven-surefire-plugin</artifactId>
322         <executions>
323           <execution>
324             <id>default-test</id>
325             <goals>
326               <goal>test</goal>
327             </goals>
328             <configuration>
329               <includes>
330                 <include>**/AllTestsTestSuite.java</include>
331               </includes>
332               <parallel>suites</parallel>
333             </configuration>
334           </execution>
335         </executions>
336       </plugin>
337       <plugin>
338         <groupId>org.springframework.boot</groupId>
339         <artifactId>spring-boot-maven-plugin</artifactId>
340         <configuration>
341           <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
342         </configuration>
343         <executions>
344           <execution>
345             <goals>
346               <goal>repackage</goal>
347             </goals>
348           </execution>
349         </executions>
350       </plugin>
351       <plugin>
352         <groupId>org.apache.maven.plugins</groupId>
353         <artifactId>maven-dependency-plugin</artifactId>
354         <executions>
355           <execution>
356             <id>extract-docker-file</id>
357             <configuration>
358               <skip>false</skip>
359             </configuration>
360           </execution>
361         </executions>
362       </plugin>
363       <plugin>
364         <groupId>org.apache.maven.plugins</groupId>
365         <artifactId>maven-jar-plugin</artifactId>
366         <executions>
367           <execution>
368             <id>original</id>
369             <phase>package</phase>
370           </execution>
371         </executions>
372       </plugin>
373       <plugin>
374         <groupId>io.fabric8</groupId>
375         <artifactId>docker-maven-plugin</artifactId>
376         <executions>
377           <execution>
378             <id>start</id>
379           </execution>
380         </executions>
381       </plugin>
382     </plugins>
383   </build>
384   <packaging>jar</packaging>
385 </project>