blob: f871e120e7ee3bdbf7ec2024dacfa52c198a97a5 [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<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
5 <parent>
Arthur Martella22e015f2018-02-22 14:24:40 -05006 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +01007 <artifactId>mso-api-handlers</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04008 <version>1.3.0-SNAPSHOT</version>
ChrisC025301d2017-01-31 11:40:03 +01009 </parent>
10
11
12 <artifactId>mso-api-handler-infra</artifactId>
13
14 <name>mso-api-handler-infra</name>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040015 <description>ONAP SO API Handler Infra</description>
ChrisC025301d2017-01-31 11:40:03 +010016 <properties>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Rob Daugherty38f72072018-03-14 02:07:32 -040019 <swagger-version>1.3.0</swagger-version>
20 <jax-rs-version>1.1.1</jax-rs-version>
21 <json4s-jackson-version>3.2.4</json4s-jackson-version>
22 <json4s-core-version>3.0.0</json4s-core-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040023 <reflections-version>0.9.9-RC1</reflections-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040024 <paranamer-version>2.5.2</paranamer-version>
25 <scannotation-version>1.0.3</scannotation-version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040026 <jackson-version>1.9.2</jackson-version>
27 <java.version>1.8</java.version>
ChrisC025301d2017-01-31 11:40:03 +010028 </properties>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040029 <dependencyManagement>
30 <dependencies>
31 <dependency>
32 <!-- Import dependency management from Spring Boot -->
33 <groupId>org.springframework.boot</groupId>
34 <artifactId>spring-boot-dependencies</artifactId>
35 <version>${springboot.version}</version>
36 <type>pom</type>
37 <scope>import</scope>
38 </dependency>
39 </dependencies>
40 </dependencyManagement>
ChrisC025301d2017-01-31 11:40:03 +010041 <dependencies>
42 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040043 <groupId>org.springframework.boot</groupId>
44 <artifactId>spring-boot-starter-web</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040045 </dependency>
46 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040047 <groupId>io.swagger</groupId>
48 <artifactId>swagger-jersey2-jaxrs</artifactId>
49 <version>1.5.16</version>
ChrisC025301d2017-01-31 11:40:03 +010050 </dependency>
51 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040052 <groupId>com.h2database</groupId>
53 <artifactId>h2</artifactId>
ChrisC1ba1d192017-03-13 05:01:04 -070054 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040055 <dependency>
56 <groupId>org.mariadb.jdbc</groupId>
57 <artifactId>mariadb-java-client</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-actuator</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>org.springframework.boot</groupId>
65 <artifactId>spring-boot-starter-jersey</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-starter-data-jpa</artifactId>
70 <exclusions>
71 <exclusion>
72 <groupId>org.apache.tomcat</groupId>
73 <artifactId>tomcat-jdbc</artifactId>
74 </exclusion>
75 </exclusions>
76 </dependency>
77 <dependency>
78 <groupId>org.apache.commons</groupId>
79 <artifactId>commons-dbcp2</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>commons-lang</groupId>
83 <artifactId>commons-lang</artifactId>
84 <version>2.6</version>
85 </dependency>
86 <dependency>
87 <groupId>antlr</groupId>
88 <artifactId>antlr</artifactId>
89 </dependency>
ChrisC025301d2017-01-31 11:40:03 +010090 <dependency>
91 <groupId>javax.activation</groupId>
92 <artifactId>activation</artifactId>
93 <version>1.1.1</version>
ChrisC025301d2017-01-31 11:40:03 +010094 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040095 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040096 <groupId>javax.transaction</groupId>
97 <artifactId>jta</artifactId>
98 <version>1.1</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040099 </dependency>
ChrisC1ba1d192017-03-13 05:01:04 -0700100 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400101 <groupId>org.json4s</groupId>
102 <artifactId>json4s-jackson_2.9.1-1</artifactId>
103 <version>${json4s-jackson-version}</version>
104 </dependency>
105 <dependency>
106 <groupId>org.json4s</groupId>
107 <artifactId>json4s-core_2.9.2</artifactId>
108 <version>${json4s-core-version}</version>
109 </dependency>
110 <dependency>
111 <groupId>com.fasterxml.jackson.core</groupId>
112 <artifactId>jackson-databind</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400113 </dependency>
114 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400115 <groupId>com.fasterxml.jackson.core</groupId>
116 <artifactId>jackson-core</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400117 </dependency>
118 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400119 <groupId>com.fasterxml.jackson.core</groupId>
120 <artifactId>jackson-annotations</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400121 </dependency>
122 <dependency>
123 <groupId>javax.servlet</groupId>
124 <artifactId>servlet-api</artifactId>
125 <version>2.5</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400126 </dependency>
127 <dependency>
128 <groupId>org.javassist</groupId>
129 <artifactId>javassist</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400130 </dependency>
131 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400132 <groupId>org.json</groupId>
133 <artifactId>json</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400134 </dependency>
135 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400136 <groupId>com.fasterxml.jackson.jaxrs</groupId>
137 <artifactId>jackson-jaxrs-base</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400138 </dependency>
139 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400140 <groupId>com.fasterxml.jackson.jaxrs</groupId>
141 <artifactId>jackson-jaxrs-providers</artifactId>
142 <version>2.9.2</version>
143 <type>pom</type>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400144 </dependency>
Rob Daugherty38f72072018-03-14 02:07:32 -0400145
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400146 <!-- Dependencies on other MSO Projects -->
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400147 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500148 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100149 <artifactId>mso-requests-db</artifactId>
150 <version>${project.version}</version>
151 </dependency>
152 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500153 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400154 <artifactId>mso-catalog-db</artifactId>
155 <version>${project.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>org.onap.so</groupId>
159 <artifactId>MSORESTClient</artifactId>
160 <version>${project.version}</version>
161 </dependency>
162
163 <!-- Test Dependencies -->
164 <dependency>
165 <groupId>pl.pragmatists</groupId>
166 <artifactId>JUnitParams</artifactId>
167 <version>1.0.5</version>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>junit</groupId>
172 <artifactId>junit</artifactId>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
177 <artifactId>sdc-distribution-client</artifactId>
178 <version>1.3.0</version>
179 <exclusions>
180 <exclusion>
181 <groupId>org.slf4j</groupId>
182 <artifactId>slf4j-log4j12</artifactId>
183 </exclusion>
184 </exclusions>
185 </dependency>
186 <dependency>
187 <groupId>org.onap.so</groupId>
188 <artifactId>MSORESTClient</artifactId>
189 <version>${project.version}</version>
190 </dependency>
191 <dependency>
192 <groupId>com.github.java-json-tools</groupId>
193 <artifactId>json-schema-core</artifactId>
194 <version>1.2.8</version>
195 </dependency>
196 <dependency>
197 <groupId>com.github.java-json-tools</groupId>
198 <artifactId>json-schema-validator</artifactId>
199 <version>2.2.8</version>
200 </dependency>
201 <dependency>
202 <groupId>janino</groupId>
203 <artifactId>janino</artifactId>
204 <version>2.5.15</version>
205 </dependency>
206 <dependency>
207 <groupId>org.springframework.boot</groupId>
208 <artifactId>spring-boot-starter-test</artifactId>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
212 <groupId>com.h2database</groupId>
213 <artifactId>h2</artifactId>
214 </dependency>
215 <dependency>
216 <groupId>commons-beanutils</groupId>
217 <artifactId>commons-beanutils</artifactId>
218 </dependency>
219 <dependency>
220 <groupId>org.springframework.boot</groupId>
221 <artifactId>spring-boot-configuration-processor</artifactId>
222 <optional>true</optional>
223 </dependency>
224 <dependency>
225 <groupId>ch.vorburger.mariaDB4j</groupId>
226 <artifactId>mariaDB4j</artifactId>
227 <version>2.2.3</version>
228 <scope>test</scope>
229 </dependency>
230 <dependency>
231 <groupId>com.googlecode.junit-toolbox</groupId>
232 <artifactId>junit-toolbox</artifactId>
233 <version>2.4</version>
234 </dependency>
235 <dependency>
236 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100237 <artifactId>mso-api-handler-common</artifactId>
238 <version>${project.version}</version>
239 </dependency>
240 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400241 <groupId>org.springframework.cloud</groupId>
242 <artifactId>spring-cloud-contract-wiremock</artifactId>
243 <version>1.2.4.RELEASE</version>
Abhishek Shekharb454a282018-03-28 19:46:15 +0530244 <scope>test</scope>
245 </dependency>
246 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400247 <groupId>io.micrometer</groupId>
248 <artifactId>micrometer-spring-legacy</artifactId>
249 <version>1.0.5</version>
Rob Daugherty38f72072018-03-14 02:07:32 -0400250 </dependency>
251 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400252 <groupId>io.micrometer</groupId>
253 <artifactId>micrometer-registry-prometheus</artifactId>
254 <version>1.0.5</version>
Rob Daugherty38f72072018-03-14 02:07:32 -0400255 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100256 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400257
ChrisC025301d2017-01-31 11:40:03 +0100258 <build>
259 <finalName>${project.artifactId}-${project.version}</finalName>
260 <plugins>
ChrisC025301d2017-01-31 11:40:03 +0100261 <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-surefire-plugin</artifactId>
264 <executions>
265 <execution>
266 <id>default-test</id>
267 <goals>
268 <goal>test</goal>
269 </goals>
270 <configuration>
271 <includes>
272 <include>**/AllTestsTestSuite.java</include>
273 </includes>
274 </configuration>
275 </execution>
276 </executions>
277 </plugin>
278 <plugin>
279 <groupId>org.springframework.boot</groupId>
280 <artifactId>spring-boot-maven-plugin</artifactId>
ChrisC025301d2017-01-31 11:40:03 +0100281 <configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400282 <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
ChrisC025301d2017-01-31 11:40:03 +0100283 </configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400284 <executions>
285 <execution>
286 <goals>
287 <goal>repackage</goal>
288 </goals>
289 </execution>
290 </executions>
291 </plugin>
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-dependency-plugin</artifactId>
295 <executions>
296 <execution>
297 <id>extract-docker-file</id>
298 </execution>
299 </executions>
300 </plugin>
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-jar-plugin</artifactId>
304 <executions>
305 <execution>
306 <id>original</id>
307 </execution>
308 </executions>
309 </plugin>
310 <plugin>
311 <groupId>io.fabric8</groupId>
312 <artifactId>fabric8-maven-plugin</artifactId>
313 <executions>
314 <execution>
315 <id>start</id>
316 </execution>
317 </executions>
ChrisC025301d2017-01-31 11:40:03 +0100318 </plugin>
319 </plugins>
320 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400321 <packaging>jar</packaging>
322</project>