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>
42 <dependencyManagement>
45 <!-- Import dependency management from Spring Boot -->
46 <groupId>org.springframework.boot</groupId>
47 <artifactId>spring-boot-dependencies</artifactId>
48 <version>1.5.15.RELEASE</version>
53 </dependencyManagement>
57 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-web</artifactId>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-jetty</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter</artifactId>
69 <groupId>ch.qos.logback</groupId>
70 <artifactId>logback-classic</artifactId>
75 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-starter-jersey</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-actuator</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-configuration-processor</artifactId>
85 <optional>true</optional>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-test</artifactId>
92 <groupId>org.apache.cxf</groupId>
93 <artifactId>cxf-rt-frontend-jaxrs</artifactId>
94 <version>3.2.5</version>
97 <!-- ONAP AAI-COMMON (incl. model) -->
99 <groupId>org.onap.aai.aai-common</groupId>
100 <artifactId>aai-schema</artifactId>
101 <version>${version.org.onap.aai.aai-common}</version>
104 <groupId>org.onap.aai.aai-common</groupId>
105 <artifactId>aai-schema-ingest</artifactId>
106 <version>${version.org.onap.aai.aai-common}</version>
109 <groupId>org.onap.aai.aai-common</groupId>
110 <artifactId>aai-core</artifactId>
111 <version>${version.org.onap.aai.aai-common}</version>
115 <artifactId>*</artifactId>
120 <groupId>org.onap.aai.aai-common</groupId>
121 <artifactId>aai-utils</artifactId>
122 <version>${version.org.onap.aai.aai-common}</version>
125 <groupId>org.onap.aai.aai-common</groupId>
126 <artifactId>aai-auth</artifactId>
127 <version>${version.org.onap.aai.aai-common}</version>
130 <!-- ONAP EVENT CLIENT -->
132 <groupId>org.onap.aai.event-client</groupId>
133 <artifactId>event-client-dmaap</artifactId>
134 <version>1.3.0</version>
137 <groupId>org.slf4j</groupId>
138 <artifactId>slf4j-api</artifactId>
143 <groupId>org.onap.aai.event-client</groupId>
144 <artifactId>event-client-kafka</artifactId>
145 <version>1.3.0</version>
148 <groupId>org.slf4j</groupId>
149 <artifactId>slf4j-api</artifactId>
154 <!-- ONAP COMMON LOGGING -->
156 <groupId>org.onap.aai.logging-service</groupId>
157 <artifactId>common-logging</artifactId>
158 <version>1.2.2</version>
161 <groupId>ch.qos.logback</groupId>
162 <artifactId>logback-classic</artifactId>
165 <groupId>ch.qos.logback</groupId>
166 <artifactId>logback-core</artifactId>
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-api</artifactId>
175 <!-- ONAP REST CLIENT -->
177 <groupId>org.onap.aai</groupId>
178 <artifactId>rest-client</artifactId>
179 <version>1.2.1</version>
183 <groupId>ch.qos.logback</groupId>
184 <artifactId>logback-classic</artifactId>
185 <version>1.2.3</version>
188 <groupId>ch.qos.logback</groupId>
189 <artifactId>logback-core</artifactId>
190 <version>1.2.3</version>
193 <groupId>ch.qos.logback</groupId>
194 <artifactId>logback-classic</artifactId>
199 <groupId>ch.qos.logback</groupId>
200 <artifactId>logback-access</artifactId>
201 <version>1.2.3</version>
204 <groupId>com.google.guava</groupId>
205 <artifactId>guava</artifactId>
208 <groupId>radeox</groupId>
209 <artifactId>radeox</artifactId>
210 <version>1.0-b2</version>
213 <groupId>org.codehaus.jackson</groupId>
214 <artifactId>jackson-mapper-asl</artifactId>
215 <version>1.4.5</version>
218 <groupId>commons-io</groupId>
219 <artifactId>commons-io</artifactId>
220 <version>2.4</version>
223 <groupId>org.apache.commons</groupId>
224 <artifactId>commons-lang3</artifactId>
225 <version>3.3.1</version>
228 <groupId>com.google.code.gson</groupId>
229 <artifactId>gson</artifactId>
230 <version>2.6.2</version>
233 <groupId>org.eclipse.persistence</groupId>
234 <artifactId>eclipselink</artifactId>
235 <version>2.6.2</version>
238 <groupId>net.dongliu</groupId>
239 <artifactId>gson-java8-datatype</artifactId>
240 <version>1.0.3</version>
243 <groupId>com.jayway.jsonpath</groupId>
244 <artifactId>json-path</artifactId>
245 <version>2.2.0</version>
248 <groupId>org.slf4j</groupId>
249 <artifactId>slf4j-api</artifactId>
254 <groupId>org.apache.tinkerpop</groupId>
255 <artifactId>gremlin-core</artifactId>
256 <version>3.2.3</version>
257 <scope>provided</scope>
260 <groupId>org.slf4j</groupId>
261 <artifactId>slf4j-log4j12</artifactId>
264 <groupId>org.slf4j</groupId>
265 <artifactId>jcl-over-slf4j</artifactId>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
274 <groupId>org.apache.tinkerpop</groupId>
275 <artifactId>tinkergraph-gremlin</artifactId>
276 <version>3.2.3</version>
277 <scope>provided</scope>
280 <groupId>org.json</groupId>
281 <artifactId>json</artifactId>
282 <version>20160212</version>
285 <groupId>org.apache.httpcomponents</groupId>
286 <artifactId>httpclient</artifactId>
287 <version>4.5.3</version>
290 <groupId>org.apache.httpcomponents</groupId>
291 <artifactId>httpcore</artifactId>
292 <version>4.4.1</version>
295 <!-- TEST DEPENDENCIES -->
297 <groupId>junit</groupId>
298 <artifactId>junit</artifactId>
301 <groupId>org.skyscreamer</groupId>
302 <artifactId>jsonassert</artifactId>
303 <version>1.5.0</version>
307 <groupId>org.mockito</groupId>
308 <artifactId>mockito-core</artifactId>
309 <version>1.10.19</version>
313 <groupId>org.hamcrest</groupId>
314 <artifactId>hamcrest-library</artifactId>
321 <finalName>${project.artifactId}</finalName>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-resources-plugin</artifactId>
326 <version>2.7</version>
329 <id>copy-docker-file</id>
330 <phase>package</phase>
332 <goal>copy-resources</goal>
335 <outputDirectory>target</outputDirectory>
336 <overwrite>true</overwrite>
339 <directory>${basedir}/src/main/docker</directory>
340 <filtering>true</filtering>
342 <include>**/*</include>
346 <directory>${basedir}</directory>
347 <filtering>true</filtering>
349 <include>bundleconfig-local/**</include>
353 <directory>${basedir}/src/main/bin/</directory>
362 <groupId>com.spotify</groupId>
363 <artifactId>docker-maven-plugin</artifactId>
364 <version>0.4.11</version>
366 <verbose>true</verbose>
367 <serverId>docker-hub</serverId>
368 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
369 <dockerDirectory>${docker.location}</dockerDirectory>
371 <imageTag>latest</imageTag>
373 <forceTags>true</forceTags>
377 <!-- license plugin -->
378 <!-- Uncomment this to add a license header to every source file -->
380 <groupId>com.mycila</groupId>
381 <artifactId>license-maven-plugin</artifactId>
382 <version>3.0</version>
384 <header>License.txt</header>
386 <include>src/main/java/**</include>
387 <include>src/test/java/**</include>
388 <include>pom.xml</include>
390 <skipExistingHeaders>true</skipExistingHeaders>
395 <!-- Set goal from "check" to "format" to auto update license headers -->
398 <phase>process-sources</phase>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-site-plugin</artifactId>
406 <version>3.3</version>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-checkstyle-plugin</artifactId>
412 <version>2.17</version>
416 <report>checkstyle</report>
425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-deploy-plugin</artifactId>
432 <groupId>org.springframework.boot</groupId>
433 <artifactId>spring-boot-maven-plugin</artifactId>
434 <version>2.0.1.RELEASE</version>
438 <goal>repackage</goal>
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-dependency-plugin</artifactId>
449 <phase>prepare-package</phase>
456 <groupId>org.onap.aai.aai-common</groupId>
457 <artifactId>aai-schema</artifactId>
458 <version>${version.org.onap.aai.aai-common}</version>
460 <includes>oxm/</includes>
461 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
464 <groupId>org.onap.aai.aai-common</groupId>
465 <artifactId>aai-core</artifactId>
466 <version>${version.org.onap.aai.aai-common}</version>
468 <includes>dbedgerules/</includes>
469 <excludes>**/*.ftlh</excludes>
470 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
480 <distributionManagement>
482 <id>ecomp-javadoc</id>
483 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
485 </distributionManagement>