blob: 714be51d16415482293660a12a647fc195a5acb6 [file] [log] [blame]
Geora Barsky16c93bd2017-09-19 17:08:12 -04001<?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>
Geora Barsky46c1a402017-09-22 12:47:03 -04007 <artifactId>sniroemulator</artifactId>
Geora Barsky16c93bd2017-09-19 17:08:12 -04008 <version>1.0-SNAPSHOT</version>
Geora Barsky46c1a402017-09-22 12:47:03 -04009 <name>sniroemulator</name>
10 <description>onap sniro emulator project based on Spring Boot</description>
Geora Barsky16c93bd2017-09-19 17:08:12 -040011
12<parent>
13 <groupId>org.springframework.boot</groupId>
14 <artifactId>spring-boot-starter-parent</artifactId>
15 <version>1.5.7.RELEASE</version>
16 <relativePath/> <!-- lookup parent from repository -->
17</parent>
18
19<properties>
Geora Barskyf9aac392017-09-22 14:56:12 -040020 <dockerLocation>${basedir}/target</dockerLocation>
Geora Barsky16c93bd2017-09-19 17:08:12 -040021 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
23 <java.version>1.8</java.version>
24 <versions.jackson>2.8.9</versions.jackson>
25 <jetty.version>9.2.22.v20170606</jetty.version>
26</properties>
27
28<dependencies>
29 <dependency>
30 <groupId>org.springframework.boot</groupId>
31 <artifactId>spring-boot-starter</artifactId>
32 </dependency>
33
34 <dependency>
35 <groupId>org.springframework.boot</groupId>
36 <artifactId>spring-boot-starter-test</artifactId>
37 <scope>test</scope>
38 </dependency>
39 <dependency>
40 <groupId>org.springframework.cloud</groupId>
41 <artifactId>spring-cloud-contract-wiremock</artifactId>
42 <version>1.1.3.RELEASE</version>
43 <scope>compile</scope>
44 </dependency>
45 <dependency>
46 <groupId>net.sf.jopt-simple</groupId>
47 <artifactId>jopt-simple</artifactId>
48 <version>5.0.3</version>
49 </dependency>
50 <dependency>
51 <groupId>org.eclipse.jetty</groupId>
52 <artifactId>jetty-server</artifactId>
53 <version>9.2.22.v20170606</version>
54 </dependency>
55 <dependency>
56 <groupId>org.eclipse.jetty</groupId>
57 <artifactId>jetty-servlet</artifactId>
58 <version>9.2.22.v20170606</version>
59 </dependency>
60 <dependency>
61 <groupId>org.eclipse.jetty</groupId>
62 <artifactId>jetty-servlets</artifactId>
63 <version>9.2.22.v20170606</version>
64 </dependency>
65 <dependency>
66 <groupId>org.eclipse.jetty</groupId>
67 <artifactId>jetty-webapp</artifactId>
68 <version>9.2.22.v20170606</version>
69 </dependency>
70 <dependency>
71 <groupId>com.google.guava</groupId>
72 <artifactId>guava</artifactId>
73 <version>20.0</version>
74 </dependency>
75 <dependency>
76 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-core</artifactId>
78 <version>${versions.jackson}</version>
79 </dependency>
80 <dependency>
81 <groupId>com.fasterxml.jackson.core</groupId>
82 <artifactId>jackson-annotations</artifactId>
83 <version>${versions.jackson}</version>
84 </dependency>
85 <dependency>
86 <groupId>com.fasterxml.jackson.core</groupId>
87 <artifactId>jackson-databind</artifactId>
88 <version>${versions.jackson}</version>
89 </dependency>
90 <dependency>
91 <groupId>org.apache.httpcomponents</groupId>
92 <artifactId>httpclient</artifactId>
93 </dependency>
94 <dependency>
95 <groupId>org.xmlunit</groupId>
96 <artifactId>xmlunit-core</artifactId>
97 <version>2.3.0</version>
98 </dependency>
99 <dependency>
100 <groupId>org.xmlunit</groupId>
101 <artifactId>xmlunit-legacy</artifactId>
102 <version>2.3.0</version>
103 </dependency>
104 <dependency>
105 <groupId>com.jayway.jsonpath</groupId>
106 <artifactId>json-path</artifactId>
107 <version>2.4.0</version>
108 </dependency>
109 <dependency>
110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-api</artifactId>
112 <version>1.7.12</version>
113 </dependency>
114 <dependency>
115 <groupId>org.apache.commons</groupId>
116 <artifactId>commons-lang3</artifactId>
117 <version>3.6</version>
118 </dependency>
119 <dependency>
120 <groupId>com.flipkart.zjsonpatch</groupId>
121 <artifactId>zjsonpatch</artifactId>
122 <version>0.3.0</version>
123 </dependency>
124 <dependency>
125 <groupId>com.github.jknack</groupId>
126 <artifactId>handlebars</artifactId>
127 <version>4.0.6</version>
128 </dependency>
129</dependencies>
130
131<build>
132 <finalName>${project.artifactId}</finalName>
133 <plugins>
134 <plugin>
135 <groupId>org.springframework.boot</groupId>
136 <artifactId>spring-boot-maven-plugin</artifactId>
137 </plugin>
138 <plugin>
139 <artifactId>maven-dependency-plugin</artifactId>
140 </plugin>
Geora Barskyf9aac392017-09-22 14:56:12 -0400141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-resources-plugin</artifactId>
144 <version>2.7</version>
145 <executions>
146 <execution>
147 <id>copy-docker-file</id>
148 <phase>package</phase>
149 <goals>
150 <goal>copy-resources</goal>
151 </goals>
152 <configuration>
153 <outputDirectory>target</outputDirectory>
154 <overwrite>true</overwrite>
155 <resources>
156 <resource>
157 <directory>${basedir}/src/main/docker</directory>
158 <filtering>true</filtering>
159 <includes>
160 <include>**/*</include>
161 </includes>
162 </resource>
163 </resources>
164 </configuration>
165 </execution>
166 </executions>
167 </plugin>
168 <plugin>
169 <groupId>com.spotify</groupId>
170 <artifactId>docker-maven-plugin</artifactId>
171 <version>0.4.11</version>
172 <configuration>
173 <imageName>openecomp/${project.artifactId}</imageName>
174 <dockerDirectory>${dockerLocation}</dockerDirectory>
175 <serverId>docker-hub</serverId>
176 <imageTags>
177 <imageTag>latest</imageTag>
178 </imageTags>
179 <forceTags>true</forceTags>
180 </configuration>
181 </plugin>
Geora Barsky16c93bd2017-09-19 17:08:12 -0400182 </plugins>
183</build>
184</project>