Add tests for X-FromMsId
[aai/gizmo.git] / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 org.onap.aai
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.oparent</groupId>
28         <artifactId>oparent</artifactId>
29         <version>1.1.0</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.aai.gizmo</groupId>
34     <artifactId>gizmo</artifactId>
35     <version>1.3.0-SNAPSHOT</version>
36     <name>aai-gizmo</name>
37
38
39     <properties>
40         <docker.location>${basedir}/target</docker.location>
41         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
42         <testRouteOffer>workstation</testRouteOffer>
43         <testEnv>DEV</testEnv>
44         <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
45     </properties>
46
47     <dependencyManagement>
48         <dependencies>
49             <dependency>
50                 <!-- Import dependency management from Spring Boot -->
51                 <groupId>org.springframework.boot</groupId>
52                 <artifactId>spring-boot-dependencies</artifactId>
53                 <version>1.5.12.RELEASE</version>
54                 <type>pom</type>
55                 <scope>import</scope>
56             </dependency>
57         </dependencies>
58     </dependencyManagement>
59
60     <dependencies>
61         <dependency>
62             <groupId>org.springframework.boot</groupId>
63             <artifactId>spring-boot-starter-web</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.springframework.boot</groupId>
67             <artifactId>spring-boot-starter-jetty</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.springframework.boot</groupId>
71             <artifactId>spring-boot-starter</artifactId>
72             <exclusions>
73                 <exclusion>
74                     <groupId>ch.qos.logback</groupId>
75                     <artifactId>logback-classic</artifactId>
76                 </exclusion>
77             </exclusions>
78         </dependency>
79         <dependency>
80             <groupId>org.springframework.boot</groupId>
81             <artifactId>spring-boot-starter-jersey</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-actuator</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.apache.cxf</groupId>
89             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
90             <version>3.2.4</version>
91         </dependency>
92         <dependency>
93             <groupId>ch.qos.logback</groupId>
94             <artifactId>logback-classic</artifactId>
95             <version>1.2.3</version>
96         </dependency>
97         <dependency>
98             <groupId>ch.qos.logback</groupId>
99             <artifactId>logback-core</artifactId>
100             <version>1.2.3</version>
101             <exclusions>
102                 <exclusion>
103                     <groupId>ch.qos.logback</groupId>
104                     <artifactId>logback-classic</artifactId>
105                 </exclusion>
106             </exclusions>
107         </dependency> 
108         <dependency>
109             <groupId>ch.qos.logback</groupId>
110             <artifactId>logback-access</artifactId>
111             <version>1.2.3</version>
112         </dependency>
113         <dependency>
114             <groupId>com.google.guava</groupId>
115             <artifactId>guava</artifactId>
116             <version>23.0</version>
117         </dependency>
118         <dependency>
119             <groupId>radeox</groupId>
120             <artifactId>radeox</artifactId>
121             <version>1.0-b2</version>
122         </dependency>
123         <dependency>
124             <groupId>org.codehaus.jackson</groupId>
125             <artifactId>jackson-mapper-asl</artifactId>
126             <version>1.4.5</version>
127         </dependency>
128         <dependency>
129             <groupId>org.mockito</groupId>
130             <artifactId>mockito-core</artifactId>
131             <version>1.10.19</version>
132             <scope>test</scope>
133             <exclusions>
134                 <exclusion>
135                     <groupId>org.hamcrest</groupId>
136                     <artifactId>hamcrest-library</artifactId>
137                 </exclusion>
138             </exclusions>
139         </dependency>
140         <dependency>
141             <groupId>dom4j</groupId>
142             <artifactId>dom4j</artifactId>
143             <version>1.6.1</version>
144             <scope>provided</scope>
145         </dependency>
146         <dependency>
147             <groupId>commons-io</groupId>
148             <artifactId>commons-io</artifactId>
149             <version>2.4</version>
150         </dependency>
151         <dependency>
152             <groupId>org.apache.commons</groupId>
153             <artifactId>commons-lang3</artifactId>
154             <version>3.3.1</version>
155         </dependency>
156         <dependency>
157             <groupId>com.google.code.gson</groupId>
158             <artifactId>gson</artifactId>
159             <version>2.6.2</version>
160         </dependency>
161         <!-- Common logging framework -->
162         <dependency>
163             <groupId>org.onap.aai.logging-service</groupId>
164             <artifactId>common-logging</artifactId>
165             <version>1.2.2</version>
166             <exclusions>
167                 <exclusion>
168                     <groupId>ch.qos.logback</groupId>
169                     <artifactId>logback-classic</artifactId>
170                 </exclusion>
171                 <exclusion>
172                     <groupId>ch.qos.logback</groupId>
173                     <artifactId>logback-core</artifactId>
174                 </exclusion>
175                 <exclusion>
176                     <groupId>org.slf4j</groupId>
177                     <artifactId>slf4j-api</artifactId>
178                 </exclusion>
179             </exclusions>
180         </dependency>
181         <dependency>
182             <groupId>org.onap.aai.event-client</groupId>
183             <artifactId>event-client-dmaap</artifactId>
184             <version>1.2.2</version>
185             <exclusions>
186                 <exclusion>
187                     <groupId>org.slf4j</groupId>
188                     <artifactId>slf4j-api</artifactId>
189                 </exclusion>
190             </exclusions>
191         </dependency>
192         <dependency>
193             <groupId>org.onap.aai.aai-common</groupId>
194             <artifactId>aai-schema</artifactId>
195             <version>1.3.0-SNAPSHOT</version>
196         </dependency>
197         <dependency>
198             <groupId>org.onap.aai.aai-common</groupId>
199             <artifactId>aai-utils</artifactId>
200             <version>1.3.0-SNAPSHOT</version>
201         </dependency>
202         <dependency>
203             <groupId>org.onap.aai.aai-common</groupId>
204             <artifactId>aai-core</artifactId>
205             <version>1.3.0-SNAPSHOT</version>
206             <exclusions>
207                 <exclusion>
208                     <groupId>*</groupId>
209                     <artifactId>*</artifactId>
210                 </exclusion>
211             </exclusions>
212         </dependency>
213         <dependency>
214             <groupId>org.onap.aai.aai-common</groupId>
215             <artifactId>aai-auth</artifactId>
216             <version>1.3.0-SNAPSHOT</version>
217         </dependency>
218         <dependency>
219             <groupId>org.eclipse.persistence</groupId>
220             <artifactId>eclipselink</artifactId>
221             <version>2.6.2</version>
222         </dependency>
223         <dependency>
224             <groupId>org.onap.aai</groupId>
225             <artifactId>rest-client</artifactId>
226             <version>1.2.1</version>
227         </dependency>
228         <dependency>
229             <groupId>net.dongliu</groupId>
230             <artifactId>gson-java8-datatype</artifactId>
231             <version>1.0.3</version>
232         </dependency>
233         <dependency>
234             <groupId>com.jayway.jsonpath</groupId>
235             <artifactId>json-path</artifactId>
236             <version>2.2.0</version>
237             <exclusions>
238                 <exclusion>
239                     <groupId>org.slf4j</groupId>
240                     <artifactId>slf4j-api</artifactId>
241                 </exclusion>
242             </exclusions>
243         </dependency>
244         <!-- AAI-CORE specific dependencies -->
245         <dependency>
246             <groupId>org.apache.tinkerpop</groupId>
247             <artifactId>gremlin-core</artifactId>
248             <version>3.2.3</version>
249             <scope>provided</scope>
250             <exclusions>
251                 <exclusion>
252                     <groupId>org.slf4j</groupId>
253                     <artifactId>slf4j-log4j12</artifactId>
254                 </exclusion>
255                 <exclusion>
256                     <groupId>org.slf4j</groupId>
257                     <artifactId>jcl-over-slf4j</artifactId>
258                 </exclusion>
259                 <exclusion>
260                     <groupId>org.slf4j</groupId>
261                     <artifactId>slf4j-api</artifactId>
262                 </exclusion>
263             </exclusions>
264         </dependency>
265         <dependency>
266             <groupId>org.apache.tinkerpop</groupId>
267             <artifactId>tinkergraph-gremlin</artifactId>
268             <version>3.2.3</version>
269             <scope>provided</scope>
270         </dependency>
271         <dependency>
272             <groupId>org.json</groupId>
273             <artifactId>json</artifactId>
274             <version>20160212</version>
275         </dependency>
276         <dependency>
277             <groupId>junit</groupId>
278             <artifactId>junit</artifactId>
279         </dependency>
280         <dependency>
281             <groupId>org.skyscreamer</groupId>
282             <artifactId>jsonassert</artifactId>
283             <version>1.5.0</version>
284             <scope>test</scope>
285         </dependency>
286         <dependency>
287             <groupId>org.hamcrest</groupId>
288             <artifactId>hamcrest-library</artifactId>
289             <version>${version.org.hamcrest.hamcrest-library}</version>
290             <scope>test</scope>
291         </dependency>
292         <dependency>
293             <groupId>org.apache.httpcomponents</groupId>
294             <artifactId>httpclient</artifactId>
295             <version>4.5.3</version>
296         </dependency>
297         <dependency>
298             <groupId>org.apache.httpcomponents</groupId>
299             <artifactId>httpcore</artifactId>
300             <version>4.4.1</version>
301         </dependency>
302         <dependency>
303             <groupId>org.springframework.boot</groupId>
304             <artifactId>
305                     spring-boot-configuration-processor
306                 </artifactId>
307             <optional>true</optional>
308         </dependency>
309     </dependencies>
310
311     <build>
312         <finalName>${project.artifactId}</finalName>
313         <plugins>
314             <plugin>
315                 <groupId>org.apache.maven.plugins</groupId>
316                 <artifactId>maven-resources-plugin</artifactId>
317                 <version>2.7</version>
318                 <executions>
319                     <execution>
320                         <id>copy-docker-file</id>
321                         <phase>package</phase>
322                         <goals>
323                             <goal>copy-resources</goal>
324                         </goals>
325                         <configuration>
326                             <outputDirectory>target</outputDirectory>
327                             <overwrite>true</overwrite>
328                             <resources>
329                                 <resource>
330                                     <directory>${basedir}/src/main/docker</directory>
331                                     <filtering>true</filtering>
332                                     <includes>
333                                         <include>**/*</include>
334                                     </includes>
335                                 </resource>
336                                 <resource>
337                                     <directory>${basedir}</directory>
338                                     <filtering>true</filtering>
339                                     <includes>
340                                         <include>bundleconfig-local/**</include>
341                                     </includes>
342                                 </resource>
343                                 <resource>
344                                     <directory>${basedir}/src/main/bin/</directory>
345                                 </resource>
346                             </resources>
347                         </configuration>
348                     </execution>
349                 </executions>
350             </plugin>
351
352             <plugin>
353                 <groupId>com.spotify</groupId>
354                 <artifactId>docker-maven-plugin</artifactId>
355                 <version>0.4.11</version>
356                 <dependencies>
357                     <dependency>
358                         <groupId>com.github.jnr</groupId>
359                         <artifactId>jnr-unixsocket</artifactId>
360                         <version>0.13</version>
361                     </dependency>
362                 </dependencies>
363                 <configuration>
364                     <verbose>true</verbose>
365                     <serverId>docker-hub</serverId>
366                     <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
367                     <dockerDirectory>${docker.location}</dockerDirectory>
368                     <imageTags>
369                         <imageTag>latest</imageTag>
370                     </imageTags>
371                     <forceTags>true</forceTags>
372                 </configuration>
373             </plugin>
374
375             <!-- license plugin -->
376             <!-- Uncomment this to add a license header to every source file -->
377             <plugin>
378                 <groupId>com.mycila</groupId>
379                 <artifactId>license-maven-plugin</artifactId>
380                 <version>3.0</version>
381                 <configuration>
382                     <header>License.txt</header>
383                     <includes>
384                         <include>src/main/java/**</include>
385                         <include>src/test/java/**</include>
386                     </includes>
387                 </configuration>
388                 <executions>
389                     <execution>
390                         <goals>
391                             <goal>format</goal>
392                         </goals>
393                         <phase>process-sources</phase>
394                     </execution>
395                 </executions>
396             </plugin>
397
398             <plugin>
399                 <groupId>org.apache.maven.plugins</groupId>
400                 <artifactId>maven-site-plugin</artifactId>
401                 <version>3.3</version>
402                 <configuration>
403                     <reportPlugins>
404                         <plugin>
405                             <groupId>org.apache.maven.plugins</groupId>
406                             <artifactId>maven-checkstyle-plugin</artifactId>
407                             <version>2.17</version>
408                             <reportSets>
409                                 <reportSet>
410                                     <reports>
411                                         <report>checkstyle</report>
412                                     </reports>
413                                 </reportSet>
414                             </reportSets>
415                         </plugin>
416                     </reportPlugins>
417                 </configuration>
418             </plugin>
419
420             <plugin>
421                 <groupId>org.apache.maven.plugins</groupId>
422                 <artifactId>maven-deploy-plugin</artifactId>
423                 <configuration>
424                     <skip>true</skip>
425                 </configuration>
426             </plugin>
427             <plugin>
428                 <groupId>org.springframework.boot</groupId>
429                 <artifactId>spring-boot-maven-plugin</artifactId>
430                 <version>2.0.1.RELEASE</version>
431                 <executions>
432                     <execution>
433                         <goals>
434                             <goal>repackage</goal>
435                         </goals>
436                     </execution>
437                 </executions>
438             </plugin>
439         </plugins>
440     </build>
441
442     <distributionManagement>
443         <site>
444             <id>ecomp-javadoc</id>
445             <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
446         </site>
447     </distributionManagement>
448 </project>