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