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