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