Merge "Move SO/BB for PNF documentation from ONAP WIKI to ONAP RTD"
[so.git] / adapters / mso-requests-db-adapter / 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>adapters</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8   </parent>
9
10   <groupId>org.onap.so.adapters</groupId>
11   <artifactId>mso-requests-db-adapter</artifactId>
12   <dependencies>
13     <dependency>
14       <groupId>org.springframework.boot</groupId>
15       <artifactId>spring-boot-starter-actuator</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>org.springframework.boot</groupId>
19       <artifactId>spring-boot-starter-web</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>org.springframework.boot</groupId>
23       <artifactId>spring-boot-starter-jdbc</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.apache.cxf</groupId>
27       <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.apache.cxf</groupId>
31       <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.apache.cxf</groupId>
35       <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.springframework.boot</groupId>
39       <artifactId>spring-boot-starter-test</artifactId>
40       <scope>test</scope>
41     </dependency>
42     <dependency>
43       <groupId>org.mariadb.jdbc</groupId>
44       <artifactId>mariadb-java-client</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.onap.so</groupId>
48       <artifactId>mso-requests-db</artifactId>
49       <version>${project.version}</version>
50     </dependency>
51     <dependency>
52       <groupId>org.onap.so</groupId>
53       <artifactId>mso-requests-db-repositories</artifactId>
54       <version>${project.version}</version>
55     </dependency>
56     <dependency>
57       <groupId>org.springframework.boot</groupId>
58       <artifactId>spring-boot-starter-data-jpa</artifactId>
59       <exclusions>
60         <exclusion>
61           <groupId>org.apache.tomcat</groupId>
62           <artifactId>tomcat-jdbc</artifactId>
63         </exclusion>
64       </exclusions>
65       <optional>true</optional>
66     </dependency>
67     <dependency>
68       <groupId>ch.vorburger.mariaDB4j</groupId>
69       <artifactId>mariaDB4j</artifactId>
70       <version>2.2.3</version>
71       <scope>test</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.springframework.boot</groupId>
75       <artifactId>spring-boot-configuration-processor</artifactId>
76       <optional>true</optional>
77     </dependency>
78     <dependency>
79       <groupId>org.flywaydb</groupId>
80       <artifactId>flyway-core</artifactId>
81       <optional>true</optional>
82     </dependency>
83     <dependency>
84       <groupId>net.javacrumbs.shedlock</groupId>
85       <artifactId>shedlock-spring</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>net.javacrumbs.shedlock</groupId>
89       <artifactId>shedlock-provider-jdbc-template</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>io.micrometer</groupId>
93       <artifactId>micrometer-core</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>io.micrometer</groupId>
97       <artifactId>micrometer-registry-prometheus</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.springframework.boot</groupId>
101       <artifactId>spring-boot-starter-data-rest</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>org.onap.so</groupId>
105       <artifactId>cxf-logging</artifactId>
106       <version>${project.version}</version>
107     </dependency>
108
109
110   </dependencies>
111   <pluginRepositories>
112     <pluginRepository>
113       <id>apache.snapshots</id>
114       <name>Maven Plugin Snapshots</name>
115       <url>http://repository.apache.org/snapshots/</url>
116       <snapshots>
117         <enabled>true</enabled>
118       </snapshots>
119     </pluginRepository>
120   </pluginRepositories>
121   <build>
122     <finalName>${project.artifactId}-${project.version}</finalName>
123     <plugins>
124       <plugin>
125         <groupId>org.apache.cxf</groupId>
126         <artifactId>cxf-java2ws-plugin</artifactId>
127         <version>3.3.3</version>
128         <dependencies>
129           <dependency>
130             <groupId>org.apache.cxf</groupId>
131             <artifactId>cxf-rt-frontend-jaxws</artifactId>
132             <version>3.3.3</version>
133           </dependency>
134           <dependency>
135             <groupId>org.apache.cxf</groupId>
136             <artifactId>cxf-rt-frontend-simple</artifactId>
137             <version>3.3.3</version>
138           </dependency>
139
140           <dependency>
141             <groupId>com.sun.xml.ws</groupId>
142             <artifactId>jaxws-ri</artifactId>
143             <version>2.3.0</version>
144             <type>pom</type>
145           </dependency>
146           <dependency>
147             <groupId>javax.annotation</groupId>
148             <artifactId>javax.annotation-api</artifactId>
149             <version>1.3.2</version>
150           </dependency>
151           <dependency>
152             <groupId>javax.xml.bind</groupId>
153             <artifactId>jaxb-api</artifactId>
154             <version>2.4.0-b180725.0427</version>
155           </dependency>
156           <dependency>
157             <groupId>org.glassfish.jaxb</groupId>
158             <artifactId>jaxb-runtime</artifactId>
159             <version>2.4.0-b180830.0438</version>
160           </dependency>
161         </dependencies>
162         <executions>
163           <execution>
164             <id>process-classes</id>
165             <phase>process-classes</phase>
166             <configuration>
167               <className>org.onap.so.adapters.requestsdb.MsoRequestsDbAdapter</className>
168               <genWsdl>true</genWsdl>
169               <verbose>true</verbose>
170               <ignoredDependencies>
171                 <ignoredDependency>com.sun.xml.bind:jaxb-impl</ignoredDependency>
172               </ignoredDependencies>
173             </configuration>
174             <goals>
175               <goal>java2ws</goal>
176             </goals>
177           </execution>
178         </executions>
179       </plugin>
180       <plugin>
181         <groupId>org.jacoco</groupId>
182         <artifactId>jacoco-maven-plugin</artifactId>
183       </plugin>
184       <plugin>
185         <groupId>org.springframework.boot</groupId>
186         <artifactId>spring-boot-maven-plugin</artifactId>
187         <version>${springboot.version}</version>
188         <configuration>
189           <mainClass>org.onap.so.adapters.requestsdb.application.MSORequestDBApplication</mainClass>
190         </configuration>
191         <executions>
192           <execution>
193             <goals>
194               <goal>repackage</goal>
195             </goals>
196           </execution>
197         </executions>
198       </plugin>
199       <plugin>
200         <groupId>org.apache.maven.plugins</groupId>
201         <artifactId>maven-jar-plugin</artifactId>
202         <executions>
203           <execution>
204             <id>original</id>
205             <phase>package</phase>
206           </execution>
207         </executions>
208       </plugin>
209       <plugin>
210         <groupId>org.apache.maven.plugins</groupId>
211         <artifactId>maven-dependency-plugin</artifactId>
212         <executions>
213           <execution>
214             <id>extract-docker-file</id>
215             <configuration>
216               <skip>false</skip>
217             </configuration>
218           </execution>
219         </executions>
220       </plugin>
221       <plugin>
222         <groupId>io.fabric8</groupId>
223         <artifactId>docker-maven-plugin</artifactId>
224         <executions>
225           <execution>
226             <id>start</id>
227           </execution>
228         </executions>
229       </plugin>
230       <plugin>
231         <groupId>org.apache.maven.plugins</groupId>
232         <artifactId>maven-surefire-plugin</artifactId>
233         <executions>
234           <execution>
235             <id>default-test</id>
236             <goals>
237               <goal>test</goal>
238             </goals>
239             <configuration>
240               <includes>
241                 <include>**/AllTestsTestSuite.java</include>
242               </includes>
243               <parallel>suites</parallel>
244             </configuration>
245           </execution>
246         </executions>
247       </plugin>
248     </plugins>
249     <pluginManagement>
250       <plugins>
251         <!--This plugin's configuration is used to store Eclipse m2e settings 
252                                         only. It has no influence on the Maven build itself. -->
253         <plugin>
254           <groupId>org.eclipse.m2e</groupId>
255           <artifactId>lifecycle-mapping</artifactId>
256           <version>1.0.0</version>
257           <configuration>
258             <lifecycleMappingMetadata>
259               <pluginExecutions>
260                 <pluginExecution>
261                   <pluginExecutionFilter>
262                     <groupId>
263                                                                                         org.apache.cxf
264                                                                                 </groupId>
265                     <artifactId>
266                                                                                         cxf-java2ws-plugin
267                                                                                 </artifactId>
268                     <versionRange>
269                                                                                         [3.2.5,)
270                                                                                 </versionRange>
271                     <goals>
272                       <goal>java2ws</goal>
273                     </goals>
274                   </pluginExecutionFilter>
275                   <action>
276                     <ignore>
277                     </ignore>
278                   </action>
279                 </pluginExecution>
280                 <pluginExecution>
281                   <pluginExecutionFilter>
282                     <groupId>org.apache.maven.plugins</groupId>
283                     <artifactId>maven-dependency-plugin</artifactId>
284                     <versionRange>[1.0.0,)</versionRange>
285                     <goals>
286                       <goal>unpack</goal>
287                     </goals>
288                   </pluginExecutionFilter>
289                   <action>
290                     <execute />
291                   </action>
292                 </pluginExecution>
293               </pluginExecutions>
294             </lifecycleMappingMetadata>
295           </configuration>
296         </plugin>
297       </plugins>
298     </pluginManagement>
299   </build>
300 </project>