1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.vid</groupId>
7 <artifactId>vid-ext-services-simulator</artifactId>
8 <version>1.0.0</version>
9 <name>VID Simulator</name>
10 <packaging>war</packaging>
11 <description>VID Simulator for mocking external peers</description>
14 <encoding>UTF-8</encoding>
15 <springframework.version>5.2.3.RELEASE</springframework.version>
16 <hibernate.version>5.3.4.Final</hibernate.version>
17 <jaxb.version>2.3.2</jaxb.version>
18 <jackson.version>2.10.2</jackson.version>
19 <jackson.databind.version>2.10.2</jackson.databind.version>
20 <!-- Skip assembling the zip by default -->
21 <skipassembly>true</skipassembly>
22 <!-- Tests usually require some setup that maven cannot do, so skip. -->
23 <skiptests>true</skiptests>
24 <!-- this should be commented for local debugging -->
25 <!-- <deployenv>local</deployenv> -->
26 <nexusproxy>https://nexus.onap.org</nexusproxy>
27 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
28 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
29 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
31 <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it -->
32 <coberturaBuildPhase>none</coberturaBuildPhase>
34 <!-- will build docker-maven-plugin by default; enable the profile "no-docker" to disable it -->
35 <skipDockerBuild>false</skipDockerBuild>
36 <dockerBuildPhase>package</dockerBuildPhase>
37 <dockerPushPhase>deploy</dockerPushPhase>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
46 <nexusproxy>https://nexus.onap.org</nexusproxy>
47 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
48 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
49 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
50 <sitePath>content/sites/site/org/openecomp/vid/${project.version}</sitePath>
55 <id>oss-snapshots</id>
56 <name>oss Central - Snapshots</name>
57 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
66 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
68 <id>doclint-java8-disable</id>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-javadoc-plugin</artifactId>
77 <version>2.10.4</version>
79 <additionalparam>-Xdoclint:none</additionalparam>
89 <coberturaBuildPhase>package</coberturaBuildPhase>
96 <skipDockerBuild>true</skipDockerBuild>
97 <dockerBuildPhase>none</dockerBuildPhase>
98 <dockerPushPhase>none</dockerPushPhase>
103 <id>docker-proxy</id>
104 <!-- activate profile if environment variable `http_proxy` is set -->
107 <name>env.http_proxy</name>
111 <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
120 <groupId>org.mock-server</groupId>
121 <artifactId>mockserver-netty</artifactId>
122 <version>3.11</version>
125 <groupId>org.springframework</groupId>
126 <artifactId>spring-web</artifactId>
127 <version>${springframework.version}</version>
130 <groupId>org.springframework</groupId>
131 <artifactId>spring-webmvc</artifactId>
132 <version>${springframework.version}</version>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
137 <version>${jackson.version}</version>
140 <groupId>com.fasterxml.jackson.core</groupId>
141 <artifactId>jackson-annotations</artifactId>
142 <version>${jackson.version}</version>
145 <groupId>com.fasterxml.jackson.core</groupId>
146 <artifactId>jackson-databind</artifactId>
147 <version>${jackson.databind.version}</version>
149 <!-- https://eclipse-ee4j.github.io/jaxb-ri/#maven-artifacts -->
152 <groupId>jakarta.xml.bind</groupId>
153 <artifactId>jakarta.xml.bind-api</artifactId>
154 <version>${jaxb.version}</version>
158 <groupId>org.glassfish.jaxb</groupId>
159 <artifactId>jaxb-runtime</artifactId>
160 <version>${jaxb.version}</version>
164 <groupId>org.hibernate</groupId>
165 <artifactId>hibernate-entitymanager</artifactId>
166 <version>${hibernate.version}</version>
169 <groupId>org.hibernate</groupId>
170 <artifactId>hibernate-core</artifactId>
171 <version>${hibernate.version}</version>
175 <groupId>org.mariadb.jdbc</groupId>
176 <artifactId>mariadb-java-client</artifactId>
177 <version>2.2.6</version>
181 <groupId>org.hibernate.javax.persistence</groupId>
182 <artifactId>hibernate-jpa-2.1-api</artifactId>
183 <version>1.0.0.Final</version>
187 <groupId>com.google.code.gson</groupId>
188 <artifactId>gson</artifactId>
189 <version>2.8.0</version>
195 <finalName>vidSimulator</finalName>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-compiler-plugin</artifactId>
200 <version>3.1</version>
208 <groupId>io.fabric8</groupId>
209 <artifactId>docker-maven-plugin</artifactId>
210 <version>0.27.2</version>
213 <skip>${skipDockerBuild}</skip>
216 <name>onap/vid-simulator</name>
218 <cleanup>remove</cleanup>
219 <dockerFileDir>${project.basedir}</dockerFileDir>
221 <tag>${project.version}</tag>
231 <id>generate-image</id>
232 <phase>${dockerBuildPhase}</phase>
240 <phase>${dockerPushPhase}</phase>