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.2.4</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.15.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>
93 <groupId>org.apache.cxf</groupId>
94 <artifactId>cxf-rt-frontend-jaxrs</artifactId>
95 <version>3.2.5</version>
100 <groupId>io.swagger</groupId>
101 <artifactId>swagger-jersey2-jaxrs</artifactId>
102 <version>1.5.8</version>
105 <groupId>io.springfox</groupId>
106 <artifactId>springfox-swagger2</artifactId>
107 <version>2.9.2</version>
110 <groupId>io.springfox</groupId>
111 <artifactId>springfox-swagger-ui</artifactId>
112 <version>2.9.2</version>
116 <!-- ONAP AAI-COMMON (incl. model) -->
118 <groupId>org.onap.aai.aai-common</groupId>
119 <artifactId>aai-schema</artifactId>
120 <version>${version.org.onap.aai.aai-common}</version>
123 <groupId>org.onap.aai.aai-common</groupId>
124 <artifactId>aai-schema-ingest</artifactId>
125 <version>${version.org.onap.aai.aai-common}</version>
128 <groupId>org.onap.aai.aai-common</groupId>
129 <artifactId>aai-core</artifactId>
130 <version>${version.org.onap.aai.aai-common}</version>
134 <artifactId>*</artifactId>
139 <groupId>org.onap.aai.aai-common</groupId>
140 <artifactId>aai-utils</artifactId>
141 <version>${version.org.onap.aai.aai-common}</version>
144 <groupId>org.onap.aai.aai-common</groupId>
145 <artifactId>aai-auth</artifactId>
146 <version>${version.org.onap.aai.aai-common}</version>
149 <!-- ONAP EVENT CLIENT -->
151 <groupId>org.onap.aai.event-client</groupId>
152 <artifactId>event-client-dmaap</artifactId>
153 <version>${event.client.version}</version>
156 <groupId>org.slf4j</groupId>
157 <artifactId>slf4j-api</artifactId>
162 <groupId>org.onap.aai.event-client</groupId>
163 <artifactId>event-client-kafka</artifactId>
164 <version>${event.client.version}</version>
167 <groupId>org.slf4j</groupId>
168 <artifactId>slf4j-api</artifactId>
174 <groupId>org.onap.aai.event-client</groupId>
175 <artifactId>event-client-rabbitmq</artifactId>
176 <version>${event.client.version}</version>
179 <groupId>org.slf4j</groupId>
180 <artifactId>slf4j-api</artifactId>
185 <!-- ONAP COMMON LOGGING -->
187 <groupId>org.onap.aai.logging-service</groupId>
188 <artifactId>common-logging</artifactId>
189 <version>1.2.2</version>
192 <groupId>ch.qos.logback</groupId>
193 <artifactId>logback-classic</artifactId>
196 <groupId>ch.qos.logback</groupId>
197 <artifactId>logback-core</artifactId>
200 <groupId>org.slf4j</groupId>
201 <artifactId>slf4j-api</artifactId>
206 <!-- ONAP REST CLIENT -->
208 <groupId>org.onap.aai</groupId>
209 <artifactId>rest-client</artifactId>
210 <version>1.2.1</version>
214 <groupId>ch.qos.logback</groupId>
215 <artifactId>logback-classic</artifactId>
216 <version>1.2.3</version>
219 <groupId>ch.qos.logback</groupId>
220 <artifactId>logback-core</artifactId>
221 <version>1.2.3</version>
224 <groupId>ch.qos.logback</groupId>
225 <artifactId>logback-classic</artifactId>
230 <groupId>ch.qos.logback</groupId>
231 <artifactId>logback-access</artifactId>
232 <version>1.2.3</version>
235 <groupId>com.google.guava</groupId>
236 <artifactId>guava</artifactId>
239 <groupId>radeox</groupId>
240 <artifactId>radeox</artifactId>
241 <version>1.0-b2</version>
244 <groupId>org.codehaus.jackson</groupId>
245 <artifactId>jackson-mapper-asl</artifactId>
246 <version>1.4.5</version>
249 <groupId>commons-io</groupId>
250 <artifactId>commons-io</artifactId>
251 <version>2.4</version>
254 <groupId>org.apache.commons</groupId>
255 <artifactId>commons-lang3</artifactId>
256 <version>3.3.1</version>
259 <groupId>com.google.code.gson</groupId>
260 <artifactId>gson</artifactId>
261 <version>2.6.2</version>
264 <groupId>org.eclipse.persistence</groupId>
265 <artifactId>eclipselink</artifactId>
266 <version>2.6.2</version>
269 <groupId>net.dongliu</groupId>
270 <artifactId>gson-java8-datatype</artifactId>
271 <version>1.0.3</version>
274 <groupId>com.jayway.jsonpath</groupId>
275 <artifactId>json-path</artifactId>
276 <version>2.2.0</version>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-api</artifactId>
285 <groupId>org.apache.tinkerpop</groupId>
286 <artifactId>gremlin-core</artifactId>
287 <version>3.2.3</version>
288 <scope>provided</scope>
291 <groupId>org.slf4j</groupId>
292 <artifactId>slf4j-log4j12</artifactId>
295 <groupId>org.slf4j</groupId>
296 <artifactId>jcl-over-slf4j</artifactId>
299 <groupId>org.slf4j</groupId>
300 <artifactId>slf4j-api</artifactId>
305 <groupId>org.apache.tinkerpop</groupId>
306 <artifactId>tinkergraph-gremlin</artifactId>
307 <version>3.2.3</version>
308 <scope>provided</scope>
311 <groupId>org.json</groupId>
312 <artifactId>json</artifactId>
313 <version>20160212</version>
316 <groupId>org.apache.httpcomponents</groupId>
317 <artifactId>httpclient</artifactId>
318 <version>4.5.3</version>
321 <groupId>org.apache.httpcomponents</groupId>
322 <artifactId>httpcore</artifactId>
323 <version>4.4.1</version>
326 <!-- TEST DEPENDENCIES -->
328 <groupId>junit</groupId>
329 <artifactId>junit</artifactId>
332 <groupId>org.skyscreamer</groupId>
333 <artifactId>jsonassert</artifactId>
334 <version>1.5.0</version>
338 <groupId>org.mockito</groupId>
339 <artifactId>mockito-core</artifactId>
340 <version>1.10.19</version>
344 <groupId>org.hamcrest</groupId>
345 <artifactId>hamcrest-library</artifactId>
352 <finalName>${project.artifactId}</finalName>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-resources-plugin</artifactId>
357 <version>2.7</version>
360 <id>copy-docker-file</id>
361 <phase>package</phase>
363 <goal>copy-resources</goal>
366 <outputDirectory>target</outputDirectory>
367 <overwrite>true</overwrite>
370 <directory>${basedir}/src/main/docker</directory>
371 <filtering>true</filtering>
373 <include>**/*</include>
377 <directory>${basedir}</directory>
378 <filtering>true</filtering>
380 <include>bundleconfig-local/**</include>
384 <directory>${basedir}/src/main/bin/</directory>
393 <groupId>com.spotify</groupId>
394 <artifactId>docker-maven-plugin</artifactId>
395 <version>0.4.11</version>
397 <verbose>true</verbose>
398 <serverId>docker-hub</serverId>
399 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
400 <dockerDirectory>${docker.location}</dockerDirectory>
402 <imageTag>latest</imageTag>
404 <forceTags>true</forceTags>
408 <!-- license plugin -->
409 <!-- Uncomment this to add a license header to every source file -->
411 <groupId>com.mycila</groupId>
412 <artifactId>license-maven-plugin</artifactId>
413 <version>3.0</version>
415 <header>License.txt</header>
417 <include>src/main/java/**</include>
418 <include>src/test/java/**</include>
419 <include>pom.xml</include>
421 <skipExistingHeaders>true</skipExistingHeaders>
426 <!-- Set goal from "check" to "format" to auto update license headers -->
429 <phase>process-sources</phase>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-site-plugin</artifactId>
437 <version>3.3</version>
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-checkstyle-plugin</artifactId>
443 <version>2.17</version>
447 <report>checkstyle</report>
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-deploy-plugin</artifactId>
463 <groupId>org.springframework.boot</groupId>
464 <artifactId>spring-boot-maven-plugin</artifactId>
465 <version>2.0.1.RELEASE</version>
469 <goal>repackage</goal>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-dependency-plugin</artifactId>
480 <phase>prepare-package</phase>
487 <groupId>org.onap.aai.aai-common</groupId>
488 <artifactId>aai-schema</artifactId>
489 <version>${version.org.onap.aai.aai-common}</version>
491 <includes>oxm/</includes>
492 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
495 <groupId>org.onap.aai.aai-common</groupId>
496 <artifactId>aai-core</artifactId>
497 <version>${version.org.onap.aai.aai-common}</version>
499 <includes>dbedgerules/</includes>
500 <excludes>**/*.ftlh</excludes>
501 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
511 <distributionManagement>
513 <id>ecomp-javadoc</id>
514 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
516 </distributionManagement>