Merge "corrected inlucde filter for formatter"
[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.4.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       <version>${cxf.version}</version>
29     </dependency>
30     <dependency>
31       <groupId>org.apache.cxf</groupId>
32       <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
33       <version>${cxf.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>org.apache.cxf</groupId>
37       <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
38       <version>${cxf.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>org.springframework.boot</groupId>
42       <artifactId>spring-boot-starter-test</artifactId>
43       <scope>test</scope>
44     </dependency>
45     <dependency>
46       <groupId>org.mariadb.jdbc</groupId>
47       <artifactId>mariadb-java-client</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.onap.so</groupId>
51       <artifactId>mso-requests-db</artifactId>
52       <version>${project.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>org.onap.so</groupId>
56       <artifactId>mso-requests-db-repositories</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>org.springframework.boot</groupId>
61       <artifactId>spring-boot-starter-data-jpa</artifactId>
62       <exclusions>
63         <exclusion>
64           <groupId>org.apache.tomcat</groupId>
65           <artifactId>tomcat-jdbc</artifactId>
66         </exclusion>
67       </exclusions>
68       <optional>true</optional>
69     </dependency>
70     <dependency>
71       <groupId>ch.vorburger.mariaDB4j</groupId>
72       <artifactId>mariaDB4j</artifactId>
73       <version>2.2.3</version>
74       <scope>test</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.springframework.boot</groupId>
78       <artifactId>spring-boot-configuration-processor</artifactId>
79       <optional>true</optional>
80     </dependency>
81     <dependency>
82       <groupId>org.flywaydb</groupId>
83       <artifactId>flyway-core</artifactId>
84       <optional>true</optional>
85     </dependency>
86     <dependency>
87       <groupId>net.javacrumbs.shedlock</groupId>
88       <artifactId>shedlock-spring</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>net.javacrumbs.shedlock</groupId>
92       <artifactId>shedlock-provider-jdbc-template</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>io.micrometer</groupId>
96       <artifactId>micrometer-core</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>io.micrometer</groupId>
100       <artifactId>micrometer-registry-prometheus</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>org.springframework.boot</groupId>
104       <artifactId>spring-boot-starter-data-rest</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>org.onap.so</groupId>
108       <artifactId>cxf-logging</artifactId>
109       <version>${project.version}</version>
110     </dependency>
111   </dependencies>
112
113   <build>
114     <finalName>${project.artifactId}-${project.version}</finalName>
115     <plugins>
116       <plugin>
117         <groupId>org.apache.cxf</groupId>
118         <artifactId>cxf-java2ws-plugin</artifactId>
119         <version>${cxf.version}</version>
120         <dependencies>
121           <dependency>
122             <groupId>org.apache.cxf</groupId>
123             <artifactId>cxf-rt-frontend-jaxws</artifactId>
124             <version>${cxf.version}</version>
125           </dependency>
126           <dependency>
127             <groupId>org.apache.cxf</groupId>
128             <artifactId>cxf-rt-frontend-simple</artifactId>
129             <version>${cxf.version}</version>
130           </dependency>
131         </dependencies>
132         <executions>
133           <execution>
134             <id>process-classes</id>
135             <phase>process-classes</phase>
136             <configuration>
137               <className>org.onap.so.adapters.requestsdb.MsoRequestsDbAdapter</className>
138               <genWsdl>true</genWsdl>
139               <verbose>true</verbose>
140             </configuration>
141             <goals>
142               <goal>java2ws</goal>
143             </goals>
144           </execution>
145         </executions>
146       </plugin>
147       <plugin>
148         <groupId>org.jacoco</groupId>
149         <artifactId>jacoco-maven-plugin</artifactId>
150       </plugin>
151       <plugin>
152         <groupId>org.springframework.boot</groupId>
153         <artifactId>spring-boot-maven-plugin</artifactId>
154         <version>${springboot.version}</version>
155         <configuration>
156           <mainClass>org.onap.so.adapters.requestsdb.application.MSORequestDBApplication</mainClass>
157         </configuration>
158         <executions>
159           <execution>
160             <goals>
161               <goal>repackage</goal>
162             </goals>
163           </execution>
164         </executions>
165       </plugin>
166       <plugin>
167         <groupId>org.apache.maven.plugins</groupId>
168         <artifactId>maven-jar-plugin</artifactId>
169         <executions>
170           <execution>
171             <id>original</id>
172           </execution>
173         </executions>
174       </plugin>
175       <plugin>
176         <groupId>org.apache.maven.plugins</groupId>
177         <artifactId>maven-dependency-plugin</artifactId>
178         <executions>
179           <execution>
180             <id>extract-docker-file</id>
181           </execution>
182         </executions>
183       </plugin>
184       <plugin>
185         <groupId>io.fabric8</groupId>
186         <artifactId>fabric8-maven-plugin</artifactId>
187         <executions>
188           <execution>
189             <id>start</id>
190           </execution>
191         </executions>
192       </plugin>
193       <plugin>
194         <groupId>org.apache.maven.plugins</groupId>
195         <artifactId>maven-surefire-plugin</artifactId>
196         <executions>
197           <execution>
198             <id>default-test</id>
199             <goals>
200               <goal>test</goal>
201             </goals>
202             <configuration>
203               <includes>
204                 <include>**/AllTestsTestSuite.java</include>
205               </includes>
206               <parallel>suites</parallel>
207             </configuration>
208           </execution>
209         </executions>
210       </plugin>
211     </plugins>
212     <pluginManagement>
213       <plugins>
214         <!--This plugin's configuration is used to store Eclipse m2e settings 
215                                         only. It has no influence on the Maven build itself. -->
216         <plugin>
217           <groupId>org.eclipse.m2e</groupId>
218           <artifactId>lifecycle-mapping</artifactId>
219           <version>1.0.0</version>
220           <configuration>
221             <lifecycleMappingMetadata>
222               <pluginExecutions>
223                 <pluginExecution>
224                   <pluginExecutionFilter>
225                     <groupId>
226                                                                                         org.apache.cxf
227                                                                                 </groupId>
228                     <artifactId>
229                                                                                         cxf-java2ws-plugin
230                                                                                 </artifactId>
231                     <versionRange>
232                                                                                         [3.2.5,)
233                                                                                 </versionRange>
234                     <goals>
235                       <goal>java2ws</goal>
236                     </goals>
237                   </pluginExecutionFilter>
238                   <action>
239                     <ignore>
240                     </ignore>
241                   </action>
242                 </pluginExecution>
243               </pluginExecutions>
244             </lifecycleMappingMetadata>
245           </configuration>
246         </plugin>
247       </plugins>
248     </pluginManagement>
249   </build>
250 </project>