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=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>1.1.0</version>
33 <groupId>org.onap.aai.gizmo</groupId>
34 <artifactId>gizmo</artifactId>
35 <version>1.2.0-SNAPSHOT</version>
36 <name>aai-gizmo</name>
40 <docker.location>${basedir}/target</docker.location>
41 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
43 <testRouteOffer>workstation</testRouteOffer>
44 <testEnv>DEV</testEnv>
46 <sonar.language>java</sonar.language>
47 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
48 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
49 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
50 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
51 <sonar.projectVersion>${project.version}</sonar.projectVersion>
52 <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
55 <dependencyManagement>
58 <!-- Import dependency management from Spring Boot -->
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-dependencies</artifactId>
61 <version>1.5.12.RELEASE</version>
66 </dependencyManagement>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-web</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-jetty</artifactId>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter</artifactId>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-starter-jersey</artifactId>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-starter-actuator</artifactId>
90 <groupId>org.apache.cxf</groupId>
91 <artifactId>cxf-rt-frontend-jaxrs</artifactId>
92 <version>3.2.4</version>
95 <groupId>com.google.guava</groupId>
96 <artifactId>guava</artifactId>
97 <version>23.0</version>
100 <groupId>radeox</groupId>
101 <artifactId>radeox</artifactId>
102 <version>1.0-b2</version>
105 <groupId>org.codehaus.jackson</groupId>
106 <artifactId>jackson-mapper-asl</artifactId>
107 <version>1.9.13</version>
110 <groupId>org.mockito</groupId>
111 <artifactId>mockito-all</artifactId>
112 <version>1.9.5</version>
116 <groupId>dom4j</groupId>
117 <artifactId>dom4j</artifactId>
118 <version>1.6.1</version>
119 <scope>provided</scope>
122 <groupId>commons-io</groupId>
123 <artifactId>commons-io</artifactId>
124 <version>2.4</version>
127 <groupId>org.apache.commons</groupId>
128 <artifactId>commons-lang3</artifactId>
129 <version>3.3.1</version>
132 <groupId>com.google.code.gson</groupId>
133 <artifactId>gson</artifactId>
134 <version>2.6.2</version>
136 <!-- Common logging framework -->
138 <groupId>org.onap.aai.logging-service</groupId>
139 <artifactId>common-logging</artifactId>
140 <version>1.2.2</version>
143 <groupId>ch.qos.logback</groupId>
144 <artifactId>logback-classic</artifactId>
147 <groupId>ch.qos.logback</groupId>
148 <artifactId>logback-core</artifactId>
151 <groupId>org.slf4j</groupId>
152 <artifactId>slf4j-api</artifactId>
157 <groupId>org.onap.aai.event-client</groupId>
158 <artifactId>event-client-dmaap</artifactId>
159 <version>1.2.1</version>
162 <groupId>org.slf4j</groupId>
163 <artifactId>slf4j-api</artifactId>
168 <groupId>org.onap.aai.aai-common</groupId>
169 <artifactId>aai-schema</artifactId>
170 <version>1.2.1</version>
173 <groupId>org.onap.aai.aai-common</groupId>
174 <artifactId>aai-utils</artifactId>
175 <version>1.2.1</version>
178 <groupId>org.onap.aai.aai-common</groupId>
179 <artifactId>aai-core</artifactId>
180 <version>1.2.1</version>
184 <artifactId>*</artifactId>
189 <groupId>org.onap.aai.aai-common</groupId>
190 <artifactId>aai-auth</artifactId>
191 <version>1.2.1</version>
194 <groupId>org.eclipse.persistence</groupId>
195 <artifactId>eclipselink</artifactId>
196 <version>2.6.2</version>
199 <groupId>org.onap.aai</groupId>
200 <artifactId>rest-client</artifactId>
201 <version>1.2.1</version>
204 <groupId>net.dongliu</groupId>
205 <artifactId>gson-java8-datatype</artifactId>
206 <version>1.0.3</version>
209 <groupId>com.jayway.jsonpath</groupId>
210 <artifactId>json-path</artifactId>
211 <version>2.2.0</version>
214 <groupId>org.slf4j</groupId>
215 <artifactId>slf4j-api</artifactId>
219 <!-- AAI-CORE specific dependencies -->
221 <groupId>org.apache.tinkerpop</groupId>
222 <artifactId>gremlin-core</artifactId>
223 <version>3.2.3</version>
224 <scope>provided</scope>
227 <groupId>org.slf4j</groupId>
228 <artifactId>slf4j-log4j12</artifactId>
231 <groupId>org.slf4j</groupId>
232 <artifactId>jcl-over-slf4j</artifactId>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-api</artifactId>
241 <groupId>org.apache.tinkerpop</groupId>
242 <artifactId>tinkergraph-gremlin</artifactId>
243 <version>3.2.3</version>
244 <scope>provided</scope>
247 <groupId>org.json</groupId>
248 <artifactId>json</artifactId>
249 <version>20160212</version>
252 <groupId>junit</groupId>
253 <artifactId>junit</artifactId>
256 <groupId>org.skyscreamer</groupId>
257 <artifactId>jsonassert</artifactId>
258 <version>1.5.0</version>
262 <groupId>org.hamcrest</groupId>
263 <artifactId>hamcrest-library</artifactId>
264 <version>${version.org.hamcrest.hamcrest-library}</version>
268 <groupId>org.apache.httpcomponents</groupId>
269 <artifactId>httpclient</artifactId>
270 <version>4.5</version>
273 <groupId>org.apache.httpcomponents</groupId>
274 <artifactId>httpcore</artifactId>
275 <version>4.4.1</version>
278 <groupId>org.springframework.boot</groupId>
280 spring-boot-configuration-processor
282 <optional>true</optional>
287 <finalName>${project.artifactId}</finalName>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-resources-plugin</artifactId>
292 <version>2.7</version>
295 <id>copy-docker-file</id>
296 <phase>package</phase>
298 <goal>copy-resources</goal>
301 <outputDirectory>target</outputDirectory>
302 <overwrite>true</overwrite>
305 <directory>${basedir}/src/main/docker</directory>
306 <filtering>true</filtering>
308 <include>**/*</include>
312 <directory>${basedir}/src/main/bin/</directory>
321 <groupId>com.spotify</groupId>
322 <artifactId>docker-maven-plugin</artifactId>
323 <version>0.4.11</version>
325 <verbose>true</verbose>
326 <serverId>docker-hub</serverId>
327 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
328 <dockerDirectory>${docker.location}</dockerDirectory>
330 <imageTag>latest</imageTag>
332 <forceTags>true</forceTags>
336 <!-- license plugin -->
337 <!-- Uncomment this to add a license header to every source file -->
339 <groupId>com.mycila</groupId>
340 <artifactId>license-maven-plugin</artifactId>
341 <version>3.0</version>
343 <header>License.txt</header>
345 <include>src/main/java/**</include>
346 <include>src/test/java/**</include>
354 <phase>process-sources</phase>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-site-plugin</artifactId>
363 <version>3.3</version>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-checkstyle-plugin</artifactId>
369 <version>2.17</version>
373 <report>checkstyle</report>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-deploy-plugin</artifactId>
391 <groupId>org.codehaus.mojo</groupId>
392 <artifactId>sonar-maven-plugin</artifactId>
393 <version>3.2</version>
397 <groupId>org.jacoco</groupId>
398 <artifactId>jacoco-maven-plugin</artifactId>
399 <version>0.7.7.201606060606</version>
401 <dumpOnExit>true</dumpOnExit>
405 <id>jacoco-initialize-unit-tests</id>
407 <goal>prepare-agent</goal>
410 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
412 <!-- <append>true</append> -->
418 <groupId>org.springframework.boot</groupId>
419 <artifactId>spring-boot-maven-plugin</artifactId>
420 <version>2.0.1.RELEASE</version>
424 <goal>repackage</goal>
432 <distributionManagement>
434 <id>ecomp-javadoc</id>
435 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
437 </distributionManagement>