Remove the jackson databind depenedency
[aai/traversal.git] / aai-traversal / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>org.onap.aai.traversal</groupId>
6     <artifactId>aai-traversal</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8
9     <parent>
10         <groupId>org.springframework.boot</groupId>
11         <artifactId>spring-boot-starter-parent</artifactId>
12         <version>1.5.10.RELEASE</version>
13     </parent>
14
15     <properties>
16         <swagger.directory>${basedir}/target/classes/META-INF/traversal/swagger</swagger.directory>
17         <icd.file>service.json</icd.file>
18         <icd.package>com.att.ajsc.ajsc6configdemo.service.rs</icd.package>
19         <java.version>1.8</java.version>
20         <build.number>local</build.number>
21         <kube.namespace>org-onap-aai</kube.namespace>
22         <service.account>ajsc-svc-account</service.account>
23         <namespace>com.att.ajsc</namespace>
24         <start-class>org.onap.aai.TraversalApp</start-class>
25
26         <aai-schema.version>1.2.1-SNAPSHOT</aai-schema.version>
27         <aai.core.version>1.2.1-SNAPSHOT</aai.core.version>
28         <aai.client.loadbalancer.version>1.2.1-SNAPSHOT</aai.client.loadbalancer.version>
29
30         <hbase.version>1.0.2</hbase.version>
31
32         <!-- Start of the jacoco plugin properties -->
33         <sonar.language>java</sonar.language>
34         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
35         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
36         <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
37         <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
38         <sonar.projectVersion>${project.version}</sonar.projectVersion>
39         <!-- End of the jacoco plugin properties -->
40
41         <jolt.version>0.0.24</jolt.version>
42         <jopt.simple.version>4.9</jopt.simple.version>
43
44         <io.swagger.version>1.5.8</io.swagger.version>
45         <apache.log4j.version>1.2.17</apache.log4j.version>
46
47         <commons.beanutils.version>1.9.2</commons.beanutils.version>
48         <commons.compress.version>1.10</commons.compress.version>
49         <commons.configuration.version>1.9</commons.configuration.version>
50
51         <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
52         <scamper.encryption.version>1.8.20</scamper.encryption.version>
53         <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
54         <scamper.version>1.8.36</scamper.version>
55         <dom4j.version>1.6.1</dom4j.version>
56         <commons.lang.version>2.6</commons.lang.version>
57         <eelf.core.version>1.0.0</eelf.core.version>
58         <logback.version>1.2.3</logback.version>
59         <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
60         <janino.version>2.7.8</janino.version>
61         <google.guava.version>16.0</google.guava.version>
62         <titan.version>1.0.0</titan.version>
63         <gremlin.driver.version>3.0.1-incubating</gremlin.driver.version>
64         <hbase.version>1.0.2</hbase.version>
65         <smack.version>3.0.4</smack.version>
66         <json.simple.version>1.1.1</json.simple.version>
67         <mockito.version>1.10.19</mockito.version>
68         <powermock.version>1.6.2</powermock.version>
69         <jcommander.version>1.48</jcommander.version>
70         <json.version>20090211</json.version>
71         <freemarker.version>2.3.21</freemarker.version>
72         <jaxb.version>2.2.11</jaxb.version>
73         <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
74         <json.patch.version>1.9</json.patch.version>
75         <javatuples.version>1.2</javatuples.version>
76         <gson.version>2.7</gson.version>
77         <dmaap.client.version>0.2.12</dmaap.client.version>
78         <httpcore.version>4.4</httpcore.version>
79         <json.path.version>2.2.0</json.path.version>
80         <activemq.version>5.15.3</activemq.version>
81         <httpclient.version>4.5.3</httpclient.version>
82         <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
83         <spotify.docker.version>0.4.11</spotify.docker.version>
84         <spring.security.version>1.0.3.RELEASE</spring.security.version>
85
86         <dme2.version>2.8.5</dme2.version>
87         <async.retry.version>0.0.7</async.retry.version>
88         <jsonassert.version>1.4.0</jsonassert.version>
89
90         <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
91
92         <docker.fabric.version>0.23.0</docker.fabric.version>
93         <!-- Default docker registry that maven fabric plugin will try to pull from -->
94         <docker.registry>docker.io</docker.registry>
95         <!-- Specifying the docker push registry where the image should be pushed -->
96         <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
97         <docker.push.registry>localhost:5000</docker.push.registry>
98
99         <!--
100              Location where assembly of our scripts, resources and main jar will be held
101                  Check the aai-traversal/src/main/assembly/descriptor.xml for more info
102         -->
103         <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
104         </aai.build.directory>
105         <aai.docker.namespace>onap</aai.docker.namespace>
106         <maven.skip.tests>true</maven.skip.tests>
107
108         <spring.web.version>4.3.6.RELEASE</spring.web.version>
109         <aai.project.version>1.2.0</aai.project.version>
110         <aai.docker.version>1.2</aai.docker.version>
111
112         <!--
113             Nexus Proxy Properties and Snapshot Locations
114             Ideally this can be overwritten at runtime per internal environment specific values at runtime
115         -->
116         <nexusproxy>https://nexus.onap.org</nexusproxy>
117         <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
118         <release.path>/content/repositories/releases/</release.path>
119         <snapshot.path>/content/repositories/snapshots/</snapshot.path>
120
121         <netty.handler.version>4.1.9.Final</netty.handler.version>
122         <netty.version>4.0.37.Final</netty.version>
123         <jackson.core.version>2.8.11.1</jackson.core.version>
124         <groovy.version>2.4.4</groovy.version>
125
126         <spring.test.version>4.3.6.RELEASE</spring.test.version>
127
128         <!-- This will be used for the docker images as the default format of maven build has issues -->
129         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
130
131         <antlr4.visitor>true</antlr4.visitor>
132         <antlr4.listener>true</antlr4.listener>
133         <antlr.version>4.7</antlr.version>
134     </properties>
135     <profiles>
136         <!-- Docker profile to be used for building docker image and pushing to nexus -->
137         <profile>
138             <id>docker</id>
139             <build>
140                 <plugins>
141                     <plugin>
142                         <groupId>io.fabric8</groupId>
143                         <artifactId>docker-maven-plugin</artifactId>
144                         <version>${docker.fabric.version}</version>
145                         <configuration>
146                             <verbose>true</verbose>
147                             <apiVersion>1.23</apiVersion>
148                             <images>
149                                 <image>
150                                     <name>${docker.push.registry}/${aai.docker.namespace}/aai-traversal:%l</name>
151                                     <build>
152                                         <filter>@</filter>
153                                         <tags>
154                                             <tag>latest</tag>
155                                             <tag>${aai.docker.version}-STAGING-${maven.build.timestamp}</tag>
156                                             <tag>${aai.docker.version}-STAGING-latest</tag>
157                                         </tags>
158                                         <cleanup>try</cleanup>
159                                         <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
160                                         <assembly>
161                                             <inline>
162                                                 <fileSets>
163                                                     <fileSet>
164                                                         <directory>${aai.build.directory}</directory>
165                                                         <outputDirectory>/${project.artifactId}</outputDirectory>
166                                                     </fileSet>
167                                                 </fileSets>
168                                             </inline>
169                                         </assembly>
170                                     </build>
171                                 </image>
172                             </images>
173                         </configuration>
174                         <executions>
175                             <execution>
176                                 <id>clean-images</id>
177                                 <phase>pre-clean</phase>
178                                 <goals>
179                                     <goal>remove</goal>
180                                 </goals>
181                                 <configuration>
182                                     <removeAll>true</removeAll>
183                                 </configuration>
184                             </execution>
185                             <execution>
186                                 <id>generate-images</id>
187                                 <phase>package</phase>
188                                 <goals>
189                                     <goal>build</goal>
190                                 </goals>
191                             </execution>
192                             <execution>
193                                 <id>push-images</id>
194                                 <phase>deploy</phase>
195                                 <goals>
196                                     <goal>push</goal>
197                                 </goals>
198                             </execution>
199                         </executions>
200                     </plugin>
201                 </plugins>
202             </build>
203         </profile>
204         <!--
205             Use of this profile is a way to support legacy runAjsc profile seen using AJSC 2
206             and also because spring-boot:run doesn't work with large classpaths in windows
207             so this accommodates the behavior of running the application from maven
208         -->
209         <profile>
210             <id>runAjsc</id>
211             <properties>
212                 <skipTests>${maven.skip.tests}</skipTests>
213             </properties>
214             <build>
215                 <defaultGoal>pre-integration-test</defaultGoal>
216                 <plugins>
217                     <plugin>
218                         <groupId>org.codehaus.mojo</groupId>
219                         <artifactId>exec-maven-plugin</artifactId>
220                         <version>1.6.0</version>
221                         <executions>
222                             <execution>
223                                 <id>run-spring-boot</id>
224                                 <phase>package</phase>
225                                 <goals>
226                                     <goal>java</goal>
227                                 </goals>
228                             </execution>
229                         </executions>
230                         <configuration>
231                             <mainClass>${start-class}</mainClass>
232                             <systemProperties>
233                                 <systemProperty>
234                                     <key>snapshot.location</key>
235                                     <value>${snapshot.file}</value>
236                                 </systemProperty>
237                             </systemProperties>
238                             <executable>java</executable>
239                         </configuration>
240                     </plugin>
241                 </plugins>
242             </build>
243         </profile>
244     </profiles>
245     <dependencies>
246         <dependency>
247             <groupId>org.springframework.boot</groupId>
248             <artifactId>spring-boot-starter-jersey</artifactId>
249             <exclusions>
250                 <exclusion>
251                     <groupId>com.sun.jersey</groupId>
252                     <artifactId>jersey-servlet</artifactId>
253                 </exclusion>
254                 <exclusion>
255                     <groupId>org.springframework.boot</groupId>
256                     <artifactId>spring-boot-starter-tomcat</artifactId>
257                 </exclusion>
258             </exclusions>
259         </dependency>
260         <dependency>
261             <groupId>net.sf.jopt-simple</groupId>
262             <artifactId>jopt-simple</artifactId>
263             <version>${jopt.simple.version}</version>
264         </dependency>
265         <dependency>
266             <groupId>io.swagger</groupId>
267             <artifactId>swagger-core</artifactId>
268             <version>${io.swagger.version}</version>
269             <exclusions>
270                 <exclusion>
271                     <groupId>javax.ws.rs</groupId>
272                     <artifactId>jsr311-api</artifactId>
273                 </exclusion>
274             </exclusions>
275         </dependency>
276         <dependency>
277             <groupId>io.swagger</groupId>
278             <artifactId>swagger-annotations</artifactId>
279             <version>${io.swagger.version}</version>
280         </dependency>
281         <dependency>
282             <groupId>io.swagger</groupId>
283             <artifactId>swagger-jersey-jaxrs</artifactId>
284             <version>${io.swagger.version}</version>
285             <exclusions>
286                 <exclusion>
287                     <groupId>org.glassfish.jersey.media</groupId>
288                     <artifactId>jersey-media-multipart</artifactId>
289                 </exclusion>
290                 <exclusion>
291                     <artifactId>jersey-core</artifactId>
292                     <groupId>com.sun.jersey</groupId>
293                 </exclusion>
294                 <exclusion>
295                     <artifactId>jersey-json</artifactId>
296                     <groupId>com.sun.jersey</groupId>
297                 </exclusion>
298                 <exclusion>
299                     <artifactId>jersey-server</artifactId>
300                     <groupId>com.sun.jersey</groupId>
301                 </exclusion>
302                 <exclusion>
303                     <artifactId>jersey-client</artifactId>
304                     <groupId>com.sun.jersey</groupId>
305                 </exclusion>
306                 <exclusion>
307                     <artifactId>jsr311-api</artifactId>
308                     <groupId>javax.ws.rs</groupId>
309                 </exclusion>
310                 <exclusion>
311                     <artifactId>jersey-multipart</artifactId>
312                     <groupId>com.sun.jersey.contribs</groupId>
313                 </exclusion>
314             </exclusions>
315         </dependency>
316         <dependency>
317             <groupId>commons-configuration</groupId>
318             <artifactId>commons-configuration</artifactId>
319             <version>${commons.configuration.version}</version>
320             <exclusions>
321                 <exclusion>
322                     <artifactId>commons-lang</artifactId>
323                     <groupId>commons-lang</groupId>
324                 </exclusion>
325             </exclusions>
326         </dependency>
327         <dependency>
328             <groupId>commons-lang</groupId>
329             <artifactId>commons-lang</artifactId>
330             <version>${commons.lang.version}</version>
331         </dependency>
332         <!-- eelf dependency -->
333         <dependency>
334             <groupId>com.att.eelf</groupId>
335             <artifactId>eelf-core</artifactId>
336             <version>${eelf.core.version}</version>
337         </dependency>
338         <dependency>
339             <groupId>ch.qos.logback</groupId>
340             <artifactId>logback-core</artifactId>
341             <version>${logback.version}</version>
342         </dependency>
343         <dependency>
344             <groupId>ch.qos.logback</groupId>
345             <artifactId>logback-classic</artifactId>
346             <version>${logback.version}</version>
347         </dependency>
348         <dependency>
349             <groupId>ch.qos.logback</groupId>
350             <artifactId>logback-access</artifactId>
351             <version>${logback.version}</version>
352         </dependency>
353         <dependency>
354             <groupId>org.hamcrest</groupId>
355             <artifactId>hamcrest-junit</artifactId>
356             <version>${hamcrest.junit.version}</version>
357         </dependency>
358         <dependency>
359             <groupId>junit</groupId>
360             <artifactId>junit</artifactId>
361             <scope>test</scope>
362         </dependency>
363         <dependency>
364             <groupId>com.google.guava</groupId>
365             <artifactId>guava</artifactId>
366             <version>${google.guava.version}</version>
367         </dependency>
368         <dependency>
369             <groupId>com.thinkaurelius.titan</groupId>
370             <artifactId>titan-core</artifactId>
371             <version>${titan.version}</version>
372             <exclusions>
373                 <exclusion>
374                     <groupId>org.slf4j</groupId>
375                     <artifactId>slf4j-log4j12</artifactId>
376                 </exclusion>
377             </exclusions>
378         </dependency>
379         <dependency>
380             <groupId>com.thinkaurelius.titan</groupId>
381             <artifactId>titan-cassandra</artifactId>
382             <version>${titan.version}</version>
383             <exclusions>
384                 <exclusion>
385                     <groupId>org.slf4j</groupId>
386                     <artifactId>slf4j-log4j12</artifactId>
387                 </exclusion>
388             </exclusions>
389         </dependency>
390         <dependency>
391             <groupId>com.thinkaurelius.titan</groupId>
392             <artifactId>titan-hbase</artifactId>
393             <version>${titan.version}</version>
394             <exclusions>
395                 <exclusion>
396                     <groupId>org.slf4j</groupId>
397                     <artifactId>slf4j-log4j12</artifactId>
398                 </exclusion>
399             </exclusions>
400         </dependency>
401
402         <dependency>
403             <groupId>org.apache.tinkerpop</groupId>
404             <artifactId>gremlin-driver</artifactId>
405             <version>${gremlin.driver.version}</version>
406         </dependency>
407         <dependency>
408             <groupId>org.apache.hbase</groupId>
409             <artifactId>hbase-client</artifactId>
410             <version>${hbase.version}</version>
411             <exclusions>
412                 <exclusion>
413                     <groupId>org.slf4j</groupId>
414                     <artifactId>slf4j-log4j12</artifactId>
415                 </exclusion>
416                 <exclusion>
417                     <artifactId>log4j</artifactId>
418                     <groupId>log4j</groupId>
419                 </exclusion>
420                 <exclusion>
421                     <groupId>com.sun.jersey</groupId>
422                     <artifactId>jersey-core</artifactId>
423                 </exclusion>
424                 <exclusion>
425                     <groupId>com.sun.jersey</groupId>
426                     <artifactId>jersey-json</artifactId>
427                 </exclusion>
428                 <exclusion>
429                     <groupId>com.sun.jersey</groupId>
430                     <artifactId>jersey-server</artifactId>
431                 </exclusion>
432                 <exclusion>
433                     <groupId>com.sun.jersey.contribs</groupId>
434                     <artifactId>jersey-guice</artifactId>
435                 </exclusion>
436                 <exclusion>
437                     <groupId>commons-httpclient</groupId>
438                     <artifactId>commons-httpclient</artifactId>
439                 </exclusion>
440                 <exclusion>
441                     <groupId>org.codehaus.jackson</groupId>
442                     <artifactId>jackson-mapper-asl</artifactId>
443                 </exclusion>
444             </exclusions>
445         </dependency>
446         <dependency>
447             <groupId>org.apache.hbase</groupId>
448             <artifactId>hbase-protocol</artifactId>
449             <version>${hbase.version}</version>
450             <exclusions>
451                 <exclusion>
452                     <artifactId>log4j</artifactId>
453                     <groupId>log4j</groupId>
454                 </exclusion>
455             </exclusions>
456         </dependency>
457         <dependency>
458             <groupId>org.apache.hbase</groupId>
459             <artifactId>hbase-common</artifactId>
460             <version>${hbase.version}</version>
461             <exclusions>
462                 <exclusion>
463                     <artifactId>log4j</artifactId>
464                     <groupId>log4j</groupId>
465                 </exclusion>
466             </exclusions>
467         </dependency>
468         <dependency>
469             <groupId>com.fasterxml.jackson.jaxrs</groupId>
470             <artifactId>jackson-jaxrs-json-provider</artifactId>
471         </dependency>
472         <dependency>
473             <groupId>org.mockito</groupId>
474             <artifactId>mockito-all</artifactId>
475             <version>${mockito.version}</version>
476             <scope>test</scope>
477         </dependency>
478         <dependency>
479             <groupId>org.powermock</groupId>
480             <artifactId>powermock-module-junit4</artifactId>
481             <version>${powermock.version}</version>
482             <scope>test</scope>
483         </dependency>
484         <dependency>
485             <groupId>org.powermock</groupId>
486             <artifactId>powermock-api-mockito</artifactId>
487             <version>${powermock.version}</version>
488             <scope>test</scope>
489         </dependency>
490         <dependency>
491             <groupId>com.beust</groupId>
492             <artifactId>jcommander</artifactId>
493             <version>${jcommander.version}</version>
494         </dependency>
495         <dependency>
496             <groupId>org.json</groupId>
497             <artifactId>json</artifactId>
498             <version>${json.version}</version>
499         </dependency>
500         <dependency>
501             <groupId>org.freemarker</groupId>
502             <artifactId>freemarker</artifactId>
503             <version>${freemarker.version}</version>
504         </dependency>
505         <dependency>
506             <groupId>javax.xml.bind</groupId>
507             <artifactId>jaxb-api</artifactId>
508             <version>${jaxb.version}</version>
509         </dependency>
510         <dependency>
511             <groupId>com.sun.xml.bind</groupId>
512             <artifactId>jaxb-impl</artifactId>
513             <version>${jaxb.version}</version>
514         </dependency>
515         <dependency>
516             <groupId>com.sun.xml.bind</groupId>
517             <artifactId>jaxb-core</artifactId>
518             <version>${jaxb.version}</version>
519         </dependency>
520         <dependency>
521             <groupId>com.sun.xml.bind</groupId>
522             <artifactId>jaxb-xjc</artifactId>
523             <version>${jaxb.version}</version>
524         </dependency>
525         <dependency>
526             <groupId>org.eclipse.persistence</groupId>
527             <artifactId>eclipselink</artifactId>
528             <version>${eclipse.persistence.version}</version>
529         </dependency>
530         <dependency>
531             <groupId>org.eclipse.persistence</groupId>
532             <artifactId>org.eclipse.persistence.moxy</artifactId>
533             <version>${eclipse.persistence.version}</version>
534             <scope>compile</scope>
535         </dependency>
536         <dependency>
537             <groupId>org.powermock</groupId>
538             <artifactId>powermock-module-javaagent</artifactId>
539             <version>${powermock.version}</version>
540             <scope>test</scope>
541         </dependency>
542         <dependency>
543             <groupId>org.powermock</groupId>
544             <artifactId>powermock-module-junit4-rule-agent</artifactId>
545             <version>${powermock.version}</version>
546             <scope>test</scope>
547         </dependency>
548         <dependency>
549             <groupId>com.github.fge</groupId>
550             <artifactId>json-patch</artifactId>
551             <version>${json.patch.version}</version>
552         </dependency>
553         <dependency>
554             <groupId>org.javatuples</groupId>
555             <artifactId>javatuples</artifactId>
556             <version>${javatuples.version}</version>
557             <scope>compile</scope>
558         </dependency>
559         <dependency>
560             <groupId>com.google.code.gson</groupId>
561             <artifactId>gson</artifactId>
562             <version>${gson.version}</version>
563         </dependency>
564         <dependency>
565             <groupId>com.att.nsa</groupId>
566             <artifactId>dmaapClient</artifactId>
567             <version>${dmaap.client.version}</version>
568             <exclusions>
569                 <exclusion>
570                     <groupId>org.slf4j</groupId>
571                     <artifactId>slf4j-log4j12</artifactId>
572                 </exclusion>
573                 <exclusion>
574                     <groupId>com.att.aft</groupId>
575                     <artifactId>dme2</artifactId>
576                 </exclusion>
577             </exclusions>
578         </dependency>
579         <dependency>
580             <groupId>com.bazaarvoice.jolt</groupId>
581             <artifactId>jolt-complete</artifactId>
582             <version>${jolt.version}</version>
583         </dependency>
584         <dependency>
585             <groupId>com.jayway.jsonpath</groupId>
586             <artifactId>json-path</artifactId>
587             <version>${json.path.version}</version>
588         </dependency>
589         <!-- Do not use activemq-all because they force you to use a specific logging
590             and they shade it so you can't simply exclude it and when you deploy the
591             jar, you will notice failure -->
592         <dependency>
593             <groupId>org.apache.activemq</groupId>
594             <artifactId>activemq-broker</artifactId>
595             <version>${activemq.version}</version>
596         </dependency>
597         <dependency>
598             <groupId>org.apache.activemq</groupId>
599             <artifactId>activemq-client</artifactId>
600             <version>${activemq.version}</version>
601         </dependency>
602         <dependency>
603             <groupId>org.onap.aai.aai-common</groupId>
604             <artifactId>aai-core</artifactId>
605             <version>${aai.core.version}</version>
606             <exclusions>
607                 <exclusion>
608                     <groupId>com.sun.jersey</groupId>
609                     <artifactId>jersey-core</artifactId>
610                 </exclusion>
611                 <exclusion>
612                     <groupId>org.codehaus.jackson</groupId>
613                     <artifactId>jackson-mapper-asl</artifactId>
614                 </exclusion>
615             </exclusions>
616         </dependency>
617         <dependency>
618             <groupId>org.onap.aai.aai-common</groupId>
619             <artifactId>aai-schema</artifactId>
620             <version>${aai-schema.version}</version>
621         </dependency>
622         <dependency>
623             <groupId>org.springframework</groupId>
624             <artifactId>spring-jms</artifactId>
625             <version>${spring.jms.version}</version>
626             <exclusions>
627                 <exclusion>
628                     <groupId>com.sun.jersey</groupId>
629                     <artifactId>jersey-core</artifactId>
630                 </exclusion>
631             </exclusions>
632         </dependency>
633         <!-- Do not use the jersey-client since jersey client 1.0 version clashes
634             with jersey 2 which we are using -->
635         <!-- Use this to make http requests instead of jersey 1.0 client -->
636         <dependency>
637             <groupId>org.apache.httpcomponents</groupId>
638             <artifactId>httpclient</artifactId>
639             <version>${httpclient.version}</version>
640         </dependency>
641         <dependency>
642             <groupId>org.springframework.boot</groupId>
643             <artifactId>spring-boot-devtools</artifactId>
644         </dependency>
645         <dependency>
646             <groupId>org.skyscreamer</groupId>
647             <artifactId>jsonassert</artifactId>
648             <version>${jsonassert.version}</version>
649             <scope>test</scope>
650         </dependency>
651         <!--
652             Explicitly stating the security spring framework and
653             exclude the bouncy castle since that is somehow overwriting
654             our p12 file decryption that's built into java security
655             This will cause the password is incorrect
656             This needs to be added back if org.bouncy castle dependency
657             sneaks backs in and causing issues with the two way ssl
658         -->
659         <dependency>
660             <groupId>org.springframework.security</groupId>
661             <artifactId>spring-security-rsa</artifactId>
662             <version>${spring.security.version}</version>
663             <exclusions>
664                 <exclusion>
665                     <groupId>org.bouncycastle</groupId>
666                     <artifactId>bcpkix-jdk15on</artifactId>
667                 </exclusion>
668             </exclusions>
669         </dependency>
670         <dependency>
671             <groupId>org.onap.aai.aai-common</groupId>
672             <artifactId>aai-client-loadbalancer</artifactId>
673             <version>${aai.client.loadbalancer.version}</version>
674             <exclusions>
675                 <exclusion>
676                     <groupId>io.netty</groupId>
677                     <artifactId>netty-handler</artifactId>
678                 </exclusion>
679                 <exclusion>
680                     <groupId>com.sun.jersey.contribs</groupId>
681                     <artifactId>jersey-apache-client4</artifactId>
682                 </exclusion>
683             </exclusions>
684         </dependency>
685         <dependency>
686             <groupId>io.netty</groupId>
687             <artifactId>netty-handler</artifactId>
688             <version>${netty.handler.version}</version>
689         </dependency>
690         <dependency>
691             <groupId>org.springframework.boot</groupId>
692             <artifactId>spring-boot-starter-web</artifactId>
693             <exclusions>
694                 <exclusion>
695                     <groupId>org.springframework.boot</groupId>
696                     <artifactId>spring-boot-starter-tomcat</artifactId>
697                 </exclusion>
698             </exclusions>
699         </dependency>
700         <dependency>
701             <groupId>org.springframework.boot</groupId>
702             <artifactId>spring-boot-starter-jetty</artifactId>
703         </dependency>
704         <dependency>
705             <groupId>org.springframework</groupId>
706             <artifactId>spring-web</artifactId>
707             <version>${spring.web.version}</version>
708         </dependency>
709         <dependency>
710             <groupId>io.netty</groupId>
711             <artifactId>netty-all</artifactId>
712             <version>${netty.version}</version>
713         </dependency>
714         <dependency>
715             <groupId>org.codehaus.groovy</groupId>
716             <artifactId>groovy</artifactId>
717             <version>${groovy.version}</version>
718             <classifier>indy</classifier>
719         </dependency>
720         <dependency>
721             <groupId>org.springframework</groupId>
722             <artifactId>spring-test</artifactId>
723             <version>${spring.test.version}</version>
724             <scope>test</scope>
725         </dependency>
726         <dependency>
727             <groupId>org.springframework.boot</groupId>
728             <artifactId>spring-boot-test</artifactId>
729             <scope>test</scope>
730         </dependency>
731         <dependency>
732             <groupId>org.antlr</groupId>
733             <artifactId>antlr4-runtime</artifactId>
734             <version>${antlr.version}</version>
735         </dependency>
736         <dependency>
737             <groupId>org.antlr</groupId>
738             <artifactId>antlr4-maven-plugin</artifactId>
739             <version>${antlr.version}</version>
740             <exclusions>
741                 <exclusion>
742                     <groupId>org.sonatype.sisu</groupId>
743                     <artifactId>sisu-guava</artifactId>
744                 </exclusion>
745             </exclusions>
746         </dependency>
747
748     </dependencies>
749     <build>
750         <resources>
751             <resource>
752                 <directory>${project.basedir}/src/main/swm</directory>
753                 <targetPath>${project.build.directory}/swm</targetPath>
754                 <filtering>false</filtering>
755             </resource>
756             <resource>
757                 <directory>${project.basedir}/src/main/resources</directory>
758                 <includes>
759                     <include>application.properties</include>
760                     <include>dme2.properties</include>
761                     <include>logback.xml</include>
762                     <include>localhost-access-logback.xml</include>
763                 </includes>
764                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
765                 </targetPath>
766                 <filtering>false</filtering>
767             </resource>
768             <resource>
769                 <directory>${project.basedir}/src/main/resources</directory>
770                 <includes>
771                     <include>**/*</include>
772                 </includes>
773                 <filtering>true</filtering>
774             </resource>
775             <resource>
776                 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
777                 <includes>
778                     <include>titan-realtime.properties</include>
779                     <include>titan-cached.properties</include>
780                     <include>aaiconfig.properties</include>
781                 </includes>
782                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
783                 </targetPath>
784                 <filtering>false</filtering>
785             </resource>
786             <resource>
787                 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
788                 <includes>
789                     <include>aai-client-cert.p12</include>
790                     <include>tomcat_keystore</include>
791                 </includes>
792                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
793                 </targetPath>
794                 <filtering>true</filtering>
795             </resource>
796             <resource>
797                 <directory>${project.basedir}/src/main/resources/</directory>
798                 <includes>
799                     <include>logback.xml</include>
800                     <include>localhost-access-logback.xml</include>
801                 </includes>
802                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
803                 </targetPath>
804                 <filtering>true</filtering>
805             </resource>
806             <resource>
807                 <directory>${project.basedir}/src/main/docker</directory>
808                 <includes>
809                     <include>**/*</include>
810                 </includes>
811                 <targetPath>${aai.build.directory}</targetPath>
812                 <filtering>true</filtering>
813             </resource>
814         </resources>
815         <pluginManagement>
816             <plugins>
817                 <plugin>
818                     <groupId>org.apache.maven.plugins</groupId>
819                     <artifactId>maven-dependency-plugin</artifactId>
820                     <version>2.8</version>
821                     <executions>
822                         <execution>
823                             <id>copy-agent</id>
824                             <phase>process-test-classes</phase>
825                             <goals>
826                                 <goal>copy</goal>
827                             </goals>
828                         </execution>
829                         <execution>
830                             <id>unpack-schema-dependency</id>
831                             <phase>initialize</phase>
832                             <goals>
833                                 <goal>unpack</goal>
834                             </goals>
835                         </execution>
836                     </executions>
837                     <configuration>
838                         <artifactItems>
839                             <artifactItem>
840                                 <groupId>org.onap.aai.aai-common</groupId>
841                                 <artifactId>aai-schema</artifactId>
842                                 <version>${aai.core.version}</version>
843                                 <outputDirectory>${project.basedir}/src/main/resources/etc</outputDirectory>
844                                 <includes>oxm/*.xml</includes>
845                             </artifactItem>
846                         </artifactItems>
847                         <!-- other configurations here -->
848                     </configuration>
849                 </plugin>
850                 <plugin>
851                     <groupId>org.codehaus.groovy.maven</groupId>
852                     <artifactId>gmaven-plugin</artifactId>
853                     <version>1.0</version>
854                     <executions>
855                         <execution>
856                             <phase>validate</phase>
857                             <goals>
858                                 <goal>execute</goal>
859                             </goals>
860                             <configuration>
861                                 <source>
862                                     println project.properties['aai.project.version'];
863                                     def versionArray;
864                                     if (project.properties['aai.project.version'] != null) {
865                                         versionArray = project.properties['aai.project.version'].split('\\.');
866                                     }
867
868                                     if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
869                                         project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
870                                     } else {
871                                         project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
872                                     }
873
874                                     println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
875                                 </source>
876                             </configuration>
877                         </execution>
878                     </executions>
879                 </plugin>
880             </plugins>
881         </pluginManagement>
882         <plugins>
883             <plugin>
884                 <groupId>org.springframework.boot</groupId>
885                 <artifactId>spring-boot-maven-plugin</artifactId>
886             </plugin>
887             <plugin>
888                 <groupId>org.apache.maven.plugins</groupId>
889                 <artifactId>maven-gpg-plugin</artifactId>
890                 <configuration>
891                     <skip>true</skip>
892                 </configuration>
893             </plugin>
894             <plugin>
895                 <groupId>org.codehaus.groovy.maven</groupId>
896                 <artifactId>gmaven-plugin</artifactId>
897             </plugin>
898             <plugin>
899                 <artifactId>exec-maven-plugin</artifactId>
900                 <groupId>org.codehaus.mojo</groupId>
901             </plugin>
902             <plugin>
903                 <groupId>org.apache.maven.plugins</groupId>
904                 <artifactId>maven-javadoc-plugin</artifactId>
905                 <configuration>
906                     <additionalparam>-Xdoclint:none</additionalparam>
907                 </configuration>
908             </plugin>
909             <plugin>
910                 <artifactId>maven-assembly-plugin</artifactId>
911                 <configuration>
912                     <descriptors>
913                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
914                     </descriptors>
915                 </configuration>
916                 <executions>
917                     <execution>
918                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
919                         <phase>package</phase> <!-- bind to the packaging phase -->
920                         <goals>
921                             <goal>single</goal>
922                         </goals>
923                     </execution>
924                 </executions>
925             </plugin>
926             <plugin>
927                 <groupId>org.apache.maven.plugins</groupId>
928                 <artifactId>maven-surefire-plugin</artifactId>
929                 <version>2.12.4</version>
930                 <configuration>
931                     <argLine>-noverify ${argLine}</argLine>
932                     <runOrder>alphabetical</runOrder>
933                 </configuration>
934             </plugin>
935             <plugin>
936                 <groupId>org.codehaus.mojo</groupId>
937                 <artifactId>sonar-maven-plugin</artifactId>
938                 <version>3.3</version>
939             </plugin>
940             <plugin>
941                 <groupId>org.jacoco</groupId>
942                 <artifactId>jacoco-maven-plugin</artifactId>
943                 <version>0.7.9</version>
944                 <configuration>
945                     <dumpOnExit>true</dumpOnExit>
946                     <excludes>
947                         <exclude>**/**/models/**/*.class</exclude>
948                     </excludes>
949                 </configuration>
950                 <executions>
951                     <execution>
952                         <id>jacoco-initialize-unit-tests</id>
953                         <goals>
954                             <goal>prepare-agent</goal>
955                         </goals>
956                         <configuration>
957                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
958                             <!-- <append>true</append> -->
959                         </configuration>
960                     </execution>
961                     <execution>
962                         <id>post-unit-test</id>
963                         <phase>test</phase>
964                         <goals>
965                             <goal>report</goal>
966                         </goals>
967                         <configuration>
968                             <!-- Sets the path to the file which contains the execution data. -->
969                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
970                             <!-- Sets the output directory for the code coverage report. -->
971                             <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
972                         </configuration>
973                     </execution>
974                 </executions>
975             </plugin>
976             <plugin>
977                 <groupId>org.apache.maven.plugins</groupId>
978                 <artifactId>maven-deploy-plugin</artifactId>
979                 <executions>
980                     <execution>
981                         <id>default-deploy</id>
982                         <phase>none</phase>
983                     </execution>
984                 </executions>
985             </plugin>
986             <plugin>
987                 <groupId>org.sonatype.plugins</groupId>
988                 <artifactId>nexus-staging-maven-plugin</artifactId>
989                 <version>1.6.7</version>
990                 <extensions>true</extensions>
991                 <configuration>
992                     <nexusUrl>${nexusproxy}</nexusUrl>
993                     <stagingProfileId>176c31dfe190a</stagingProfileId>
994                     <serverId>ecomp-staging</serverId>
995                 </configuration>
996             </plugin>
997             <plugin>
998                 <groupId>org.springframework.boot</groupId>
999                 <artifactId>spring-boot-maven-plugin</artifactId>
1000                 <configuration>
1001                     <mainClass>${start-class}</mainClass>
1002                     <layout>ZIP</layout>
1003                 </configuration>
1004                 <executions>
1005                     <execution>
1006                         <goals>
1007                             <goal>repackage</goal>
1008                         </goals>
1009                     </execution>
1010                 </executions>
1011             </plugin>
1012             <plugin>
1013                 <groupId>org.antlr</groupId>
1014                 <artifactId>antlr4-maven-plugin</artifactId>
1015                 <version>4.7</version>
1016                 <executions>
1017                     <execution>
1018                         <goals>
1019                             <goal>antlr4</goal>
1020                         </goals>
1021                         <configuration>
1022                             <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1023                             <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1024                         </configuration>
1025                     </execution>
1026                 </executions>
1027             </plugin>
1028             <plugin>
1029                 <groupId>org.apache.maven.plugins</groupId>
1030                 <artifactId>maven-dependency-plugin</artifactId>
1031                 <version>2.8</version>
1032                 <executions>
1033                     <execution>
1034                         <id>unpack-schema-dependency</id>
1035                         <phase>initialize</phase>
1036                         <goals>
1037                             <goal>unpack</goal>
1038                         </goals>
1039                     </execution>
1040                 </executions>
1041                 <configuration>
1042                     <artifactItems>
1043                         <artifactItem>
1044                             <groupId>org.onap.aai.aai-common</groupId>
1045                             <artifactId>aai-schema</artifactId>
1046                             <version>${aai-schema.version}</version>
1047                             <outputDirectory>src/main/resources/etc</outputDirectory>
1048                             <includes>oxm/*.xml</includes>
1049                         </artifactItem>
1050                     </artifactItems>
1051                     <!-- other configurations here -->
1052                 </configuration>
1053             </plugin>
1054
1055         </plugins>
1056     </build>
1057     <reporting>
1058         <plugins>
1059             <plugin>
1060                 <groupId>org.apache.maven.plugins</groupId>
1061                 <artifactId>maven-javadoc-plugin</artifactId>
1062                 <version>2.10.4</version>
1063                 <configuration>
1064                     <failOnError>false</failOnError>
1065                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1066                     <docletArtifact>
1067                         <groupId>org.umlgraph</groupId>
1068                         <artifactId>umlgraph</artifactId>
1069                         <version>5.6</version>
1070                     </docletArtifact>
1071                     <additionalparam>-views</additionalparam>
1072                     <useStandardDocletOptions>true</useStandardDocletOptions>
1073                 </configuration>
1074             </plugin>
1075         </plugins>
1076     </reporting>
1077     <distributionManagement>
1078         <repository>
1079             <id>ecomp-releases</id>
1080             <name>ECOMP Release Repository</name>
1081             <url>${nexusproxy}${release.path}</url>
1082         </repository>
1083         <snapshotRepository>
1084             <id>ecomp-snapshots</id>
1085             <name>ECOMP Snapshot Repository</name>
1086             <url>${nexusproxy}${snapshot.path}</url>
1087         </snapshotRepository>
1088         <site>
1089             <id>ecomp-site</id>
1090             <url>dav:${nexusproxy}${site.path}</url>
1091         </site>
1092     </distributionManagement>
1093 </project>