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.integration</groupId>
7 <artifactId>sniroemulator</artifactId>
8 <version>1.0-SNAPSHOT</version>
9 <name>sniroemulator</name>
10 <description>onap sniro emulator project based on Spring Boot</description>
13 <groupId>org.onap.oparent</groupId>
14 <artifactId>oparent</artifactId>
15 <version>0.1.1</version>
19 <groupId>org.springframework.boot</groupId>
20 <artifactId>spring-boot-starter-parent</artifactId>
21 <version>1.5.7.RELEASE</version>
25 <dockerLocation>${basedir}/target</dockerLocation>
26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
28 <java.version>1.8</java.version>
29 <versions.jackson>2.8.9</versions.jackson>
30 <jetty.version>9.2.22.v20170606</jetty.version>
31 <start-class>org.onap.integration.test.mocks.sniroemulator.MockApplication</start-class>
34 <dependencyManagement>
37 <groupId>org.eclipse.jetty</groupId>
38 <artifactId>jetty-http</artifactId>
39 <version>${jetty.version}</version>
42 <groupId>org.eclipse.jetty</groupId>
43 <artifactId>jetty-security</artifactId>
44 <version>${jetty.version}</version>
47 <groupId>org.eclipse.jetty</groupId>
48 <artifactId>jetty-util</artifactId>
49 <version>${jetty.version}</version>
52 <groupId>org.eclipse.jetty</groupId>
53 <artifactId>jetty-xml</artifactId>
54 <version>${jetty.version}</version>
57 <groupId>org.eclipse.jetty</groupId>
58 <artifactId>jetty-io</artifactId>
59 <version>${jetty.version}</version>
62 <groupId>org.eclipse.jetty</groupId>
63 <artifactId>jetty-continuation</artifactId>
64 <version>${jetty.version}</version>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-dependencies</artifactId>
69 <version>1.5.7.RELEASE</version>
74 </dependencyManagement>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-test</artifactId>
88 <groupId>org.springframework.cloud</groupId>
89 <artifactId>spring-cloud-contract-wiremock</artifactId>
90 <version>1.1.3.RELEASE</version>
91 <scope>compile</scope>
94 <groupId>net.sf.jopt-simple</groupId>
95 <artifactId>jopt-simple</artifactId>
96 <version>5.0.3</version>
99 <groupId>org.eclipse.jetty</groupId>
100 <artifactId>jetty-server</artifactId>
101 <version>9.2.22.v20170606</version>
104 <groupId>org.eclipse.jetty</groupId>
105 <artifactId>jetty-servlet</artifactId>
106 <version>9.2.22.v20170606</version>
109 <groupId>org.eclipse.jetty</groupId>
110 <artifactId>jetty-servlets</artifactId>
111 <version>9.2.22.v20170606</version>
114 <groupId>org.eclipse.jetty</groupId>
115 <artifactId>jetty-webapp</artifactId>
116 <version>9.2.22.v20170606</version>
119 <groupId>com.google.guava</groupId>
120 <artifactId>guava</artifactId>
121 <version>20.0</version>
124 <groupId>com.fasterxml.jackson.core</groupId>
125 <artifactId>jackson-core</artifactId>
126 <version>${versions.jackson}</version>
129 <groupId>com.fasterxml.jackson.core</groupId>
130 <artifactId>jackson-annotations</artifactId>
131 <version>${versions.jackson}</version>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-databind</artifactId>
136 <version>${versions.jackson}</version>
139 <groupId>org.apache.httpcomponents</groupId>
140 <artifactId>httpclient</artifactId>
143 <groupId>org.xmlunit</groupId>
144 <artifactId>xmlunit-core</artifactId>
145 <version>2.3.0</version>
148 <groupId>org.xmlunit</groupId>
149 <artifactId>xmlunit-legacy</artifactId>
150 <version>2.3.0</version>
153 <groupId>com.jayway.jsonpath</groupId>
154 <artifactId>json-path</artifactId>
155 <version>2.4.0</version>
158 <groupId>org.slf4j</groupId>
159 <artifactId>slf4j-api</artifactId>
160 <version>1.7.12</version>
163 <groupId>org.apache.commons</groupId>
164 <artifactId>commons-lang3</artifactId>
165 <version>3.6</version>
168 <groupId>com.flipkart.zjsonpatch</groupId>
169 <artifactId>zjsonpatch</artifactId>
170 <version>0.3.0</version>
173 <groupId>com.github.jknack</groupId>
174 <artifactId>handlebars</artifactId>
175 <version>4.0.6</version>
180 <finalName>${project.artifactId}</finalName>
183 <groupId>org.springframework.boot</groupId>
184 <artifactId>spring-boot-maven-plugin</artifactId>
188 <goal>repackage</goal>
193 <mainClass>${start-class}</mainClass>
197 <artifactId>maven-dependency-plugin</artifactId>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-resources-plugin</artifactId>
202 <version>2.7</version>
205 <id>copy-docker-file</id>
206 <phase>package</phase>
208 <goal>copy-resources</goal>
211 <outputDirectory>target</outputDirectory>
212 <overwrite>true</overwrite>
215 <directory>${basedir}/src/main/docker</directory>
216 <filtering>true</filtering>
218 <include>**/*</include>
227 <groupId>com.spotify</groupId>
228 <artifactId>docker-maven-plugin</artifactId>
229 <version>1.0.0</version>
231 <verbose>true</verbose>
232 <registryUrl>${docker.push.registry}</registryUrl>
233 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
234 <dockerDirectory>${dockerLocation}</dockerDirectory>
236 <imageTag>latest</imageTag>
238 <forceTags>true</forceTags>