Merge "Support for SO to ExtAPI"
[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></ignore>
113                                                                         </action>
114                                                                 </pluginExecution>
115                                                         </pluginExecutions>
116                                                 </lifecycleMappingMetadata>
117                                         </configuration>
118                                 </plugin>
119
120                                 <plugin>
121                                         <groupId>org.jacoco</groupId>
122                                         <artifactId>jacoco-maven-plugin</artifactId>
123                                 </plugin>
124                         </plugins>
125                 </pluginManagement>
126                 <finalName>${project.artifactId}-${project.version}</finalName>
127         </build>
128         <dependencyManagement>
129                 <dependencies>
130                         <dependency>
131                                 <!-- Import dependency management from Spring Boot -->
132                                 <groupId>org.springframework.boot</groupId>
133                                 <artifactId>spring-boot-dependencies</artifactId>
134                                 <version>${springboot.version}</version>
135                                 <type>pom</type>
136                                 <scope>import</scope>
137                         </dependency>
138                 </dependencies>
139         </dependencyManagement>
140         <dependencies>
141                 <dependency>
142                         <groupId>org.springframework.boot</groupId>
143                         <artifactId>spring-boot-starter-web</artifactId>
144                 </dependency>           
145                 <dependency>
146                         <groupId>io.swagger</groupId>
147                         <artifactId>swagger-jersey2-jaxrs</artifactId>
148                         <version>1.5.16</version>
149                 </dependency>
150                 <dependency>
151                         <groupId>org.mariadb.jdbc</groupId>
152                         <artifactId>mariadb-java-client</artifactId>
153                 </dependency>
154                 <dependency>
155                         <groupId>org.springframework.boot</groupId>
156                         <artifactId>spring-boot-starter-actuator</artifactId>
157                 </dependency>
158                 <dependency>
159                         <groupId>org.springframework.boot</groupId>
160                         <artifactId>spring-boot-starter-jersey</artifactId>
161                 </dependency>
162                 <dependency>
163                         <groupId>org.springframework.boot</groupId>
164                         <artifactId>spring-boot-starter-data-jpa</artifactId>
165                         <exclusions>
166                         <exclusion>
167                             <groupId>org.apache.tomcat</groupId>
168                             <artifactId>tomcat-jdbc</artifactId>
169                          </exclusion>
170                 </exclusions>
171                 </dependency>
172                 <dependency>
173                         <groupId>org.springframework.boot</groupId>
174                         <artifactId>spring-boot-starter-test</artifactId>
175                         <scope>test</scope>
176                 </dependency>
177                 <dependency>
178                         <groupId>org.onap.so</groupId>
179                         <artifactId>mso-catalog-db</artifactId>
180                         <version>${project.version}</version>
181                 </dependency>
182                 <dependency>
183                         <groupId>uk.co.blackpepper.bowman</groupId>
184                         <artifactId>bowman-client</artifactId>
185                         <version>0.3.0</version>
186                 </dependency>
187                 <dependency>
188                         <groupId>ch.vorburger.mariaDB4j</groupId>
189                         <artifactId>mariaDB4j</artifactId>
190                         <version>2.2.3</version>
191                         <scope>test</scope>
192                 </dependency>
193                 <dependency>
194                         <groupId>org.flywaydb</groupId>
195                         <artifactId>flyway-core</artifactId>
196                 </dependency>
197                 <dependency>
198                         <groupId>io.micrometer</groupId>
199                         <artifactId>micrometer-core</artifactId>
200                 </dependency>
201                 <dependency>
202                         <groupId>io.micrometer</groupId>
203                         <artifactId>micrometer-registry-prometheus</artifactId>
204                 </dependency>
205         </dependencies>
206 </project>