blob: 46b4b2122339cb3069cf7a8f2f915ad680b9fddc [file] [log] [blame]
Rohan Patel6f7e46b2019-09-25 14:35:28 -04001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns="http://maven.apache.org/POM/4.0.0"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <artifactId>otf-service-api</artifactId>
6 <build>
7 <finalName>otf-service-api</finalName>
8 <plugins>
9 <plugin>
10 <artifactId>maven-compiler-plugin</artifactId>
11 <configuration>
12 <source>1.8</source>
13 <target>1.8</target>
14 </configuration>
15 <groupId>org.apache.maven.plugins</groupId>
16 </plugin>
17 <plugin>
18 <artifactId>spring-boot-maven-plugin</artifactId>
19 <groupId>org.springframework.boot</groupId>
20 </plugin>
21 <plugin>
22 <artifactId>swagger-maven-plugin</artifactId>
23 <configuration>
24 <outputFileName>openapi</outputFileName>
25 <!--<outputPath>${project.build.directory}/generatedtest</outputPath>-->
26 <outputFormat>JSONANDYAML</outputFormat>
27 <prettyPrint>true</prettyPrint>
28 <resourcePackages>
29 <package>org.oran.otf.api</package>
30 </resourcePackages>
31 </configuration>
32 <executions>
33 <execution>
34 <goals>
35 <goal>resolve</goal>
36 </goals>
37 <phase>compile</phase>
38 </execution>
39 </executions>
40 <groupId>io.swagger.core.v3</groupId>
41 <version>2.0.7</version>
42 </plugin>
43
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-surefire-plugin</artifactId>
47 <version>2.22.1</version>
48 <configuration>
49 <skipTests>${skipUTs}</skipTests>
50 </configuration>
51 </plugin>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-failsafe-plugin</artifactId>
55 <version>2.22.1</version>
56 <executions>
57 <execution>
58 <id>run-integration-tests</id>
59 <phase>integration-test</phase>
60 <goals>
61 <goal>integration-test</goal>
62 <goal>verify</goal>
63 </goals>
64 </execution>
65 </executions>
66 <configuration>
67 <skipTests>${skipTests}</skipTests>
68 <skipITs>${skipITs}</skipITs>
69 </configuration>
70 </plugin>
71
72 </plugins>
73 <resources>
74 <resource>
75 <directory>src/main/resources</directory>
76 <excludes>
77 <exclude>otf_dev.p12</exclude>
78 </excludes>
79 <filtering>true</filtering>
80 <includes>
81 <include>**/*</include>
82 </includes>
83 <targetPath>${basedir}/target/src/main/resources</targetPath>
84 </resource>
85 <resource>
86 <directory>src/main/resources</directory>
87 <excludes>
88 <exclude>otf_dev.p12</exclude>
89 </excludes>
90 <filtering>true</filtering>
91 <includes>
92 <include>**/*</include>
93 </includes>
94 </resource>
95 <resource>
96 <directory>src/main/resources</directory>
97 <includes>
98 <include>otf_dev.p12</include>
99 </includes>
100 <targetPath>${basedir}/target/src/main/resources</targetPath>
101 </resource>
102 <resource>
103 <directory>src/main/resources</directory>
104 <includes>
105 <include>otf_dev.p12</include>
106 </includes>
107 </resource>
108 <resource>
109 <directory>docker</directory>
110 <includes>
111 <include>Dockerfile</include>
112 </includes>
113 <targetPath>${basedir}/target</targetPath>
114 </resource>
115 </resources>
116 </build>
117 <dependencies>
118 <dependency>
119 <artifactId>spring-boot-starter</artifactId>
120 <groupId>org.springframework.boot</groupId>
121 </dependency>
122
123 <dependency>
124 <artifactId>spring-boot-starter-web</artifactId>
125 <groupId>org.springframework.boot</groupId>
126 </dependency>
127
128 <dependency>
129 <artifactId>spring-boot-starter-jersey</artifactId>
130 <groupId>org.springframework.boot</groupId>
131 </dependency>
132
133
134 <dependency>
135 <groupId>org.glassfish.jersey.test-framework</groupId>
136 <artifactId>jersey-test-framework-core</artifactId>
137 <scope>test</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
141 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
142 <scope>test</scope>
143 </dependency>
144 <dependency>
145 <groupId>de.flapdoodle.embed</groupId>
146 <artifactId>de.flapdoodle.embed.mongo</artifactId>
147 <scope>test</scope>
148 </dependency>
149 <dependency>
150 <groupId>com.github.tomakehurst</groupId>
151 <artifactId>wiremock-jre8</artifactId>
152 <version>2.24.0</version>
153 <scope>test</scope>
154 </dependency>
155 <dependency>
156 <groupId>org.mockito</groupId>
157 <artifactId>mockito-core</artifactId>
158 <version>2.15.0</version>
159 <scope>test</scope>
160 </dependency>
161 <dependency>
162 <groupId>org.mockito</groupId>
163 <artifactId>mockito-inline</artifactId>
164 <scope>test</scope>
165 </dependency>
166 <dependency>
167 <groupId>io.rest-assured</groupId>
168 <artifactId>rest-assured</artifactId>
169 <version>4.0.0</version>
170 <scope>test</scope>
171 </dependency>
172 <dependency>
173 <groupId>io.rest-assured</groupId>
174 <artifactId>rest-assured-all</artifactId>
175 <version>4.0.0</version>
176 <scope>test</scope>
177 </dependency>
178
179
180
181 <dependency>
182 <artifactId>spring-boot-starter-test</artifactId>
183 <groupId>org.springframework.boot</groupId>
184 <scope>test</scope>
185 <exclusions>
186 <exclusion>
187 <groupId>com.vaadin.external.google</groupId>
188 <artifactId>android-json</artifactId>
189 </exclusion>
190 </exclusions>
191 </dependency>
192
193 <dependency>
194 <artifactId>spring-boot-starter-data-mongodb</artifactId>
195 <groupId>org.springframework.boot</groupId>
196 </dependency>
197
198 <dependency>
199 <artifactId>swagger-jaxrs2</artifactId>
200 <groupId>io.swagger.core.v3</groupId>
201 <version>2.0.7</version>
202 </dependency>
203
204 <dependency>
205 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
206 <groupId>io.swagger.core.v3</groupId>
207 <version>2.0.7</version>
208 </dependency>
209
210 <dependency>
211 <artifactId>swagger-annotations</artifactId>
212 <groupId>io.swagger.core.v3</groupId>
213 <version>2.0.7</version>
214 </dependency>
215
216 <dependency>
217 <artifactId>springfox-swagger2</artifactId>
218 <groupId>io.springfox</groupId>
219 <version>2.9.2</version>
220 </dependency>
221
222 <dependency>
223 <artifactId>springfox-swagger-ui</artifactId>
224 <groupId>io.springfox</groupId>
225 <version>2.9.2</version>
226 </dependency>
227
228 <dependency>
229 <artifactId>springfox-bean-validators</artifactId>
230 <groupId>io.springfox</groupId>
231 <version>2.9.2</version>
232 </dependency>
233
234 <dependency>
235 <artifactId>httpclient</artifactId>
236 <groupId>org.apache.httpcomponents</groupId>
237 </dependency>
238
239 <dependency>
240 <artifactId>h2</artifactId>
241 <groupId>com.h2database</groupId>
242 </dependency>
243
244<!-- <dependency>-->
245<!-- <artifactId>wiremock</artifactId>-->
246<!-- <groupId>com.github.tomakehurst</groupId>-->
247<!-- <version>1.58</version>-->
248<!-- </dependency>-->
249
250 <dependency>
251 <artifactId>gson</artifactId>
252 <groupId>com.google.code.gson</groupId>
253 <version>2.8.5</version>
254 </dependency>
255
256 <!-- CADI AAF Dependencies !! -->
257 <dependency>
258 <artifactId>aaf-auth-client</artifactId>
259 <groupId>org.onap.aaf.authz</groupId>
260 <version>${cadi.version}</version>
261 </dependency>
262
263 <dependency>
264 <artifactId>aaf-cadi-core</artifactId>
265 <groupId>org.onap.aaf.authz</groupId>
266 <version>${cadi.version}</version>
267 </dependency>
268
269 <dependency>
270 <artifactId>aaf-cadi-aaf</artifactId>
271 <groupId>org.onap.aaf.authz</groupId>
272 <version>${cadi.version}</version>
273 </dependency>
274
275 <dependency>
276 <artifactId>json</artifactId>
277 <groupId>org.json</groupId>
278 <version>20180813</version>
279 </dependency>
280
281 <dependency>
282 <artifactId>jackson-annotations</artifactId>
283 <groupId>com.fasterxml.jackson.core</groupId>
284 </dependency>
285
286 <dependency>
287 <artifactId>jackson-core</artifactId>
288 <groupId>com.fasterxml.jackson.core</groupId>
289 </dependency>
290
291 <dependency>
292 <artifactId>jackson-databind</artifactId>
293 <groupId>com.fasterxml.jackson.core</groupId>
294 </dependency>
295
296 <dependency>
297 <artifactId>jersey-media-multipart</artifactId>
298 <groupId>org.glassfish.jersey.media</groupId>
299 <version>2.27</version>
300 </dependency>
301
302 <dependency>
303 <artifactId>httpmime</artifactId>
304 <groupId>org.apache.httpcomponents</groupId>
Rohan Patel4aa83422019-09-30 17:01:25 -0400305 <version>4.5.7</version>
Rohan Patel6f7e46b2019-09-25 14:35:28 -0400306 </dependency>
307
308 <dependency>
309 <artifactId>httpasyncclient</artifactId>
310 <groupId>org.apache.httpcomponents</groupId>
311 <version>4.1.4</version>
312 </dependency>
313 <dependency>
314 <groupId>net.java.dev.jna</groupId>
315 <artifactId>jna-platform</artifactId>
316 </dependency>
317 </dependencies>
318
319 <description>Service API - OTF</description>
320 <groupId>org.oran.otf</groupId>
321
322 <modelVersion>4.0.0</modelVersion>
323
324 <name>otf-service-api</name>
325
326 <packaging>jar</packaging>
327
328 <parent>
329 <artifactId>spring-boot-starter-parent</artifactId>
330 <groupId>org.springframework.boot</groupId>
331 <version>2.1.3.RELEASE</version>
332 </parent>
333
334 <properties>
335 <skipTests>false</skipTests>
336 <skipITs>${skipTests}</skipITs>
337 <skipUTs>${skipTests}</skipUTs>
338 <cadi.version>2.1.10</cadi.version>
339 <docker.registry>registry.hub.docker.io</docker.registry>
340 <java.version>1.8</java.version>
341 <namespace>org.oran.otf</namespace>
342 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
343 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
344 </properties>
345 <version>Camille.1.0</version>
346
347
348</project>