Fix start up
[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                 </plugins>
67                 <pluginManagement>
68                         <plugins>
69                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
70                                         only. It has no influence on the Maven build itself. -->
71                                 <plugin>
72                                         <groupId>org.eclipse.m2e</groupId>
73                                         <artifactId>lifecycle-mapping</artifactId>
74                                         <version>1.0.0</version>
75                                         <configuration>
76                                                 <lifecycleMappingMetadata>
77                                                         <pluginExecutions>
78                                                                 <pluginExecution>
79                                                                         <pluginExecutionFilter>
80                                                                                 <groupId>
81                                                                                         org.jvnet.jax-ws-commons
82                                                                                 </groupId>
83                                                                                 <artifactId>
84                                                                                         jaxws-maven-plugin
85                                                                                 </artifactId>
86                                                                                 <versionRange>
87                                                                                         [2.3,)
88                                                                                 </versionRange>
89                                                                                 <goals>
90                                                                                         <goal>wsgen</goal>
91                                                                                 </goals>
92                                                                         </pluginExecutionFilter>
93                                                                         <action>
94                                                                                 <ignore></ignore>
95                                                                         </action>
96                                                                 </pluginExecution>
97                                                         </pluginExecutions>
98                                                 </lifecycleMappingMetadata>
99                                         </configuration>
100                                 </plugin>
101
102                                 <plugin>
103                                         <groupId>org.jacoco</groupId>
104                                         <artifactId>jacoco-maven-plugin</artifactId>
105                                 </plugin>
106                         </plugins>
107                 </pluginManagement>
108                 <finalName>${project.artifactId}-${project.version}</finalName>
109         </build>
110         <dependencyManagement>
111                 <dependencies>
112                         <dependency>
113                                 <!-- Import dependency management from Spring Boot -->
114                                 <groupId>org.springframework.boot</groupId>
115                                 <artifactId>spring-boot-dependencies</artifactId>
116                                 <version>${springboot.version}</version>
117                                 <type>pom</type>
118                                 <scope>import</scope>
119                         </dependency>
120                 </dependencies>
121         </dependencyManagement>
122         <dependencies>
123                 <dependency>
124                         <groupId>org.springframework.boot</groupId>
125                         <artifactId>spring-boot-starter-web</artifactId>
126                 </dependency>           
127                 <dependency>
128                         <groupId>io.swagger</groupId>
129                         <artifactId>swagger-jersey2-jaxrs</artifactId>
130                         <version>1.5.16</version>
131                 </dependency>
132                 <dependency>
133                         <groupId>org.mariadb.jdbc</groupId>
134                         <artifactId>mariadb-java-client</artifactId>
135                 </dependency>
136                 <dependency>
137                         <groupId>org.springframework.boot</groupId>
138                         <artifactId>spring-boot-starter-actuator</artifactId>
139                 </dependency>
140                 <dependency>
141                         <groupId>org.springframework.boot</groupId>
142                         <artifactId>spring-boot-starter-jersey</artifactId>
143                 </dependency>
144                 <dependency>
145                         <groupId>org.springframework.boot</groupId>
146                         <artifactId>spring-boot-starter-data-jpa</artifactId>
147                         <exclusions>
148                         <exclusion>
149                             <groupId>org.apache.tomcat</groupId>
150                             <artifactId>tomcat-jdbc</artifactId>
151                          </exclusion>
152                 </exclusions>
153                 </dependency>
154                 <dependency>
155                         <groupId>org.springframework.boot</groupId>
156                         <artifactId>spring-boot-starter-test</artifactId>
157                         <scope>test</scope>
158                 </dependency>
159                 <dependency>
160                         <groupId>org.onap.so</groupId>
161                         <artifactId>mso-catalog-db</artifactId>
162                         <version>${project.version}</version>
163                 </dependency>
164                 <dependency>
165                         <groupId>uk.co.blackpepper.bowman</groupId>
166                         <artifactId>bowman-client</artifactId>
167                         <version>0.3.0</version>
168                 </dependency>
169                 <dependency>
170                         <groupId>ch.vorburger.mariaDB4j</groupId>
171                         <artifactId>mariaDB4j</artifactId>
172                         <version>2.2.3</version>
173                         <scope>test</scope>
174                 </dependency>
175                 <dependency>
176                         <groupId>org.flywaydb</groupId>
177                         <artifactId>flyway-core</artifactId>
178                 </dependency>
179                 <dependency>
180                         <groupId>io.micrometer</groupId>
181                         <artifactId>micrometer-core</artifactId>
182                 </dependency>
183                 <dependency>
184                         <groupId>io.micrometer</groupId>
185                         <artifactId>micrometer-registry-prometheus</artifactId>
186                 </dependency>
187         </dependencies>
188 </project>