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>
78 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
85 <groupId>org.springframework.boot</groupId>
86 <artifactId>spring-boot-starter-web</artifactId>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot-starter-data-jpa</artifactId>
95 <groupId>org.apache.commons</groupId>
96 <artifactId>commons-io</artifactId>
97 <version>1.3.2</version>
101 <groupId>commons-beanutils</groupId>
102 <artifactId>commons-beanutils</artifactId>
103 <version>1.9.3</version>
107 <groupId>javax.validation</groupId>
108 <artifactId>validation-api</artifactId>
109 <version>2.0.1.Final</version>
113 <groupId>org.apache.commons</groupId>
114 <artifactId>commons-lang3</artifactId>
115 <version>3.4</version>
121 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-starter-data-mongodb</artifactId>
128 <groupId>mysql</groupId>
129 <artifactId>mysql-connector-java</artifactId>
132 <groupId>org.mariadb.jdbc</groupId>
133 <artifactId>mariadb-java-client</artifactId>
134 <version>1.1.7</version>
140 <groupId>io.swagger</groupId>
141 <artifactId>swagger-annotations</artifactId>
142 <version>1.5.18</version>
148 <groupId>com.fasterxml.jackson.dataformat</groupId>
149 <artifactId>jackson-dataformat-yaml</artifactId>
150 <version>2.8.0</version>
156 <groupId>com.bazaarvoice.jolt</groupId>
157 <artifactId>jolt-core</artifactId>
158 <version>0.1.0</version>
162 <groupId>com.bazaarvoice.jolt</groupId>
163 <artifactId>json-utils</artifactId>
164 <version>0.1.0</version>
170 <groupId>org.springframework.boot</groupId>
171 <artifactId>spring-boot-starter-test</artifactId>
178 <groupId>com.h2database</groupId>
179 <artifactId>h2</artifactId>
184 <groupId>de.flapdoodle.embed</groupId>
185 <artifactId>de.flapdoodle.embed.mongo</artifactId>
186 <version>${embedded-mongo.version}</version>
190 <!-- test wiremock -->
193 <groupId>org.springframework.cloud</groupId>
194 <artifactId>spring-cloud-contract-wiremock</artifactId>
195 <version>1.0.0.RELEASE</version>
200 <groupId>org.eclipse.jetty</groupId>
201 <artifactId>jetty-server</artifactId>
202 <version>9.4.7.RC0</version>
207 <groupId>org.eclipse.jetty</groupId>
208 <artifactId>jetty-servlet</artifactId>
213 <groupId>org.eclipse.jetty</groupId>
214 <artifactId>jetty-servlets</artifactId>
221 <groupId>org.springframework.boot</groupId>
222 <artifactId>spring-boot-devtools</artifactId>
223 <scope>runtime</scope>
231 <groupId>org.springframework.boot</groupId>
232 <artifactId>spring-boot-maven-plugin</artifactId>
235 <groupId>org.sonatype.plugins</groupId>
236 <artifactId>nexus-staging-maven-plugin</artifactId>
237 <version>1.6.7</version>
238 <extensions>true</extensions>
240 <nexusUrl>${nexusproxy}</nexusUrl>
241 <stagingProfileId>176c31dfe190a</stagingProfileId>
242 <serverId>ecomp-staging</serverId>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-site-plugin</artifactId>
248 <version>3.6</version>
251 <groupId>org.apache.maven.wagon</groupId>
252 <artifactId>wagon-webdav-jackrabbit</artifactId>
253 <version>2.10</version>
258 <groupId>com.mycila</groupId>
259 <artifactId>license-maven-plugin</artifactId>
260 <version>3.0</version>
262 <header>LICENSE.TXT</header>
264 <include>restclient/**</include>
265 <include>src/**</include>
266 <include>pom.xml</include>
268 <skipExistingHeaders>true</skipExistingHeaders>
271 <http>SCRIPT_STYLE</http>
277 <!-- Set goal to "format" to auto update license headers -->
280 <phase>process-sources</phase>
295 <groupId>io.fabric8</groupId>
296 <artifactId>docker-maven-plugin</artifactId>
297 <version>0.19.1</version>
299 <verbose>true</verbose>
300 <apiVersion>1.23</apiVersion>
301 <pullRegistry>${docker.pull.registry}</pullRegistry>
302 <pushRegistry>${docker.push.registry}</pushRegistry>
305 <name>onap/externalapi/nbi</name>
306 <alias>onap/externalapi/nbi</alias>
308 <cleanup>true</cleanup>
310 <tag>${docker.tag}</tag>
311 <tag>${docker.latest.tag}</tag>
313 <dockerFileDir>${project.basedir}</dockerFileDir>
320 <id>clean-images</id>
321 <phase>pre-clean</phase>
326 <removeAll>true</removeAll>
331 <id>generate-images</id>
332 <phase>package</phase>
339 <phase>deploy</phase>