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