Merge "Fix vFW Distrobution"
[so.git] / adapters / mso-catalog-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-catalog-db-adapter</artifactId>
12   <packaging>jar</packaging>
13   <properties>
14     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16     <java.version>1.8</java.version>
17   </properties>
18   <build>
19     <plugins>
20       <plugin>
21         <groupId>org.springframework.boot</groupId>
22         <artifactId>spring-boot-maven-plugin</artifactId>
23         <version>${springboot.version}</version>
24         <configuration>
25           <mainClass>org.onap.so.adapters.catalogdb.CatalogDBApplication</mainClass>
26         </configuration>
27         <executions>
28           <execution>
29             <goals>
30               <goal>repackage</goal>
31             </goals>
32           </execution>
33         </executions>
34       </plugin>
35       <plugin>
36         <groupId>org.apache.maven.plugins</groupId>
37         <artifactId>maven-dependency-plugin</artifactId>
38         <executions>
39           <execution>
40             <id>extract-docker-file</id>
41           </execution>
42         </executions>
43       </plugin>
44       <plugin>
45         <groupId>io.fabric8</groupId>
46         <artifactId>fabric8-maven-plugin</artifactId>
47         <executions>
48           <execution>
49             <id>start</id>
50           </execution>
51         </executions>
52       </plugin>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-compiler-plugin</artifactId>
56         <version>3.3</version>
57         <configuration>
58           <source>1.8</source>
59           <target>1.8</target>
60           <fork>true</fork>
61           <compilerArgs>
62             <arg>-parameters</arg>
63           </compilerArgs>
64         </configuration>
65       </plugin>
66       <plugin>
67         <groupId>org.apache.maven.plugins</groupId>
68         <artifactId>maven-surefire-plugin</artifactId>
69         <executions>
70           <execution>
71             <id>default-test</id>
72             <goals>
73               <goal>test</goal>
74             </goals>
75             <configuration>
76               <includes>
77                 <include>**/AllTestsTestSuite.java</include>
78               </includes>
79               <parallel>suites</parallel>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84     </plugins>
85     <pluginManagement>
86       <plugins>
87         <!--This plugin's configuration is used to store Eclipse m2e settings 
88                                         only. It has no influence on the Maven build itself. -->
89         <plugin>
90           <groupId>org.eclipse.m2e</groupId>
91           <artifactId>lifecycle-mapping</artifactId>
92           <version>1.0.0</version>
93           <configuration>
94             <lifecycleMappingMetadata>
95               <pluginExecutions>
96                 <pluginExecution>
97                   <pluginExecutionFilter>
98                     <groupId>
99                                                                                         org.jvnet.jax-ws-commons
100                                                                                 </groupId>
101                     <artifactId>
102                                                                                         jaxws-maven-plugin
103                                                                                 </artifactId>
104                     <versionRange>
105                                                                                         [2.3,)
106                                                                                 </versionRange>
107                     <goals>
108                       <goal>wsgen</goal>
109                     </goals>
110                   </pluginExecutionFilter>
111                   <action>
112                     <ignore>
113                     </ignore>
114                   </action>
115                 </pluginExecution>
116               </pluginExecutions>
117             </lifecycleMappingMetadata>
118           </configuration>
119         </plugin>
120
121         <plugin>
122           <groupId>org.jacoco</groupId>
123           <artifactId>jacoco-maven-plugin</artifactId>
124         </plugin>
125       </plugins>
126     </pluginManagement>
127     <finalName>${project.artifactId}-${project.version}</finalName>
128   </build>
129   <dependencyManagement>
130     <dependencies>
131       <dependency>
132         <!-- Import dependency management from Spring Boot -->
133         <groupId>org.springframework.boot</groupId>
134         <artifactId>spring-boot-dependencies</artifactId>
135         <version>${springboot.version}</version>
136         <type>pom</type>
137         <scope>import</scope>
138       </dependency>
139     </dependencies>
140   </dependencyManagement>
141   <dependencies>
142     <dependency>
143       <groupId>org.springframework.boot</groupId>
144       <artifactId>spring-boot-starter-web</artifactId>
145     </dependency>
146     <dependency>
147       <groupId>io.swagger</groupId>
148       <artifactId>swagger-jersey2-jaxrs</artifactId>
149       <version>1.5.16</version>
150     </dependency>
151     <dependency>
152       <groupId>org.mariadb.jdbc</groupId>
153       <artifactId>mariadb-java-client</artifactId>
154     </dependency>
155     <dependency>
156       <groupId>org.springframework.boot</groupId>
157       <artifactId>spring-boot-starter-actuator</artifactId>
158     </dependency>
159     <dependency>
160       <groupId>org.springframework.boot</groupId>
161       <artifactId>spring-boot-starter-jersey</artifactId>
162     </dependency>
163     <dependency>
164       <groupId>org.springframework.boot</groupId>
165       <artifactId>spring-boot-starter-data-jpa</artifactId>
166       <exclusions>
167         <exclusion>
168           <groupId>org.apache.tomcat</groupId>
169           <artifactId>tomcat-jdbc</artifactId>
170         </exclusion>
171       </exclusions>
172     </dependency>
173     <dependency>
174       <groupId>org.springframework.boot</groupId>
175       <artifactId>spring-boot-starter-test</artifactId>
176       <scope>test</scope>
177     </dependency>
178     <dependency>
179       <groupId>org.onap.so</groupId>
180       <artifactId>mso-catalog-db</artifactId>
181       <version>${project.version}</version>
182     </dependency>
183     <dependency>
184       <groupId>uk.co.blackpepper.bowman</groupId>
185       <artifactId>bowman-client</artifactId>
186       <version>0.3.0</version>
187     </dependency>
188     <dependency>
189       <groupId>ch.vorburger.mariaDB4j</groupId>
190       <artifactId>mariaDB4j</artifactId>
191       <version>2.2.3</version>
192       <scope>test</scope>
193     </dependency>
194     <dependency>
195       <groupId>org.flywaydb</groupId>
196       <artifactId>flyway-core</artifactId>
197     </dependency>
198     <dependency>
199       <groupId>io.micrometer</groupId>
200       <artifactId>micrometer-core</artifactId>
201     </dependency>
202     <dependency>
203       <groupId>io.micrometer</groupId>
204       <artifactId>micrometer-registry-prometheus</artifactId>
205     </dependency>
206   </dependencies>
207 </project>