blob: 1f6ea413ec83cb11a992b602b3914566f1169e74 [file] [log] [blame]
xg353yb6b7bef2017-04-11 13:30:42 +02001<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>
Arthur Martella22e015f2018-02-22 14:24:40 -05005 <groupId>org.onap.so</groupId>
xg353yb6b7bef2017-04-11 13:30:42 +02006 <artifactId>adapters</artifactId>
Rob Daugherty325d4e22018-10-19 15:13:38 -04007 <version>1.4.0-SNAPSHOT</version>
xg353yb6b7bef2017-04-11 13:30:42 +02008 </parent>
9
Arthur Martella22e015f2018-02-22 14:24:40 -050010 <groupId>org.onap.so.adapters</groupId>
xg353yb6b7bef2017-04-11 13:30:42 +020011 <artifactId>mso-catalog-db-adapter</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040012 <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>
xg353yb6b7bef2017-04-11 13:30:42 +020018 <build>
xg353yb6b7bef2017-04-11 13:30:42 +020019 <plugins>
20 <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040021 <groupId>org.springframework.boot</groupId>
22 <artifactId>spring-boot-maven-plugin</artifactId>
23 <version>${springboot.version}</version>
xg353yb6b7bef2017-04-11 13:30:42 +020024 <configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040025 <mainClass>org.onap.so.adapters.catalogdb.CatalogDBApplication</mainClass>
xg353yb6b7bef2017-04-11 13:30:42 +020026 </configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040027 <executions>
28 <execution>
29 <goals>
30 <goal>repackage</goal>
31 </goals>
32 </execution>
33 </executions>
xg353yb6b7bef2017-04-11 13:30:42 +020034 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040035 <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>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040053 <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>
Benjamin, Max (mb388a)aaa93d42019-03-20 14:12:06 -040066 <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>
xg353yb6b7bef2017-04-11 13:30:42 +020084 </plugins>
85 <pluginManagement>
86 <plugins>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040087 <!--This plugin's configuration is used to store Eclipse m2e settings
xg353yb6b7bef2017-04-11 13:30:42 +020088 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>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400105 [2.3,)
xg353yb6b7bef2017-04-11 13:30:42 +0200106 </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>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400119
120 <plugin>
121 <groupId>org.jacoco</groupId>
122 <artifactId>jacoco-maven-plugin</artifactId>
123 </plugin>
xg353yb6b7bef2017-04-11 13:30:42 +0200124 </plugins>
125 </pluginManagement>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400126 <finalName>${project.artifactId}-${project.version}</finalName>
xg353yb6b7bef2017-04-11 13:30:42 +0200127 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400128 <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>
xg353yb6b7bef2017-04-11 13:30:42 +0200140 <dependencies>
141 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400142 <groupId>org.springframework.boot</groupId>
143 <artifactId>spring-boot-starter-web</artifactId>
Benjamin, Max (mb388a)7a121bf2018-11-16 12:34:53 -0500144 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400145 <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>
Kalkere Ramesh, Sharan (sk720x)df63fb22019-02-21 18:34:56 -0500165 <exclusions>
166 <exclusion>
167 <groupId>org.apache.tomcat</groupId>
168 <artifactId>tomcat-jdbc</artifactId>
169 </exclusion>
170 </exclusions>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400171 </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>
xg353yb6b7bef2017-04-11 13:30:42 +0200179 <artifactId>mso-catalog-db</artifactId>
180 <version>${project.version}</version>
181 </dependency>
Arthur Martellae371d752017-10-02 11:03:02 -0400182 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400183 <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>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400195 <artifactId>flyway-core</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400196 </dependency>
197 <dependency>
198 <groupId>io.micrometer</groupId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400199 <artifactId>micrometer-core</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400200 </dependency>
201 <dependency>
202 <groupId>io.micrometer</groupId>
203 <artifactId>micrometer-registry-prometheus</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400204 </dependency>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500205 </dependencies>
Rob Daugherty325d4e22018-10-19 15:13:38 -0400206</project>