blob: d5d7157dae3e4bc853bcf81c050c8ac21f12efeb [file] [log] [blame]
Wojciech Sliwka032ff222019-07-10 13:48:52 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 Simulator
5 ================================================================================
6 Copyright (C) 2019 Nokia. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
22<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26
27 <parent>
28 <groupId>org.onap.simulator</groupId>
29 <artifactId>simulator-parent</artifactId>
30 <version>5.0.0-SNAPSHOT</version>
31 </parent>
32
33 <artifactId>netconfsimulator</artifactId>
34 <version>5.0.0-SNAPSHOT</version>
35
36 <properties>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <maven.compiler.source>1.8</maven.compiler.source>
39 <maven.compiler.target>1.8</maven.compiler.target>
40 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
41 <docker.registry>nexus3.onap.org:10003</docker.registry>
42 <docker.image.tag>latest</docker.image.tag>
43 <docker.image.name>onap/${project.artifactId}</docker.image.name>
44 <spring.boot.version>2.1.6.RELEASE</spring.boot.version>
45 <spring.kafka.version>2.2.7.RELEASE</spring.kafka.version>
46 <apache.httpclient.version>4.5.6</apache.httpclient.version>
47 <dependency.directory.name>libs</dependency.directory.name>
48 <dependency.directory.location>${project.build.directory}/${dependency.directory.name}
49 </dependency.directory.location>
50 <netopeer-saver-project-name>netopeer-change-saver</netopeer-saver-project-name>
51 <netopeer-saver-source-dir>${project.basedir}/netopeer-change-saver-native</netopeer-saver-source-dir>
52 <netopeer-saver-build-dir>${project.build.directory}/cmake</netopeer-saver-build-dir>
53 <netopeer-saver-executable-dir>${netopeer-saver-build-dir}/bin</netopeer-saver-executable-dir>
54 <skipITs>true</skipITs>
wsliwka86e07402019-11-20 13:20:08 +010055 <proxy>""</proxy>
Wojciech Sliwka032ff222019-07-10 13:48:52 +020056 </properties>
57
58 <dependencies>
59 <dependency>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter</artifactId>
62 <version>${spring.boot.version}</version>
63 </dependency>
64 <dependency>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-web</artifactId>
67 <version>${spring.boot.version}</version>
68 </dependency>
69 <dependency>
70 <groupId>org.projectlombok</groupId>
71 <artifactId>lombok</artifactId>
72 <version>1.18.2</version>
73 <scope>provided</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.onosproject</groupId>
77 <artifactId>jnc</artifactId>
78 <version>1.0</version>
79 </dependency>
80 <dependency>
81 <groupId>org.springframework.boot</groupId>
82 <artifactId>spring-boot-starter-websocket</artifactId>
83 <version>${spring.boot.version}</version>
84 </dependency>
85 <dependency>
86 <groupId>javax.websocket</groupId>
87 <artifactId>javax.websocket-api</artifactId>
88 <version>1.1</version>
89 </dependency>
90
91 <!-- Kafka -->
92
93 <dependency>
94 <groupId>org.springframework.kafka</groupId>
95 <artifactId>spring-kafka</artifactId>
96 <version>${spring.kafka.version}</version>
97 </dependency>
98
99 <!-- TEST DEPENDENCIES -->
100
101 <dependency>
102 <groupId>org.assertj</groupId>
103 <artifactId>assertj-core</artifactId>
104 <version>3.9.1</version>
105 <scope>test</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.mockito</groupId>
109 <artifactId>mockito-core</artifactId>
110 <version>2.18.3</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.junit.jupiter</groupId>
115 <artifactId>junit-jupiter-engine</artifactId>
116 <version>5.3.1</version>
117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.junit.vintage</groupId>
121 <artifactId>junit-vintage-engine</artifactId>
122 <version>5.3.1</version>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
128 <version>4.12</version>
129 <scope>test</scope>
130 </dependency>
131 <dependency>
132 <groupId>org.springframework.boot</groupId>
133 <artifactId>spring-boot-starter-test</artifactId>
134 <version>${spring.boot.version}</version>
135 <scope>test</scope>
136 </dependency>
137 <dependency>
138 <groupId>org.springframework.kafka</groupId>
139 <artifactId>spring-kafka-test</artifactId>
140 <version>${spring.kafka.version}</version>
141 <scope>test</scope>
142 </dependency>
143 <dependency>
144 <groupId>org.bitbucket.radistao.test</groupId>
145 <artifactId>before-after-spring-test-runner</artifactId>
146 <version>0.1.0</version>
147 <scope>test</scope>
148 </dependency>
149 <dependency>
150 <groupId>com.palantir.docker.compose</groupId>
151 <artifactId>docker-compose-rule-junit4</artifactId>
152 <version>0.29.1</version>
153 <scope>test</scope>
154 </dependency>
155 <dependency>
156 <groupId>org.apache.httpcomponents</groupId>
157 <artifactId>httpclient</artifactId>
158 <version>4.5.6</version>
159 <scope>test</scope>
160 </dependency>
161 <dependency>
162 <groupId>org.apache.httpcomponents</groupId>
163 <artifactId>httpmime</artifactId>
164 <version>4.5.6</version>
165 <scope>test</scope>
166 </dependency>
167 <dependency>
168 <groupId>org.apache.httpcomponents</groupId>
169 <artifactId>httpclient</artifactId>
170 <version>${apache.httpclient.version}</version>
171 </dependency>
172 <dependency>
173 <groupId>org.apache.httpcomponents</groupId>
174 <artifactId>httpmime</artifactId>
175 <version>${apache.httpclient.version}</version>
176 </dependency>
177
178 <dependency>
179 <groupId>io.springfox</groupId>
180 <artifactId>springfox-swagger2</artifactId>
181 <version>2.9.2</version>
182 </dependency>
183 <dependency>
184 <groupId>io.springfox</groupId>
185 <artifactId>springfox-swagger-ui</artifactId>
186 <version>2.9.2</version>
187 </dependency>
188
189 </dependencies>
190
191 <build>
192 <plugins>
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-dependency-plugin</artifactId>
196 <configuration>
197 <outputDirectory>${dependency.directory.location}</outputDirectory>
198 <includeScope>runtime</includeScope>
199 <silent>true</silent>
200 </configuration>
201 <executions>
202 <execution>
203 <id>copy-external-dependencies</id>
204 <phase>package</phase>
205 <goals>
206 <goal>copy-dependencies</goal>
207 </goals>
208 </execution>
209 </executions>
210 </plugin>
211 <plugin>
212 <artifactId>maven-surefire-plugin</artifactId>
213 <version>2.19</version>
214 <dependencies>
215 <dependency>
216 <groupId>org.junit.platform</groupId>
217 <artifactId>junit-platform-surefire-provider</artifactId>
218 <version>1.1.1</version>
219 </dependency>
220 </dependencies>
221 <configuration>
222 <detail>true</detail>
223 <printSummary>true</printSummary>
224 <useSystemClassLoader>false</useSystemClassLoader>
225 </configuration>
226 </plugin>
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-failsafe-plugin</artifactId>
230 <version>2.19.1</version>
231 <configuration>
232 <skipITs>${skipITs}</skipITs>
233 </configuration>
234 <executions>
235 <execution>
236 <goals>
237 <goal>integration-test</goal>
238 <goal>verify</goal>
239 </goals>
240 </execution>
241 </executions>
242 </plugin>
243 <plugin>
wsliwka86e07402019-11-20 13:20:08 +0100244 <groupId>io.fabric8</groupId>
245 <artifactId>docker-maven-plugin</artifactId>
246 <version>0.31.0</version>
247 <executions>
248 <execution>
249 <id>build-images</id>
250 <goals>
251 <goal>push</goal>
252 </goals>
253 </execution>
254 </executions>
255 <configuration>
256 <images>
257 <image>
258 <name>${docker.registry}/${docker.image.name}</name>
259 <build>
260 <contextDir>${project.basedir}</contextDir>
261 <dockerFile>${project.basedir}/Dockerfile_app</dockerFile>
262 </build>
263 </image>
264 <image>
265 <name>${docker.registry}/netopeer</name>
266 <build>
267 <contextDir>${project.basedir}</contextDir>
268 <dockerFile>${project.basedir}/Dockerfile_netopeer</dockerFile>
269 <args>
270 <PROXY>${proxy}</PROXY>
271 </args>
272 </build>
273 </image>
274 </images>
275 </configuration>
Wojciech Sliwka032ff222019-07-10 13:48:52 +0200276 </plugin>
277 </plugins>
278 </build>
279 <repositories>
280 <repository>
281 <id>Palantir</id>
282 <url>https://dl.bintray.com/palantir/releases/</url>
283 </repository>
284 </repositories>
285</project>