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.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>1.1.0</version>
32 <groupId>org.onap.aai</groupId>
33 <artifactId>champ-service</artifactId>
34 <version>1.2.0-SNAPSHOT</version>
38 <docker.location>${basedir}/target</docker.location>
39 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
40 <common.logging.groupid>org.onap.aai.logging-service</common.logging.groupid>
41 <common.logging.version>1.2.2</common.logging.version>
43 <version.com.google.guava>18.0</version.com.google.guava>
44 <version.org.apache.commons.commons-lang3>3.7</version.org.apache.commons.commons-lang3>
45 <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
46 <version.org.springframework.boot.spring-boot-dependencies>1.5.12.RELEASE</version.org.springframework.boot.spring-boot-dependencies>
49 <dependencyManagement>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-dependencies</artifactId>
54 <version>${version.org.springframework.boot.spring-boot-dependencies}</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>
71 <groupId>ch.qos.logback</groupId>
72 <artifactId>logback-classic</artifactId>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-jetty</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-jersey</artifactId>
88 <groupId>dom4j</groupId>
89 <artifactId>dom4j</artifactId>
90 <version>1.6.1</version>
91 <scope>provided</scope>
95 <groupId>org.json</groupId>
96 <artifactId>json</artifactId>
97 <version>20160212</version>
101 <groupId>commons-io</groupId>
102 <artifactId>commons-io</artifactId>
103 <version>2.4</version>
107 <groupId>com.google.code.gson</groupId>
108 <artifactId>gson</artifactId>
109 <version>2.6.2</version>
113 <groupId>com.google.guava</groupId>
114 <artifactId>guava</artifactId>
115 <version>${version.com.google.guava}</version>
119 <groupId>${common.logging.groupid}</groupId>
120 <artifactId>common-logging</artifactId>
121 <version>${common.logging.version}</version>
124 <groupId>ch.qos.logback</groupId>
125 <artifactId>logback-classic</artifactId>
128 <groupId>ch.qos.logback</groupId>
129 <artifactId>logback-core</artifactId>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-api</artifactId>
139 <groupId>org.eclipse.persistence</groupId>
140 <artifactId>eclipselink</artifactId>
141 <version>2.6.2</version>
145 <groupId>org.apache.commons</groupId>
146 <artifactId>commons-lang3</artifactId>
147 <version>3.7</version>
151 <groupId>org.onap.aai</groupId>
152 <artifactId>champ-core</artifactId>
153 <version>1.2.0-SNAPSHOT</version>
154 <scope>compile</scope>
157 <groupId>org.apache.hbase</groupId>
158 <artifactId>hbase-client</artifactId>
161 <groupId>log4j</groupId>
162 <artifactId>log4j</artifactId>
165 <groupId>log4j</groupId>
166 <artifactId>apache-log4j-extras</artifactId>
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-api</artifactId>
176 <groupId>org.hamcrest</groupId>
177 <artifactId>hamcrest-library</artifactId>
182 <groupId>org.skyscreamer</groupId>
183 <artifactId>jsonassert</artifactId>
184 <version>1.5.0</version>
189 <groupId>ch.qos.logback</groupId>
190 <artifactId>logback-classic</artifactId>
191 <version>1.2.3</version>
195 <groupId>ch.qos.logback</groupId>
196 <artifactId>logback-core</artifactId>
197 <version>1.2.3</version>
201 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
202 <artifactId>dmaapClient</artifactId>
203 <version>1.1.5</version>
206 <groupId>org.apache.httpcomponents</groupId>
207 <artifactId>httpclient</artifactId>
210 <groupId>org.apache.httpcomponents</groupId>
211 <artifactId>httpclient-cache</artifactId>
217 <groupId>org.apache.httpcomponents</groupId>
218 <artifactId>httpclient</artifactId>
219 <version>4.5.3</version>
223 <groupId>org.apache.httpcomponents</groupId>
224 <artifactId>httpclient-cache</artifactId>
225 <version>4.5.3</version>
229 <distributionManagement>
231 <id>ecomp-releases</id>
232 <name>ECOMP Release Repository</name>
233 <url>${onap.nexus.url}/content/repositories/releases/</url>
236 <id>ecomp-snapshots</id>
237 <name>ECOMP Snapshot Repository</name>
238 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
239 </snapshotRepository>
240 </distributionManagement>
243 <finalName>${project.artifactId}</finalName>
246 <groupId>org.springframework.boot</groupId>
247 <artifactId>spring-boot-maven-plugin</artifactId>
254 <goal>repackage</goal>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-resources-plugin</artifactId>
263 <version>2.7</version>
266 <id>copy-docker-file</id>
267 <phase>package</phase>
269 <goal>copy-resources</goal>
272 <outputDirectory>target</outputDirectory>
273 <overwrite>true</overwrite>
276 <directory>${basedir}/src/main/docker</directory>
277 <filtering>true</filtering>
279 <include>**/*</include>
283 <directory>${basedir}/src/main/bin/</directory>
286 <directory>../champ-service-deps-janus/target/</directory>
289 <directory>../champ-service-deps-titan/target/</directory>
292 <directory>${basedir}</directory>
294 <include>**/dynamic/**/*</include>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-deploy-plugin</artifactId>
312 <groupId>org.sonatype.plugins</groupId>
313 <artifactId>nexus-staging-maven-plugin</artifactId>
315 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
320 <groupId>com.mycila</groupId>
321 <artifactId>license-maven-plugin</artifactId>
322 <version>3.0</version>
324 <header>License.txt</header>
326 <include>src/main/java/**</include>
327 <include>src/test/java/**</include>
328 <include>pom.xml</include>
330 <skipExistingHeaders>true</skipExistingHeaders>
335 <!-- Set goal to "format" to auto update license headers -->
338 <phase>process-sources</phase>
344 <groupId>com.spotify</groupId>
345 <artifactId>docker-maven-plugin</artifactId>
346 <version>0.4.11</version>
348 <verbose>true</verbose>
349 <serverId>docker-hub</serverId>
350 <imageName>${docker.push.registry}/onap/${project.name}</imageName>
351 <dockerDirectory>${docker.location}</dockerDirectory>
353 <imageTag>latest</imageTag>
355 <forceTags>true</forceTags>