3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 Copyright © 2017-2018 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>2.0.0</version>
32 <groupId>org.onap.aai</groupId>
33 <artifactId>spike</artifactId>
34 <version>1.5.0-SNAPSHOT</version>
35 <name>aai-spike</name>
38 <docker.location>${basedir}/target</docker.location>
39 <event.client.version>1.5.0</event.client.version>
40 <version.aai-schema>1.5.0</version.aai-schema>
41 <version.aai-schema-ingest>1.4.1</version.aai-schema-ingest>
42 <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
43 coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
44 <jacoco.line.coverage.limit>0.55</jacoco.line.coverage.limit>
45 <jacoco.report.directory>${project.build.directory}/code-coverage</jacoco.report.directory>
48 <dependencyManagement>
51 <!-- Import dependency management from Spring Boot -->
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-dependencies</artifactId>
54 <version>1.5.20.RELEASE</version>
59 </dependencyManagement>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-web</artifactId>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-tomcat</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-jetty</artifactId>
79 <groupId>org.springframework</groupId>
80 <artifactId>spring-webmvc</artifactId>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-test</artifactId>
91 <groupId>org.onap.aai.schema-service</groupId>
92 <artifactId>aai-schema</artifactId>
93 <version>${version.aai-schema}</version>
96 <groupId>org.onap.aai.aai-common</groupId>
97 <artifactId>aai-schema-ingest</artifactId>
98 <version>${version.aai-schema-ingest}</version>
101 <groupId>org.powermock</groupId>
102 <artifactId>*</artifactId>
107 <!-- EVENT CLIENT -->
109 <groupId>org.onap.aai.event-client</groupId>
110 <artifactId>event-client-api</artifactId>
111 <version>${event.client.version}</version>
114 <groupId>org.onap.aai.event-client</groupId>
115 <artifactId>event-client-dmaap</artifactId>
116 <version>${event.client.version}</version>
119 <groupId>com.sun.jersey</groupId>
120 <artifactId>jersey-client</artifactId>
125 <groupId>org.onap.aai.event-client</groupId>
126 <artifactId>event-client-kafka</artifactId>
127 <version>${event.client.version}</version>
130 <groupId>org.onap.aai.event-client</groupId>
131 <artifactId>event-client-rabbitmq</artifactId>
132 <version>${event.client.version}</version>
136 <groupId>org.apache.commons</groupId>
137 <artifactId>commons-lang3</artifactId>
138 <version>3.7</version>
142 <groupId>org.codehaus.jackson</groupId>
143 <artifactId>jackson-mapper-asl</artifactId>
144 <version>1.4.5</version>
148 <groupId>commons-io</groupId>
149 <artifactId>commons-io</artifactId>
150 <version>2.4</version>
153 <!-- Common logging framework -->
155 <groupId>org.onap.aai.logging-service</groupId>
156 <artifactId>common-logging</artifactId>
157 <version>1.5.0</version>
161 <groupId>org.onap.aai.logging-service</groupId>
162 <artifactId>logging-api</artifactId>
163 <version>1.5.0</version>
167 <groupId>ch.qos.logback</groupId>
168 <artifactId>logback-core</artifactId>
172 <groupId>com.google.guava</groupId>
173 <artifactId>guava</artifactId>
177 <groupId>org.eclipse.persistence</groupId>
178 <artifactId>eclipselink</artifactId>
179 <version>2.6.2</version>
183 <groupId>org.glassfish.jersey.core</groupId>
184 <artifactId>jersey-client</artifactId>
188 <groupId>org.glassfish.jersey.inject</groupId>
189 <artifactId>jersey-hk2</artifactId>
190 <version>2.26</version>
194 <groupId>com.google.code.gson</groupId>
195 <artifactId>gson</artifactId>
199 <groupId>org.apache.httpcomponents</groupId>
200 <artifactId>httpclient</artifactId>
201 <version>4.5.3</version>
205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpcore</artifactId>
207 <version>4.4.1</version>
211 <groupId>org.json</groupId>
212 <artifactId>json</artifactId>
213 <version>20160212</version>
217 <groupId>org.skyscreamer</groupId>
218 <artifactId>jsonassert</artifactId>
223 <groupId>org.mockito</groupId>
224 <artifactId>mockito-core</artifactId>
225 <version>2.15.0</version>
232 <finalName>${project.artifactId}</finalName>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-deploy-plugin</artifactId>
239 <groupId>org.springframework.boot</groupId>
240 <artifactId>spring-boot-maven-plugin</artifactId>
241 <version>1.5.20.RELEASE</version>
245 <goal>repackage</goal>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-resources-plugin</artifactId>
254 <version>2.7</version>
257 <id>copy-docker-file</id>
258 <phase>package</phase>
260 <goal>copy-resources</goal>
263 <outputDirectory>target</outputDirectory>
264 <overwrite>true</overwrite>
267 <directory>${basedir}/src/main/docker</directory>
268 <filtering>true</filtering>
270 <include>**/*</include>
274 <directory>${basedir}</directory>
275 <filtering>true</filtering>
277 <include>bundleconfig-local/**</include>
281 <directory>${basedir}/src/main/bin/</directory>
290 <groupId>org.jacoco</groupId>
291 <artifactId>jacoco-maven-plugin</artifactId>
294 <id>default-check</id>
299 <dataFile>${jacoco.report.directory}/jacoco-ut.exec</dataFile>
301 <!-- implementation is needed only for Maven 2 -->
302 <rule implementation="org.jacoco.maven.RuleConfiguration">
303 <element>BUNDLE</element>
305 <limit implementation="org.jacoco.report.check.Limit">
306 <counter>LINE</counter>
307 <value>COVEREDRATIO</value>
308 <minimum>${jacoco.line.coverage.limit}</minimum>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-dependency-plugin</artifactId>
324 <phase>prepare-package</phase>
331 <groupId>org.onap.aai.schema-service</groupId>
332 <artifactId>aai-schema</artifactId>
333 <version>${version.aai-schema}</version>
335 <includes>onap/**/</includes>
336 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
345 <groupId>com.spotify</groupId>
346 <artifactId>docker-maven-plugin</artifactId>
347 <version>0.4.11</version>
349 <verbose>true</verbose>
350 <serverId>docker-hub</serverId>
351 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
352 <dockerDirectory>${docker.location}</dockerDirectory>
354 <imageTag>latest</imageTag>
356 <forceTags>true</forceTags>
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>
369 <include>pom.xml</include>
371 <skipExistingHeaders>true</skipExistingHeaders>
376 <!-- Set goal to "format" to auto update license header. To verify only, set goal to "check". -->
379 <phase>process-sources</phase>