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"
22 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.aai</groupId>
28 <artifactId>champ</artifactId>
29 <version>1.5.0-SNAPSHOT</version>
32 <groupId>org.onap.aai.champ</groupId>
33 <artifactId>champ-service</artifactId>
36 <docker.location>${basedir}/target</docker.location>
37 <docker.name>champ</docker.name>
38 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
39 <common.logging.groupid>org.onap.aai.logging-service</common.logging.groupid>
40 <common.logging.version>1.2.2</common.logging.version>
42 <version.org.apache.commons.commons-lang3>3.7</version.org.apache.commons.commons-lang3>
43 <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
44 <version.org.springframework.boot.spring-boot-dependencies>1.5.19.RELEASE</version.org.springframework.boot.spring-boot-dependencies>
45 <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
46 coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
47 <jacoco.line.coverage.limit>0.16</jacoco.line.coverage.limit>
50 <dependencyManagement>
53 <groupId>org.springframework.boot</groupId>
54 <artifactId>spring-boot-dependencies</artifactId>
55 <version>${version.org.springframework.boot.spring-boot-dependencies}</version>
61 <groupId>org.apache.httpcomponents</groupId>
62 <artifactId>httpclient</artifactId>
63 <version>4.5.3</version>
67 <groupId>org.apache.httpcomponents</groupId>
68 <artifactId>httpclient-cache</artifactId>
69 <version>4.5.3</version>
72 </dependencyManagement>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-web</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-tomcat</artifactId>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-classic</artifactId>
91 <groupId>org.springframework.boot</groupId>
92 <artifactId>spring-boot-starter-jetty</artifactId>
96 <groupId>org.springframework.boot</groupId>
97 <artifactId>spring-boot-starter-test</artifactId>
101 <groupId>org.powermock</groupId>
102 <artifactId>powermock-module-junit4</artifactId>
103 <version>1.7.4</version>
107 <groupId>org.javassist</groupId>
108 <artifactId>javassist</artifactId>
113 <groupId>org.powermock</groupId>
114 <artifactId>powermock-api-mockito</artifactId>
115 <version>1.7.4</version>
119 <!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
121 <groupId>org.javassist</groupId>
122 <artifactId>javassist</artifactId>
123 <version>3.22.0-GA</version>
128 <groupId>org.springframework.boot</groupId>
129 <artifactId>spring-boot-starter-jersey</artifactId>
132 <groupId>org.springframework.boot</groupId>
133 <artifactId>spring-boot-starter-tomcat</artifactId>
139 <groupId>org.json</groupId>
140 <artifactId>json</artifactId>
141 <version>20160212</version>
145 <groupId>commons-io</groupId>
146 <artifactId>commons-io</artifactId>
147 <version>2.4</version>
151 <groupId>com.google.code.gson</groupId>
152 <artifactId>gson</artifactId>
153 <version>2.6.2</version>
157 <groupId>com.google.guava</groupId>
158 <artifactId>guava</artifactId>
162 <groupId>${common.logging.groupid}</groupId>
163 <artifactId>common-logging</artifactId>
164 <version>${common.logging.version}</version>
167 <groupId>ch.qos.logback</groupId>
168 <artifactId>logback-classic</artifactId>
171 <groupId>ch.qos.logback</groupId>
172 <artifactId>logback-core</artifactId>
175 <groupId>org.slf4j</groupId>
176 <artifactId>slf4j-api</artifactId>
182 <groupId>org.eclipse.persistence</groupId>
183 <artifactId>eclipselink</artifactId>
184 <version>2.6.2</version>
188 <groupId>org.apache.commons</groupId>
189 <artifactId>commons-lang3</artifactId>
190 <version>3.7</version>
194 <groupId>org.onap.aai.champ.champ-lib</groupId>
195 <artifactId>champ-core</artifactId>
196 <version>${project.version}</version>
197 <scope>compile</scope>
200 <groupId>org.apache.hbase</groupId>
201 <artifactId>hbase-client</artifactId>
204 <groupId>log4j</groupId>
205 <artifactId>log4j</artifactId>
208 <groupId>log4j</groupId>
209 <artifactId>apache-log4j-extras</artifactId>
212 <groupId>org.slf4j</groupId>
213 <artifactId>slf4j-api</artifactId>
219 <groupId>org.hamcrest</groupId>
220 <artifactId>hamcrest-library</artifactId>
225 <groupId>org.skyscreamer</groupId>
226 <artifactId>jsonassert</artifactId>
227 <version>1.5.0</version>
232 <groupId>ch.qos.logback</groupId>
233 <artifactId>logback-classic</artifactId>
234 <version>1.2.3</version>
238 <groupId>ch.qos.logback</groupId>
239 <artifactId>logback-core</artifactId>
240 <version>1.2.3</version>
244 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
245 <artifactId>dmaapClient</artifactId>
246 <version>1.1.5</version>
250 <distributionManagement>
252 <id>ecomp-releases</id>
253 <name>ECOMP Release Repository</name>
254 <url>${onap.nexus.url}/content/repositories/releases/</url>
257 <id>ecomp-snapshots</id>
258 <name>ECOMP Snapshot Repository</name>
259 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
260 </snapshotRepository>
261 </distributionManagement>
264 <finalName>${project.artifactId}</finalName>
267 <groupId>org.springframework.boot</groupId>
268 <artifactId>spring-boot-maven-plugin</artifactId>
275 <goal>repackage</goal>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-resources-plugin</artifactId>
284 <version>2.7</version>
287 <id>copy-docker-file</id>
288 <phase>package</phase>
290 <goal>copy-resources</goal>
293 <outputDirectory>target</outputDirectory>
294 <overwrite>true</overwrite>
297 <directory>${basedir}/src/main/docker</directory>
298 <filtering>true</filtering>
300 <include>**/*</include>
304 <directory>${basedir}/src/main/bin/</directory>
307 <directory>../champ-service-deps-janus/target/</directory>
310 <directory>../champ-service-deps-titan/target/</directory>
313 <directory>${basedir}</directory>
315 <include>**/dynamic/**/*</include>
325 <groupId>com.mycila</groupId>
326 <artifactId>license-maven-plugin</artifactId>
327 <version>3.0</version>
329 <header>License.txt</header>
331 <include>src/main/java/**</include>
332 <include>src/test/java/**</include>
333 <include>pom.xml</include>
335 <skipExistingHeaders>true</skipExistingHeaders>
340 <!-- Set goal to "format" to auto update license headers -->
343 <phase>process-sources</phase>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-deploy-plugin</artifactId>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-site-plugin</artifactId>
364 <groupId>com.spotify</groupId>
365 <artifactId>docker-maven-plugin</artifactId>
366 <version>0.4.11</version>
368 <verbose>true</verbose>
369 <serverId>docker-hub</serverId>
370 <imageName>${docker.push.registry}/onap/${docker.name}</imageName>
371 <dockerDirectory>${docker.location}</dockerDirectory>
373 <imageTag>latest</imageTag>
375 <forceTags>true</forceTags>
380 <phase>package</phase>