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.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>1.2.1</version>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21 <java.version>1.8</java.version>
22 <dockerLocation>${basedir}/target</dockerLocation>
23 <docker.tag>latest</docker.tag>
24 <docker.maven.plugin.version>1.2.0</docker.maven.plugin.version>
25 <versions.jackson>2.8.9</versions.jackson>
26 <jetty.version>9.2.22.v20170606</jetty.version>
27 <start-class>org.onap.integration.test.mocks.sniroemulator.MockApplication</start-class>
30 <dependencyManagement>
33 <groupId>org.eclipse.jetty</groupId>
34 <artifactId>jetty-http</artifactId>
35 <version>${jetty.version}</version>
38 <groupId>org.eclipse.jetty</groupId>
39 <artifactId>jetty-security</artifactId>
40 <version>${jetty.version}</version>
43 <groupId>org.eclipse.jetty</groupId>
44 <artifactId>jetty-util</artifactId>
45 <version>${jetty.version}</version>
48 <groupId>org.eclipse.jetty</groupId>
49 <artifactId>jetty-xml</artifactId>
50 <version>${jetty.version}</version>
53 <groupId>org.eclipse.jetty</groupId>
54 <artifactId>jetty-io</artifactId>
55 <version>${jetty.version}</version>
58 <groupId>org.eclipse.jetty</groupId>
59 <artifactId>jetty-continuation</artifactId>
60 <version>${jetty.version}</version>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-dependencies</artifactId>
65 <version>1.5.7.RELEASE</version>
70 </dependencyManagement>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-test</artifactId>
84 <groupId>org.springframework.cloud</groupId>
85 <artifactId>spring-cloud-contract-wiremock</artifactId>
86 <version>1.1.3.RELEASE</version>
87 <scope>compile</scope>
90 <groupId>net.sf.jopt-simple</groupId>
91 <artifactId>jopt-simple</artifactId>
92 <version>5.0.3</version>
95 <groupId>org.eclipse.jetty</groupId>
96 <artifactId>jetty-server</artifactId>
97 <version>9.2.22.v20170606</version>
100 <groupId>org.eclipse.jetty</groupId>
101 <artifactId>jetty-servlet</artifactId>
102 <version>9.2.22.v20170606</version>
105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlets</artifactId>
107 <version>9.2.22.v20170606</version>
110 <groupId>org.eclipse.jetty</groupId>
111 <artifactId>jetty-webapp</artifactId>
112 <version>9.2.22.v20170606</version>
115 <groupId>com.google.guava</groupId>
116 <artifactId>guava</artifactId>
117 <version>20.0</version>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-core</artifactId>
122 <version>${versions.jackson}</version>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-annotations</artifactId>
127 <version>${versions.jackson}</version>
130 <groupId>com.fasterxml.jackson.core</groupId>
131 <artifactId>jackson-databind</artifactId>
132 <version>${versions.jackson}</version>
135 <groupId>org.apache.httpcomponents</groupId>
136 <artifactId>httpclient</artifactId>
139 <groupId>org.xmlunit</groupId>
140 <artifactId>xmlunit-core</artifactId>
141 <version>2.3.0</version>
144 <groupId>org.xmlunit</groupId>
145 <artifactId>xmlunit-legacy</artifactId>
146 <version>2.3.0</version>
149 <groupId>com.jayway.jsonpath</groupId>
150 <artifactId>json-path</artifactId>
151 <version>2.4.0</version>
154 <groupId>org.slf4j</groupId>
155 <artifactId>slf4j-api</artifactId>
156 <version>1.7.12</version>
159 <groupId>org.apache.commons</groupId>
160 <artifactId>commons-lang3</artifactId>
161 <version>3.6</version>
164 <groupId>com.flipkart.zjsonpatch</groupId>
165 <artifactId>zjsonpatch</artifactId>
166 <version>0.3.0</version>
169 <groupId>com.github.jknack</groupId>
170 <artifactId>handlebars</artifactId>
171 <version>4.0.6</version>
176 <finalName>${project.artifactId}</finalName>
179 <groupId>org.springframework.boot</groupId>
180 <artifactId>spring-boot-maven-plugin</artifactId>
184 <goal>repackage</goal>
189 <mainClass>${start-class}</mainClass>
193 <artifactId>maven-dependency-plugin</artifactId>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-resources-plugin</artifactId>
198 <version>2.7</version>
201 <id>copy-docker-file</id>
202 <phase>package</phase>
204 <goal>copy-resources</goal>
207 <outputDirectory>target</outputDirectory>
208 <overwrite>true</overwrite>
211 <directory>${basedir}/src/main/docker</directory>
212 <filtering>true</filtering>
214 <include>**/*</include>
223 <groupId>com.spotify</groupId>
224 <artifactId>docker-maven-plugin</artifactId>
225 <version>${docker.maven.plugin.version}</version>
227 <verbose>true</verbose>
228 <registryUrl>${docker.push.registry}</registryUrl>
229 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
230 <dockerDirectory>${dockerLocation}</dockerDirectory>
232 <imageTag>${docker.tag}</imageTag>
234 <forceTags>true</forceTags>