Upgrade swagger in mso-catalog-db-adapter
[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     <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           </execution>
43         </executions>
44       </plugin>
45       <plugin>
46         <groupId>io.fabric8</groupId>
47         <artifactId>fabric8-maven-plugin</artifactId>
48         <executions>
49           <execution>
50             <id>start</id>
51           </execution>
52         </executions>
53       </plugin>
54       <plugin>
55         <groupId>org.apache.maven.plugins</groupId>
56         <artifactId>maven-compiler-plugin</artifactId>
57         <version>3.3</version>
58         <configuration>
59           <source>1.8</source>
60           <target>1.8</target>
61           <fork>true</fork>
62           <compilerArgs>
63             <arg>-parameters</arg>
64           </compilerArgs>
65         </configuration>
66       </plugin>
67       <plugin>
68         <groupId>org.apache.maven.plugins</groupId>
69         <artifactId>maven-surefire-plugin</artifactId>
70         <executions>
71           <execution>
72             <id>default-test</id>
73             <goals>
74               <goal>test</goal>
75             </goals>
76             <configuration>
77               <includes>
78                 <include>**/AllTestsTestSuite.java</include>
79               </includes>
80               <parallel>suites</parallel>
81             </configuration>
82           </execution>
83         </executions>
84       </plugin>
85     </plugins>
86     <pluginManagement>
87       <plugins>
88         <!--This plugin's configuration is used to store Eclipse m2e settings 
89                                         only. It has no influence on the Maven build itself. -->
90         <plugin>
91           <groupId>org.eclipse.m2e</groupId>
92           <artifactId>lifecycle-mapping</artifactId>
93           <version>1.0.0</version>
94           <configuration>
95             <lifecycleMappingMetadata>
96               <pluginExecutions>
97                 <pluginExecution>
98                   <pluginExecutionFilter>
99                     <groupId>
100                                                                                         org.jvnet.jax-ws-commons
101                                                                                 </groupId>
102                     <artifactId>
103                                                                                         jaxws-maven-plugin
104                                                                                 </artifactId>
105                     <versionRange>
106                                                                                         [2.3,)
107                                                                                 </versionRange>
108                     <goals>
109                       <goal>wsgen</goal>
110                     </goals>
111                   </pluginExecutionFilter>
112                   <action>
113                     <ignore>
114                     </ignore>
115                   </action>
116                 </pluginExecution>
117               </pluginExecutions>
118             </lifecycleMappingMetadata>
119           </configuration>
120         </plugin>
121
122         <plugin>
123           <groupId>org.jacoco</groupId>
124           <artifactId>jacoco-maven-plugin</artifactId>
125         </plugin>
126       </plugins>
127     </pluginManagement>
128     <finalName>${project.artifactId}-${project.version}</finalName>
129   </build>
130   <dependencyManagement>
131     <dependencies>
132       <dependency>
133         <!-- Import dependency management from Spring Boot -->
134         <groupId>org.springframework.boot</groupId>
135         <artifactId>spring-boot-dependencies</artifactId>
136         <version>${springboot.version}</version>
137         <type>pom</type>
138         <scope>import</scope>
139       </dependency>
140     </dependencies>
141   </dependencyManagement>
142   <dependencies>
143     <dependency>
144       <groupId>org.springframework.boot</groupId>
145       <artifactId>spring-boot-starter-web</artifactId>
146     </dependency>
147
148     <dependency>
149       <groupId>com.fasterxml.jackson.dataformat</groupId>
150       <artifactId>jackson-dataformat-yaml</artifactId>
151       <version>2.9.9</version>
152     </dependency>
153
154     <dependency>
155       <groupId>io.swagger.core.v3</groupId>
156       <artifactId>swagger-annotations</artifactId>
157       <version>${swagger.version}</version>
158     </dependency>
159     <dependency>
160       <groupId>io.swagger.core.v3</groupId>
161       <artifactId>swagger-jaxrs2</artifactId>
162       <version>2.0.6</version>
163     </dependency>
164     <dependency>
165       <groupId>org.mariadb.jdbc</groupId>
166       <artifactId>mariadb-java-client</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>org.springframework.boot</groupId>
170       <artifactId>spring-boot-starter-actuator</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.springframework.boot</groupId>
174       <artifactId>spring-boot-starter-jersey</artifactId>
175     </dependency>
176     <dependency>
177       <groupId>org.springframework.boot</groupId>
178       <artifactId>spring-boot-starter-data-jpa</artifactId>
179       <exclusions>
180         <exclusion>
181           <groupId>org.apache.tomcat</groupId>
182           <artifactId>tomcat-jdbc</artifactId>
183         </exclusion>
184       </exclusions>
185     </dependency>
186     <dependency>
187       <groupId>org.springframework.boot</groupId>
188       <artifactId>spring-boot-starter-test</artifactId>
189       <scope>test</scope>
190     </dependency>
191     <dependency>
192       <groupId>org.onap.so</groupId>
193       <artifactId>mso-catalog-db</artifactId>
194       <version>${project.version}</version>
195     </dependency>
196     <dependency>
197       <groupId>uk.co.blackpepper.bowman</groupId>
198       <artifactId>bowman-client</artifactId>
199       <version>0.3.0</version>
200     </dependency>
201     <dependency>
202       <groupId>ch.vorburger.mariaDB4j</groupId>
203       <artifactId>mariaDB4j</artifactId>
204       <version>2.2.3</version>
205       <scope>test</scope>
206     </dependency>
207     <dependency>
208       <groupId>org.flywaydb</groupId>
209       <artifactId>flyway-core</artifactId>
210     </dependency>
211     <dependency>
212       <groupId>io.micrometer</groupId>
213       <artifactId>micrometer-core</artifactId>
214     </dependency>
215     <dependency>
216       <groupId>io.micrometer</groupId>
217       <artifactId>micrometer-registry-prometheus</artifactId>
218     </dependency>
219   </dependencies>
220 </project>