[SDC-DIST] Upgrade asdc-controller to use client version 2.0.0
[so.git] / asdc-controller / 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   <parent>
5     <groupId>org.onap.so</groupId>
6     <artifactId>so</artifactId>
7     <version>1.9.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>asdc-controller</artifactId>
10   <name>asdc-controller</name>
11   <description>ASDC CLient and Controller</description>
12   <properties>
13     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15     <antlr.version>4.7.1</antlr.version>
16     <sdc.tosca.version>1.6.5</sdc.tosca.version>
17     <jtosca.version>1.5.1</jtosca.version>
18     <sdc-dist-client.version>2.0.0</sdc-dist-client.version>
19     <kafka-clients.version>3.3.1</kafka-clients.version>
20   </properties>
21   <build>
22     <finalName>${project.artifactId}-${project.version}</finalName>
23     <pluginManagement>
24       <plugins>
25         <plugin>
26           <groupId>org.eclipse.m2e</groupId>
27           <artifactId>lifecycle-mapping</artifactId>
28           <version>1.0.0</version>
29           <configuration>
30             <lifecycleMappingMetadata>
31               <pluginExecutions>
32                 <pluginExecution>
33                   <pluginExecutionFilter>
34                     <groupId>org.apache.maven.plugins</groupId>
35                     <artifactId>maven-dependency-plugin</artifactId>
36                     <versionRange>[1.0.0,)</versionRange>
37                     <goals>
38                       <goal>unpack</goal>
39                     </goals>
40                   </pluginExecutionFilter>
41                   <action>
42                     <execute />
43                   </action>
44                 </pluginExecution>
45               </pluginExecutions>
46             </lifecycleMappingMetadata>
47           </configuration>
48         </plugin>
49       </plugins>
50     </pluginManagement>
51     <plugins>
52       <plugin>
53         <groupId>org.jacoco</groupId>
54         <artifactId>jacoco-maven-plugin</artifactId>
55         <configuration>
56           <excludes>
57             <exclude>**/resource-examples/**</exclude>
58           </excludes>
59         </configuration>
60         <executions>
61           <execution>
62             <id>default-prepare-agent</id>
63             <goals>
64               <goal>prepare-agent</goal>
65             </goals>
66           </execution>
67           <execution>
68             <id>default-report</id>
69             <goals>
70               <goal>report</goal>
71             </goals>
72           </execution>
73           <execution>
74             <id>default-check</id>
75             <goals>
76               <goal>check</goal>
77             </goals>
78             <configuration>
79               <rules>
80                 <rule implementation="org.jacoco.maven.RuleConfiguration">
81                   <element>BUNDLE</element>
82                   <limits>
83                     <limit implementation="org.jacoco.report.check.Limit">
84                       <counter>INSTRUCTION</counter>
85                       <value>COVEREDRATIO</value>
86                     </limit>
87                   </limits>
88                 </rule>
89               </rules>
90             </configuration>
91           </execution>
92         </executions>
93       </plugin>
94       <plugin>
95         <groupId>org.antlr</groupId>
96         <artifactId>antlr4-maven-plugin</artifactId>
97         <version>${antlr.version}</version>
98         <executions>
99           <execution>
100             <id>antlr</id>
101             <phase>generate-test-resources</phase>
102             <goals>
103               <goal>antlr4</goal>
104             </goals>
105             <configuration>
106               <visitor>true</visitor>
107               <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
108             </configuration>
109           </execution>
110         </executions>
111       </plugin>
112       <plugin>
113         <artifactId>maven-compiler-plugin</artifactId>
114         <executions>
115           <execution>
116             <id>default-testCompile</id>
117             <phase>test-compile</phase>
118             <goals>
119               <goal>testCompile</goal>
120             </goals>
121             <configuration>
122               <generatedTestSourcesDirectory>${project.build.directory}/generated-sources
123               </generatedTestSourcesDirectory>
124             </configuration>
125           </execution>
126         </executions>
127       </plugin>
128       <plugin>
129         <groupId>org.springframework.boot</groupId>
130         <artifactId>spring-boot-maven-plugin</artifactId>
131         <configuration>
132           <mainClass>org.onap.so.asdc.Application</mainClass>
133         </configuration>
134         <executions>
135           <execution>
136             <goals>
137               <goal>repackage</goal>
138             </goals>
139           </execution>
140         </executions>
141       </plugin>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-dependency-plugin</artifactId>
145         <executions>
146           <execution>
147             <id>extract-docker-file</id>
148             <configuration>
149               <skip>false</skip>
150             </configuration>
151           </execution>
152         </executions>
153       </plugin>
154       <plugin>
155         <groupId>io.fabric8</groupId>
156         <artifactId>docker-maven-plugin</artifactId>
157         <executions>
158           <execution>
159             <id>start</id>
160           </execution>
161         </executions>
162       </plugin>
163       <plugin>
164         <groupId>org.apache.maven.plugins</groupId>
165         <artifactId>maven-jar-plugin</artifactId>
166         <executions>
167           <execution>
168             <id>original</id>
169             <phase>package</phase>
170           </execution>
171         </executions>
172       </plugin>
173       <plugin>
174         <groupId>org.apache.maven.plugins</groupId>
175         <artifactId>maven-surefire-plugin</artifactId>
176         <executions>
177           <execution>
178             <id>default-test</id>
179             <goals>
180               <goal>test</goal>
181             </goals>
182             <configuration>
183               <includes>
184                 <include>**/AllTestsTestSuite.java</include>
185               </includes>
186               <parallel>suites</parallel>
187             </configuration>
188           </execution>
189         </executions>
190       </plugin>
191     </plugins>
192   </build>
193   <dependencyManagement>
194     <dependencies>
195       <dependency>
196         <groupId>org.apache.kafka</groupId>
197         <artifactId>kafka-clients</artifactId>
198         <version>${kafka-clients.version}</version>
199       </dependency>
200     </dependencies>
201   </dependencyManagement>
202   <dependencies>
203     <dependency>
204       <groupId>io.swagger.core.v3</groupId>
205       <artifactId>swagger-jaxrs2</artifactId>
206     </dependency>
207     <dependency>
208       <groupId>org.springframework.boot</groupId>
209       <artifactId>spring-boot-starter-jersey</artifactId>
210     </dependency>
211     <dependency>
212       <groupId>org.springframework.boot</groupId>
213       <artifactId>spring-boot-starter-data-jpa</artifactId>
214       <exclusions>
215         <exclusion>
216           <groupId>org.apache.tomcat</groupId>
217           <artifactId>tomcat-jdbc</artifactId>
218         </exclusion>
219       </exclusions>
220     </dependency>
221     <dependency>
222       <groupId>org.springframework.boot</groupId>
223       <artifactId>spring-boot-starter-test</artifactId>
224       <scope>test</scope>
225     </dependency>
226     <dependency>
227       <groupId>commons-codec</groupId>
228       <artifactId>commons-codec</artifactId>
229       <version>1.15</version>
230     </dependency>
231     <dependency>
232       <groupId>org.onap.so</groupId>
233       <artifactId>mso-catalog-db</artifactId>
234       <version>${project.version}</version>
235     </dependency>
236     <dependency>
237       <groupId>org.onap.sdc.sdc-distribution-client</groupId>
238       <artifactId>sdc-distribution-client</artifactId>
239       <version>${sdc-dist-client.version}</version>
240       <exclusions>
241         <exclusion>
242           <groupId>org.slf4j</groupId>
243           <artifactId>slf4j-log4j12</artifactId>
244         </exclusion>
245       </exclusions>
246     </dependency>
247     <dependency>
248       <groupId>org.apache.httpcomponents</groupId>
249       <artifactId>httpmime</artifactId>
250     </dependency>
251     <dependency>
252       <groupId>org.onap.sdc.sdc-tosca</groupId>
253       <artifactId>sdc-tosca</artifactId>
254       <version>${sdc.tosca.version}</version>
255     </dependency>
256     <dependency>
257       <groupId>org.onap.sdc.jtosca</groupId>
258       <artifactId>jtosca</artifactId>
259       <version>${jtosca.version}</version>
260     </dependency>
261     <dependency>
262       <groupId>org.onap.so</groupId>
263       <artifactId>common</artifactId>
264       <version>${project.version}</version>
265     </dependency>
266     <dependency>
267       <groupId>org.onap.so</groupId>
268       <artifactId>mso-api-handler-common</artifactId>
269       <version>${project.version}</version>
270     </dependency>
271     <dependency>
272       <groupId>commons-io</groupId>
273       <artifactId>commons-io</artifactId>
274     </dependency>
275     <dependency>
276       <groupId>org.onap.so</groupId>
277       <artifactId>mso-requests-db-repositories</artifactId>
278       <version>${project.version}</version>
279     </dependency>
280     <dependency>
281       <groupId>org.antlr</groupId>
282       <artifactId>antlr4</artifactId>
283       <version>${antlr.version}</version>
284       <scope>test</scope>
285     </dependency>
286     <dependency>
287       <groupId>org.springframework.boot</groupId>
288       <artifactId>spring-boot-configuration-processor</artifactId>
289       <optional>true</optional>
290     </dependency>
291     <dependency>
292       <groupId>org.mariadb.jdbc</groupId>
293       <artifactId>mariadb-java-client</artifactId>
294     </dependency>
295     <dependency>
296       <groupId>ch.vorburger.mariaDB4j</groupId>
297       <artifactId>mariaDB4j</artifactId>
298       <scope>test</scope>
299     </dependency>
300     <dependency>
301       <groupId>org.springframework.cloud</groupId>
302       <artifactId>spring-cloud-contract-wiremock</artifactId>
303     </dependency>
304     <dependency>
305       <groupId>io.micrometer</groupId>
306       <artifactId>micrometer-registry-prometheus</artifactId>
307     </dependency>
308     <dependency>
309       <groupId>javax.interceptor</groupId>
310       <artifactId>javax.interceptor-api</artifactId>
311     </dependency>
312     <dependency>
313       <groupId>org.onap.so</groupId>
314       <artifactId>aai-client</artifactId>
315       <version>${project.version}</version>
316     </dependency>
317     <dependency>
318       <groupId>javax.xml.ws</groupId>
319       <artifactId>jaxws-api</artifactId>
320     </dependency>
321   </dependencies>
322 </project>