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