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>ch.qos.logback</groupId>
83 <artifactId>logback-classic</artifactId>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-jersey</artifactId>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-actuator</artifactId>
96 <groupId>org.apache.cxf</groupId>
97 <artifactId>cxf-rt-frontend-jaxrs</artifactId>
98 <version>3.2.4</version>
101 <groupId>ch.qos.logback</groupId>
102 <artifactId>logback-classic</artifactId>
103 <version>1.2.3</version>
106 <groupId>ch.qos.logback</groupId>
107 <artifactId>logback-core</artifactId>
108 <version>1.2.3</version>
111 <groupId>ch.qos.logback</groupId>
112 <artifactId>logback-classic</artifactId>
117 <groupId>com.google.guava</groupId>
118 <artifactId>guava</artifactId>
119 <version>23.0</version>
122 <groupId>radeox</groupId>
123 <artifactId>radeox</artifactId>
124 <version>1.0-b2</version>
127 <groupId>org.codehaus.jackson</groupId>
128 <artifactId>jackson-mapper-asl</artifactId>
129 <version>1.4.5</version>
132 <groupId>org.mockito</groupId>
133 <artifactId>mockito-all</artifactId>
134 <version>1.9.5</version>
138 <groupId>dom4j</groupId>
139 <artifactId>dom4j</artifactId>
140 <version>1.6.1</version>
141 <scope>provided</scope>
144 <groupId>commons-io</groupId>
145 <artifactId>commons-io</artifactId>
146 <version>2.4</version>
149 <groupId>org.apache.commons</groupId>
150 <artifactId>commons-lang3</artifactId>
151 <version>3.3.1</version>
154 <groupId>com.google.code.gson</groupId>
155 <artifactId>gson</artifactId>
156 <version>2.6.2</version>
158 <!-- Common logging framework -->
160 <groupId>org.onap.aai.logging-service</groupId>
161 <artifactId>common-logging</artifactId>
162 <version>1.2.2</version>
165 <groupId>ch.qos.logback</groupId>
166 <artifactId>logback-classic</artifactId>
169 <groupId>ch.qos.logback</groupId>
170 <artifactId>logback-core</artifactId>
173 <groupId>org.slf4j</groupId>
174 <artifactId>slf4j-api</artifactId>
179 <groupId>org.onap.aai.event-client</groupId>
180 <artifactId>event-client-dmaap</artifactId>
181 <version>1.2.1</version>
184 <groupId>org.slf4j</groupId>
185 <artifactId>slf4j-api</artifactId>
190 <groupId>org.onap.aai.aai-common</groupId>
191 <artifactId>aai-schema</artifactId>
192 <version>1.2.1</version>
195 <groupId>org.onap.aai.aai-common</groupId>
196 <artifactId>aai-utils</artifactId>
197 <version>1.2.1</version>
200 <groupId>org.onap.aai.aai-common</groupId>
201 <artifactId>aai-core</artifactId>
202 <version>1.2.1</version>
206 <artifactId>*</artifactId>
211 <groupId>org.onap.aai.aai-common</groupId>
212 <artifactId>aai-auth</artifactId>
213 <version>1.2.1</version>
216 <groupId>org.eclipse.persistence</groupId>
217 <artifactId>eclipselink</artifactId>
218 <version>2.6.2</version>
221 <groupId>org.onap.aai</groupId>
222 <artifactId>rest-client</artifactId>
223 <version>1.2.1</version>
226 <groupId>net.dongliu</groupId>
227 <artifactId>gson-java8-datatype</artifactId>
228 <version>1.0.3</version>
231 <groupId>com.jayway.jsonpath</groupId>
232 <artifactId>json-path</artifactId>
233 <version>2.2.0</version>
236 <groupId>org.slf4j</groupId>
237 <artifactId>slf4j-api</artifactId>
241 <!-- AAI-CORE specific dependencies -->
243 <groupId>org.apache.tinkerpop</groupId>
244 <artifactId>gremlin-core</artifactId>
245 <version>3.2.3</version>
246 <scope>provided</scope>
249 <groupId>org.slf4j</groupId>
250 <artifactId>slf4j-log4j12</artifactId>
253 <groupId>org.slf4j</groupId>
254 <artifactId>jcl-over-slf4j</artifactId>
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
263 <groupId>org.apache.tinkerpop</groupId>
264 <artifactId>tinkergraph-gremlin</artifactId>
265 <version>3.2.3</version>
266 <scope>provided</scope>
269 <groupId>org.json</groupId>
270 <artifactId>json</artifactId>
271 <version>20160212</version>
274 <groupId>junit</groupId>
275 <artifactId>junit</artifactId>
278 <groupId>org.skyscreamer</groupId>
279 <artifactId>jsonassert</artifactId>
280 <version>1.5.0</version>
284 <groupId>org.hamcrest</groupId>
285 <artifactId>hamcrest-library</artifactId>
286 <version>${version.org.hamcrest.hamcrest-library}</version>
290 <groupId>org.apache.httpcomponents</groupId>
291 <artifactId>httpclient</artifactId>
292 <version>4.5.3</version>
295 <groupId>org.apache.httpcomponents</groupId>
296 <artifactId>httpcore</artifactId>
297 <version>4.4.1</version>
300 <groupId>org.springframework.boot</groupId>
302 spring-boot-configuration-processor
304 <optional>true</optional>
309 <finalName>${project.artifactId}</finalName>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-resources-plugin</artifactId>
314 <version>2.7</version>
317 <id>copy-docker-file</id>
318 <phase>package</phase>
320 <goal>copy-resources</goal>
323 <outputDirectory>target</outputDirectory>
324 <overwrite>true</overwrite>
327 <directory>${basedir}/src/main/docker</directory>
328 <filtering>true</filtering>
330 <include>**/*</include>
334 <directory>${basedir}/src/main/bin/</directory>
343 <groupId>com.spotify</groupId>
344 <artifactId>docker-maven-plugin</artifactId>
345 <version>0.4.11</version>
347 <verbose>true</verbose>
348 <serverId>docker-hub</serverId>
349 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
350 <dockerDirectory>${docker.location}</dockerDirectory>
352 <imageTag>latest</imageTag>
354 <forceTags>true</forceTags>
358 <!-- license plugin -->
359 <!-- Uncomment this to add a license header to every source file -->
361 <groupId>com.mycila</groupId>
362 <artifactId>license-maven-plugin</artifactId>
363 <version>3.0</version>
365 <header>License.txt</header>
367 <include>src/main/java/**</include>
368 <include>src/test/java/**</include>
376 <phase>process-sources</phase>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-site-plugin</artifactId>
385 <version>3.3</version>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-checkstyle-plugin</artifactId>
391 <version>2.17</version>
395 <report>checkstyle</report>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-deploy-plugin</artifactId>
413 <groupId>org.codehaus.mojo</groupId>
414 <artifactId>sonar-maven-plugin</artifactId>
415 <version>3.2</version>
419 <groupId>org.jacoco</groupId>
420 <artifactId>jacoco-maven-plugin</artifactId>
421 <version>0.7.7.201606060606</version>
423 <dumpOnExit>true</dumpOnExit>
427 <id>jacoco-initialize-unit-tests</id>
429 <goal>prepare-agent</goal>
432 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
434 <!-- <append>true</append> -->
440 <groupId>org.springframework.boot</groupId>
441 <artifactId>spring-boot-maven-plugin</artifactId>
442 <version>2.0.1.RELEASE</version>
446 <goal>repackage</goal>
454 <distributionManagement>
456 <id>ecomp-javadoc</id>
457 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
459 </distributionManagement>