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