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.4.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.18.RELEASE</version.org.springframework.boot.spring-boot-dependencies>
47 <dependencyManagement>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-dependencies</artifactId>
52 <version>${version.org.springframework.boot.spring-boot-dependencies}</version>
58 <groupId>org.apache.httpcomponents</groupId>
59 <artifactId>httpclient</artifactId>
60 <version>4.5.3</version>
64 <groupId>org.apache.httpcomponents</groupId>
65 <artifactId>httpclient-cache</artifactId>
66 <version>4.5.3</version>
69 </dependencyManagement>
73 <groupId>org.springframework.boot</groupId>
74 <artifactId>spring-boot-starter-web</artifactId>
77 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-starter-tomcat</artifactId>
81 <groupId>ch.qos.logback</groupId>
82 <artifactId>logback-classic</artifactId>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-jetty</artifactId>
93 <groupId>org.springframework.boot</groupId>
94 <artifactId>spring-boot-starter-jersey</artifactId>
97 <groupId>org.springframework.boot</groupId>
98 <artifactId>spring-boot-starter-tomcat</artifactId>
104 <groupId>org.json</groupId>
105 <artifactId>json</artifactId>
106 <version>20160212</version>
110 <groupId>commons-io</groupId>
111 <artifactId>commons-io</artifactId>
112 <version>2.4</version>
116 <groupId>com.google.code.gson</groupId>
117 <artifactId>gson</artifactId>
118 <version>2.6.2</version>
122 <groupId>com.google.guava</groupId>
123 <artifactId>guava</artifactId>
127 <groupId>${common.logging.groupid}</groupId>
128 <artifactId>common-logging</artifactId>
129 <version>${common.logging.version}</version>
132 <groupId>ch.qos.logback</groupId>
133 <artifactId>logback-classic</artifactId>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-core</artifactId>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-api</artifactId>
147 <groupId>org.eclipse.persistence</groupId>
148 <artifactId>eclipselink</artifactId>
149 <version>2.6.2</version>
153 <groupId>org.apache.commons</groupId>
154 <artifactId>commons-lang3</artifactId>
155 <version>3.7</version>
159 <groupId>org.onap.aai.champ.champ-lib</groupId>
160 <artifactId>champ-core</artifactId>
161 <version>${project.version}</version>
162 <scope>compile</scope>
165 <groupId>org.apache.hbase</groupId>
166 <artifactId>hbase-client</artifactId>
169 <groupId>log4j</groupId>
170 <artifactId>log4j</artifactId>
173 <groupId>log4j</groupId>
174 <artifactId>apache-log4j-extras</artifactId>
177 <groupId>org.slf4j</groupId>
178 <artifactId>slf4j-api</artifactId>
184 <groupId>org.hamcrest</groupId>
185 <artifactId>hamcrest-library</artifactId>
190 <groupId>org.skyscreamer</groupId>
191 <artifactId>jsonassert</artifactId>
192 <version>1.5.0</version>
197 <groupId>ch.qos.logback</groupId>
198 <artifactId>logback-classic</artifactId>
199 <version>1.2.3</version>
203 <groupId>ch.qos.logback</groupId>
204 <artifactId>logback-core</artifactId>
205 <version>1.2.3</version>
209 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
210 <artifactId>dmaapClient</artifactId>
211 <version>1.1.5</version>
215 <distributionManagement>
217 <id>ecomp-releases</id>
218 <name>ECOMP Release Repository</name>
219 <url>${onap.nexus.url}/content/repositories/releases/</url>
222 <id>ecomp-snapshots</id>
223 <name>ECOMP Snapshot Repository</name>
224 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
225 </snapshotRepository>
226 </distributionManagement>
229 <finalName>${project.artifactId}</finalName>
232 <groupId>org.springframework.boot</groupId>
233 <artifactId>spring-boot-maven-plugin</artifactId>
240 <goal>repackage</goal>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-resources-plugin</artifactId>
249 <version>2.7</version>
252 <id>copy-docker-file</id>
253 <phase>package</phase>
255 <goal>copy-resources</goal>
258 <outputDirectory>target</outputDirectory>
259 <overwrite>true</overwrite>
262 <directory>${basedir}/src/main/docker</directory>
263 <filtering>true</filtering>
265 <include>**/*</include>
269 <directory>${basedir}/src/main/bin/</directory>
272 <directory>../champ-service-deps-janus/target/</directory>
275 <directory>../champ-service-deps-titan/target/</directory>
278 <directory>${basedir}</directory>
280 <include>**/dynamic/**/*</include>
290 <groupId>com.mycila</groupId>
291 <artifactId>license-maven-plugin</artifactId>
292 <version>3.0</version>
294 <header>License.txt</header>
296 <include>src/main/java/**</include>
297 <include>src/test/java/**</include>
298 <include>pom.xml</include>
300 <skipExistingHeaders>true</skipExistingHeaders>
305 <!-- Set goal to "format" to auto update license headers -->
308 <phase>process-sources</phase>
314 <groupId>com.spotify</groupId>
315 <artifactId>docker-maven-plugin</artifactId>
316 <version>0.4.11</version>
318 <verbose>true</verbose>
319 <serverId>docker-hub</serverId>
320 <imageName>${docker.push.registry}/onap/${docker.name}</imageName>
321 <dockerDirectory>${docker.location}</dockerDirectory>
323 <imageTag>latest</imageTag>
325 <forceTags>true</forceTags>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-deploy-plugin</artifactId>
335 <groupId>org.sonatype.plugins</groupId>
336 <artifactId>nexus-staging-maven-plugin</artifactId>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-site-plugin</artifactId>