1 <?xml version="1.0" encoding="UTF-8"?>
5 Copyright (c) 2017 Orange. All rights reserved.
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.externalapi-nbi</groupId>
25 <artifactId>nbi-rest-services</artifactId>
26 <version>1.0.0-SNAPSHOT</version>
27 <packaging>jar</packaging>
29 <name>nbi-rest-services</name>
32 <groupId>org.springframework.boot</groupId>
33 <artifactId>spring-boot-starter-parent</artifactId>
34 <version>1.5.10.RELEASE</version>
35 <relativePath /> <!-- lookup parent from repository -->
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42 <nexusproxy>https://nexus.onap.org</nexusproxy>
43 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
46 <java.version>1.8</java.version>
47 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
48 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
49 <timestamp>${maven.build.timestamp}</timestamp>
50 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
52 <docker.tag>${project.version}-${timestamp}</docker.tag>
53 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
58 <id>maven2-repository.java.net</id>
59 <name>Java.net Repository for Maven</name>
60 <url>http://download.java.net/maven/2/</url>
61 <layout>default</layout>
64 <id>ecomp-snapshots</id>
65 <name>Snapshot Repository</name>
66 <url>https://nexus.onap.org/content/repositories/releases/</url>
69 <id>ecomp-staging</id>
70 <name>Staging Repository</name>
71 <url>https://nexus.onap.org/content/repositories/staging/</url>
75 <distributionManagement>
77 <id>ecomp-releases</id>
78 <name>Release Repository</name>
79 <url>${nexusproxy}/${releaseNexusPath}</url>
82 <id>ecomp-snapshots</id>
83 <name>Snapshot Repository</name>
84 <url>${nexusproxy}/${snapshotNexusPath}</url>
86 </distributionManagement>
91 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
98 <groupId>org.springframework.boot</groupId>
99 <artifactId>spring-boot-starter-web</artifactId>
103 <groupId>org.springframework.boot</groupId>
104 <artifactId>spring-boot-starter-data-jpa</artifactId>
108 <groupId>org.apache.commons</groupId>
109 <artifactId>commons-io</artifactId>
110 <version>1.3.2</version>
114 <groupId>commons-beanutils</groupId>
115 <artifactId>commons-beanutils</artifactId>
116 <version>1.9.3</version>
120 <groupId>javax.validation</groupId>
121 <artifactId>validation-api</artifactId>
122 <version>2.0.1.Final</version>
126 <groupId>org.apache.commons</groupId>
127 <artifactId>commons-lang3</artifactId>
128 <version>3.4</version>
134 <groupId>org.springframework.boot</groupId>
135 <artifactId>spring-boot-starter-data-mongodb</artifactId>
141 <groupId>mysql</groupId>
142 <artifactId>mysql-connector-java</artifactId>
145 <groupId>org.mariadb.jdbc</groupId>
146 <artifactId>mariadb-java-client</artifactId>
147 <version>1.1.7</version>
153 <groupId>io.swagger</groupId>
154 <artifactId>swagger-annotations</artifactId>
155 <version>1.5.18</version>
161 <groupId>com.fasterxml.jackson.dataformat</groupId>
162 <artifactId>jackson-dataformat-yaml</artifactId>
163 <version>2.8.0</version>
169 <groupId>com.bazaarvoice.jolt</groupId>
170 <artifactId>jolt-core</artifactId>
171 <version>0.1.0</version>
174 <groupId>com.fasterxml.jackson.core</groupId>
175 <artifactId>jackson-databind</artifactId>
181 <groupId>com.bazaarvoice.jolt</groupId>
182 <artifactId>json-utils</artifactId>
183 <version>0.1.0</version>
189 <groupId>org.springframework.boot</groupId>
190 <artifactId>spring-boot-starter-test</artifactId>
197 <groupId>com.h2database</groupId>
198 <artifactId>h2</artifactId>
203 <groupId>de.flapdoodle.embed</groupId>
204 <artifactId>de.flapdoodle.embed.mongo</artifactId>
205 <version>${embedded-mongo.version}</version>
209 <!-- test wiremock -->
212 <groupId>org.springframework.cloud</groupId>
213 <artifactId>spring-cloud-contract-wiremock</artifactId>
214 <version>1.0.0.RELEASE</version>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-server</artifactId>
221 <version>9.4.7.RC0</version>
226 <groupId>org.eclipse.jetty</groupId>
227 <artifactId>jetty-servlet</artifactId>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-servlets</artifactId>
240 <groupId>org.springframework.boot</groupId>
241 <artifactId>spring-boot-devtools</artifactId>
242 <scope>runtime</scope>
250 <groupId>org.springframework.boot</groupId>
251 <artifactId>spring-boot-maven-plugin</artifactId>
254 <groupId>org.sonatype.plugins</groupId>
255 <artifactId>nexus-staging-maven-plugin</artifactId>
256 <version>1.6.7</version>
257 <extensions>true</extensions>
259 <nexusUrl>${nexusproxy}</nexusUrl>
260 <stagingProfileId>176c31dfe190a</stagingProfileId>
261 <serverId>ecomp-staging</serverId>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-site-plugin</artifactId>
267 <version>3.6</version>
270 <groupId>org.apache.maven.wagon</groupId>
271 <artifactId>wagon-webdav-jackrabbit</artifactId>
272 <version>2.10</version>
277 <groupId>com.mycila</groupId>
278 <artifactId>license-maven-plugin</artifactId>
279 <version>3.0</version>
281 <header>LICENSE.TXT</header>
283 <include>restclient/**</include>
284 <include>src/**</include>
285 <include>pom.xml</include>
287 <skipExistingHeaders>true</skipExistingHeaders>
290 <http>SCRIPT_STYLE</http>
296 <!-- Set goal to "format" to auto update license headers -->
299 <phase>process-sources</phase>
314 <groupId>io.fabric8</groupId>
315 <artifactId>docker-maven-plugin</artifactId>
316 <version>0.25.0</version>
318 <verbose>true</verbose>
319 <apiVersion>1.23</apiVersion>
320 <pullRegistry>${docker.pull.registry}</pullRegistry>
321 <pushRegistry>${docker.push.registry}</pushRegistry>
324 <name>onap/externalapi/nbi</name>
325 <alias>onap/externalapi/nbi</alias>
327 <cleanup>true</cleanup>
329 <tag>${docker.tag}</tag>
330 <tag>${docker.latest.tag}</tag>
332 <dockerFileDir>${project.basedir}</dockerFileDir>
334 <PKG_FILENAME>${project.build.finalName}.${project.packaging}</PKG_FILENAME>
342 <id>clean-images</id>
343 <phase>pre-clean</phase>
348 <removeMode>all</removeMode>
352 <id>generate-images</id>
353 <phase>package</phase>
360 <phase>deploy</phase>