2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.2.0</version>
32 <groupId>org.onap.aai.gizmo</groupId>
33 <artifactId>gizmo</artifactId>
34 <version>1.4.0-SNAPSHOT</version>
35 <name>aai-gizmo</name>
38 <docker.location>${basedir}/target</docker.location>
39 <version.org.onap.aai.aai-common>1.4.0-SNAPSHOT</version.org.onap.aai.aai-common>
40 <event.client.version>1.3.1</event.client.version>
43 <dependencyManagement>
46 <!-- Import dependency management from Spring Boot -->
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-dependencies</artifactId>
49 <version>1.5.17.RELEASE</version>
54 </dependencyManagement>
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-web</artifactId>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-jetty</artifactId>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter</artifactId>
70 <groupId>ch.qos.logback</groupId>
71 <artifactId>logback-classic</artifactId>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-jersey</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-actuator</artifactId>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-configuration-processor</artifactId>
86 <optional>true</optional>
89 <groupId>org.springframework.boot</groupId>
90 <artifactId>spring-boot-starter-test</artifactId>
94 <groupId>org.apache.cxf</groupId>
95 <artifactId>cxf-rt-frontend-jaxrs</artifactId>
96 <version>3.2.5</version>
101 <groupId>io.swagger</groupId>
102 <artifactId>swagger-jersey2-jaxrs</artifactId>
103 <version>1.5.8</version>
106 <groupId>io.springfox</groupId>
107 <artifactId>springfox-swagger2</artifactId>
108 <version>2.9.2</version>
111 <groupId>io.springfox</groupId>
112 <artifactId>springfox-swagger-ui</artifactId>
113 <version>2.9.2</version>
117 <!-- ONAP AAI-COMMON (incl. model) -->
119 <groupId>org.onap.aai.aai-common</groupId>
120 <artifactId>aai-schema</artifactId>
121 <version>${version.org.onap.aai.aai-common}</version>
124 <groupId>org.onap.aai.aai-common</groupId>
125 <artifactId>aai-schema-ingest</artifactId>
126 <version>${version.org.onap.aai.aai-common}</version>
129 <groupId>org.onap.aai.aai-common</groupId>
130 <artifactId>aai-core</artifactId>
131 <version>${version.org.onap.aai.aai-common}</version>
135 <artifactId>*</artifactId>
140 <groupId>org.onap.aai.aai-common</groupId>
141 <artifactId>aai-utils</artifactId>
142 <version>${version.org.onap.aai.aai-common}</version>
145 <groupId>org.onap.aai.aai-common</groupId>
146 <artifactId>aai-auth</artifactId>
147 <version>${version.org.onap.aai.aai-common}</version>
150 <!-- ONAP EVENT CLIENT -->
152 <groupId>org.onap.aai.event-client</groupId>
153 <artifactId>event-client-dmaap</artifactId>
154 <version>${event.client.version}</version>
157 <groupId>org.slf4j</groupId>
158 <artifactId>slf4j-api</artifactId>
163 <groupId>org.onap.aai.event-client</groupId>
164 <artifactId>event-client-kafka</artifactId>
165 <version>${event.client.version}</version>
168 <groupId>org.slf4j</groupId>
169 <artifactId>slf4j-api</artifactId>
175 <groupId>org.onap.aai.event-client</groupId>
176 <artifactId>event-client-rabbitmq</artifactId>
177 <version>${event.client.version}</version>
180 <groupId>org.slf4j</groupId>
181 <artifactId>slf4j-api</artifactId>
186 <!-- ONAP COMMON LOGGING -->
188 <groupId>org.onap.aai.logging-service</groupId>
189 <artifactId>common-logging</artifactId>
190 <version>1.2.2</version>
193 <groupId>ch.qos.logback</groupId>
194 <artifactId>logback-classic</artifactId>
197 <groupId>ch.qos.logback</groupId>
198 <artifactId>logback-core</artifactId>
201 <groupId>org.slf4j</groupId>
202 <artifactId>slf4j-api</artifactId>
207 <!-- ONAP REST CLIENT -->
209 <groupId>org.onap.aai</groupId>
210 <artifactId>rest-client</artifactId>
211 <version>1.2.1</version>
215 <groupId>ch.qos.logback</groupId>
216 <artifactId>logback-classic</artifactId>
217 <version>1.2.3</version>
220 <groupId>ch.qos.logback</groupId>
221 <artifactId>logback-core</artifactId>
222 <version>1.2.3</version>
225 <groupId>ch.qos.logback</groupId>
226 <artifactId>logback-classic</artifactId>
231 <groupId>ch.qos.logback</groupId>
232 <artifactId>logback-access</artifactId>
233 <version>1.2.3</version>
236 <groupId>com.google.guava</groupId>
237 <artifactId>guava</artifactId>
240 <groupId>radeox</groupId>
241 <artifactId>radeox</artifactId>
242 <version>1.0-b2</version>
245 <groupId>org.codehaus.jackson</groupId>
246 <artifactId>jackson-mapper-asl</artifactId>
247 <version>1.4.5</version>
250 <groupId>commons-io</groupId>
251 <artifactId>commons-io</artifactId>
252 <version>2.4</version>
255 <groupId>org.apache.commons</groupId>
256 <artifactId>commons-lang3</artifactId>
257 <version>3.3.1</version>
260 <groupId>com.google.code.gson</groupId>
261 <artifactId>gson</artifactId>
262 <version>2.6.2</version>
265 <groupId>org.eclipse.persistence</groupId>
266 <artifactId>eclipselink</artifactId>
267 <version>2.6.2</version>
270 <groupId>net.dongliu</groupId>
271 <artifactId>gson-java8-datatype</artifactId>
272 <version>1.0.3</version>
275 <groupId>com.jayway.jsonpath</groupId>
276 <artifactId>json-path</artifactId>
277 <version>2.2.0</version>
280 <groupId>org.slf4j</groupId>
281 <artifactId>slf4j-api</artifactId>
286 <groupId>org.apache.tinkerpop</groupId>
287 <artifactId>gremlin-core</artifactId>
288 <version>3.2.3</version>
289 <scope>provided</scope>
292 <groupId>org.slf4j</groupId>
293 <artifactId>slf4j-log4j12</artifactId>
296 <groupId>org.slf4j</groupId>
297 <artifactId>jcl-over-slf4j</artifactId>
300 <groupId>org.slf4j</groupId>
301 <artifactId>slf4j-api</artifactId>
306 <groupId>org.apache.tinkerpop</groupId>
307 <artifactId>tinkergraph-gremlin</artifactId>
308 <version>3.2.3</version>
309 <scope>provided</scope>
312 <groupId>org.json</groupId>
313 <artifactId>json</artifactId>
314 <version>20160212</version>
317 <groupId>org.apache.httpcomponents</groupId>
318 <artifactId>httpclient</artifactId>
319 <version>4.5.3</version>
322 <groupId>org.apache.httpcomponents</groupId>
323 <artifactId>httpcore</artifactId>
324 <version>4.4.1</version>
327 <!-- TEST DEPENDENCIES -->
329 <groupId>junit</groupId>
330 <artifactId>junit</artifactId>
333 <groupId>org.skyscreamer</groupId>
334 <artifactId>jsonassert</artifactId>
335 <version>1.5.0</version>
339 <groupId>org.mockito</groupId>
340 <artifactId>mockito-core</artifactId>
341 <version>2.15.0</version>
345 <groupId>org.hamcrest</groupId>
346 <artifactId>hamcrest-library</artifactId>
353 <finalName>${project.artifactId}</finalName>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-resources-plugin</artifactId>
358 <version>2.7</version>
361 <id>copy-docker-file</id>
362 <phase>package</phase>
364 <goal>copy-resources</goal>
367 <outputDirectory>target</outputDirectory>
368 <overwrite>true</overwrite>
371 <directory>${basedir}/src/main/docker</directory>
372 <filtering>true</filtering>
374 <include>**/*</include>
378 <directory>${basedir}</directory>
379 <filtering>true</filtering>
381 <include>bundleconfig-local/**</include>
385 <directory>${basedir}/src/main/bin/</directory>
394 <groupId>com.spotify</groupId>
395 <artifactId>docker-maven-plugin</artifactId>
396 <version>0.4.11</version>
398 <verbose>true</verbose>
399 <serverId>docker-hub</serverId>
400 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
401 <dockerDirectory>${docker.location}</dockerDirectory>
403 <imageTag>latest</imageTag>
405 <forceTags>true</forceTags>
409 <!-- license plugin -->
410 <!-- Uncomment this to add a license header to every source file -->
412 <groupId>com.mycila</groupId>
413 <artifactId>license-maven-plugin</artifactId>
414 <version>3.0</version>
416 <header>License.txt</header>
418 <include>src/main/java/**</include>
419 <include>src/test/java/**</include>
420 <include>pom.xml</include>
422 <skipExistingHeaders>true</skipExistingHeaders>
427 <!-- Set goal from "check" to "format" to auto update license headers -->
430 <phase>process-sources</phase>
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-site-plugin</artifactId>
438 <version>3.3</version>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-checkstyle-plugin</artifactId>
444 <version>2.17</version>
448 <report>checkstyle</report>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-deploy-plugin</artifactId>
464 <groupId>org.springframework.boot</groupId>
465 <artifactId>spring-boot-maven-plugin</artifactId>
466 <version>2.0.1.RELEASE</version>
470 <goal>repackage</goal>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-dependency-plugin</artifactId>
481 <phase>prepare-package</phase>
488 <groupId>org.onap.aai.aai-common</groupId>
489 <artifactId>aai-schema</artifactId>
490 <version>${version.org.onap.aai.aai-common}</version>
492 <includes>onap/**/</includes>
493 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
503 <distributionManagement>
505 <id>ecomp-javadoc</id>
506 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
508 </distributionManagement>