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 <dockerLocation>${basedir}/target</dockerLocation>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
22 <java.version>1.8</java.version>
23 <versions.jackson>2.8.9</versions.jackson>
24 <jetty.version>9.2.22.v20170606</jetty.version>
25 <start-class>org.onap.integration.test.mocks.sniroemulator.MockApplication</start-class>
28 <dependencyManagement>
31 <groupId>org.eclipse.jetty</groupId>
32 <artifactId>jetty-http</artifactId>
33 <version>${jetty.version}</version>
36 <groupId>org.eclipse.jetty</groupId>
37 <artifactId>jetty-security</artifactId>
38 <version>${jetty.version}</version>
41 <groupId>org.eclipse.jetty</groupId>
42 <artifactId>jetty-util</artifactId>
43 <version>${jetty.version}</version>
46 <groupId>org.eclipse.jetty</groupId>
47 <artifactId>jetty-xml</artifactId>
48 <version>${jetty.version}</version>
51 <groupId>org.eclipse.jetty</groupId>
52 <artifactId>jetty-io</artifactId>
53 <version>${jetty.version}</version>
56 <groupId>org.eclipse.jetty</groupId>
57 <artifactId>jetty-continuation</artifactId>
58 <version>${jetty.version}</version>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-dependencies</artifactId>
63 <version>1.5.7.RELEASE</version>
68 </dependencyManagement>
72 <groupId>org.springframework.boot</groupId>
73 <artifactId>spring-boot-starter</artifactId>
77 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-starter-test</artifactId>
82 <groupId>org.springframework.cloud</groupId>
83 <artifactId>spring-cloud-contract-wiremock</artifactId>
84 <version>1.1.3.RELEASE</version>
85 <scope>compile</scope>
88 <groupId>net.sf.jopt-simple</groupId>
89 <artifactId>jopt-simple</artifactId>
90 <version>5.0.3</version>
93 <groupId>org.eclipse.jetty</groupId>
94 <artifactId>jetty-server</artifactId>
95 <version>9.2.22.v20170606</version>
98 <groupId>org.eclipse.jetty</groupId>
99 <artifactId>jetty-servlet</artifactId>
100 <version>9.2.22.v20170606</version>
103 <groupId>org.eclipse.jetty</groupId>
104 <artifactId>jetty-servlets</artifactId>
105 <version>9.2.22.v20170606</version>
108 <groupId>org.eclipse.jetty</groupId>
109 <artifactId>jetty-webapp</artifactId>
110 <version>9.2.22.v20170606</version>
113 <groupId>com.google.guava</groupId>
114 <artifactId>guava</artifactId>
115 <version>20.0</version>
118 <groupId>com.fasterxml.jackson.core</groupId>
119 <artifactId>jackson-core</artifactId>
120 <version>${versions.jackson}</version>
123 <groupId>com.fasterxml.jackson.core</groupId>
124 <artifactId>jackson-annotations</artifactId>
125 <version>${versions.jackson}</version>
128 <groupId>com.fasterxml.jackson.core</groupId>
129 <artifactId>jackson-databind</artifactId>
130 <version>${versions.jackson}</version>
133 <groupId>org.apache.httpcomponents</groupId>
134 <artifactId>httpclient</artifactId>
137 <groupId>org.xmlunit</groupId>
138 <artifactId>xmlunit-core</artifactId>
139 <version>2.3.0</version>
142 <groupId>org.xmlunit</groupId>
143 <artifactId>xmlunit-legacy</artifactId>
144 <version>2.3.0</version>
147 <groupId>com.jayway.jsonpath</groupId>
148 <artifactId>json-path</artifactId>
149 <version>2.4.0</version>
152 <groupId>org.slf4j</groupId>
153 <artifactId>slf4j-api</artifactId>
154 <version>1.7.12</version>
157 <groupId>org.apache.commons</groupId>
158 <artifactId>commons-lang3</artifactId>
159 <version>3.6</version>
162 <groupId>com.flipkart.zjsonpatch</groupId>
163 <artifactId>zjsonpatch</artifactId>
164 <version>0.3.0</version>
167 <groupId>com.github.jknack</groupId>
168 <artifactId>handlebars</artifactId>
169 <version>4.0.6</version>
174 <finalName>${project.artifactId}</finalName>
177 <groupId>org.springframework.boot</groupId>
178 <artifactId>spring-boot-maven-plugin</artifactId>
182 <goal>repackage</goal>
187 <mainClass>${start-class}</mainClass>
191 <artifactId>maven-dependency-plugin</artifactId>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-resources-plugin</artifactId>
196 <version>2.7</version>
199 <id>copy-docker-file</id>
200 <phase>package</phase>
202 <goal>copy-resources</goal>
205 <outputDirectory>target</outputDirectory>
206 <overwrite>true</overwrite>
209 <directory>${basedir}/src/main/docker</directory>
210 <filtering>true</filtering>
212 <include>**/*</include>
221 <groupId>com.spotify</groupId>
222 <artifactId>docker-maven-plugin</artifactId>
223 <version>1.0.0</version>
225 <verbose>true</verbose>
226 <registryUrl>${docker.push.registry}</registryUrl>
227 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
228 <dockerDirectory>${dockerLocation}</dockerDirectory>
230 <imageTag>latest</imageTag>
232 <forceTags>true</forceTags>