Update spring boot 1.5.1 to 1.5.10
[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>com.fasterxml.jackson.core</groupId>
474             <artifactId>jackson-databind</artifactId>
475             <version>${jackson.core.version}</version>
476         </dependency>
477         <dependency>
478             <groupId>org.mockito</groupId>
479             <artifactId>mockito-all</artifactId>
480             <version>${mockito.version}</version>
481             <scope>test</scope>
482         </dependency>
483         <dependency>
484             <groupId>org.powermock</groupId>
485             <artifactId>powermock-module-junit4</artifactId>
486             <version>${powermock.version}</version>
487             <scope>test</scope>
488         </dependency>
489         <dependency>
490             <groupId>org.powermock</groupId>
491             <artifactId>powermock-api-mockito</artifactId>
492             <version>${powermock.version}</version>
493             <scope>test</scope>
494         </dependency>
495         <dependency>
496             <groupId>com.beust</groupId>
497             <artifactId>jcommander</artifactId>
498             <version>${jcommander.version}</version>
499         </dependency>
500         <dependency>
501             <groupId>org.json</groupId>
502             <artifactId>json</artifactId>
503             <version>${json.version}</version>
504         </dependency>
505         <dependency>
506             <groupId>org.freemarker</groupId>
507             <artifactId>freemarker</artifactId>
508             <version>${freemarker.version}</version>
509         </dependency>
510         <dependency>
511             <groupId>javax.xml.bind</groupId>
512             <artifactId>jaxb-api</artifactId>
513             <version>${jaxb.version}</version>
514         </dependency>
515         <dependency>
516             <groupId>com.sun.xml.bind</groupId>
517             <artifactId>jaxb-impl</artifactId>
518             <version>${jaxb.version}</version>
519         </dependency>
520         <dependency>
521             <groupId>com.sun.xml.bind</groupId>
522             <artifactId>jaxb-core</artifactId>
523             <version>${jaxb.version}</version>
524         </dependency>
525         <dependency>
526             <groupId>com.sun.xml.bind</groupId>
527             <artifactId>jaxb-xjc</artifactId>
528             <version>${jaxb.version}</version>
529         </dependency>
530         <dependency>
531             <groupId>org.eclipse.persistence</groupId>
532             <artifactId>eclipselink</artifactId>
533             <version>${eclipse.persistence.version}</version>
534         </dependency>
535         <dependency>
536             <groupId>org.eclipse.persistence</groupId>
537             <artifactId>org.eclipse.persistence.moxy</artifactId>
538             <version>${eclipse.persistence.version}</version>
539             <scope>compile</scope>
540         </dependency>
541         <dependency>
542             <groupId>org.powermock</groupId>
543             <artifactId>powermock-module-javaagent</artifactId>
544             <version>${powermock.version}</version>
545             <scope>test</scope>
546         </dependency>
547         <dependency>
548             <groupId>org.powermock</groupId>
549             <artifactId>powermock-module-junit4-rule-agent</artifactId>
550             <version>${powermock.version}</version>
551             <scope>test</scope>
552         </dependency>
553         <dependency>
554             <groupId>com.github.fge</groupId>
555             <artifactId>json-patch</artifactId>
556             <version>${json.patch.version}</version>
557         </dependency>
558         <dependency>
559             <groupId>org.javatuples</groupId>
560             <artifactId>javatuples</artifactId>
561             <version>${javatuples.version}</version>
562             <scope>compile</scope>
563         </dependency>
564         <dependency>
565             <groupId>com.google.code.gson</groupId>
566             <artifactId>gson</artifactId>
567             <version>${gson.version}</version>
568         </dependency>
569         <dependency>
570             <groupId>com.att.nsa</groupId>
571             <artifactId>dmaapClient</artifactId>
572             <version>${dmaap.client.version}</version>
573             <exclusions>
574                 <exclusion>
575                     <groupId>org.slf4j</groupId>
576                     <artifactId>slf4j-log4j12</artifactId>
577                 </exclusion>
578                 <exclusion>
579                     <groupId>com.att.aft</groupId>
580                     <artifactId>dme2</artifactId>
581                 </exclusion>
582             </exclusions>
583         </dependency>
584         <dependency>
585             <groupId>com.bazaarvoice.jolt</groupId>
586             <artifactId>jolt-complete</artifactId>
587             <version>${jolt.version}</version>
588         </dependency>
589         <dependency>
590             <groupId>com.jayway.jsonpath</groupId>
591             <artifactId>json-path</artifactId>
592             <version>${json.path.version}</version>
593         </dependency>
594         <!-- Do not use activemq-all because they force you to use a specific logging
595             and they shade it so you can't simply exclude it and when you deploy the
596             jar, you will notice failure -->
597         <dependency>
598             <groupId>org.apache.activemq</groupId>
599             <artifactId>activemq-broker</artifactId>
600             <version>${activemq.version}</version>
601         </dependency>
602         <dependency>
603             <groupId>org.apache.activemq</groupId>
604             <artifactId>activemq-client</artifactId>
605             <version>${activemq.version}</version>
606         </dependency>
607         <dependency>
608             <groupId>org.onap.aai.aai-common</groupId>
609             <artifactId>aai-core</artifactId>
610             <version>${aai.core.version}</version>
611             <exclusions>
612                 <exclusion>
613                     <groupId>com.sun.jersey</groupId>
614                     <artifactId>jersey-core</artifactId>
615                 </exclusion>
616                 <exclusion>
617                     <groupId>org.codehaus.jackson</groupId>
618                     <artifactId>jackson-mapper-asl</artifactId>
619                 </exclusion>
620             </exclusions>
621         </dependency>
622         <dependency>
623             <groupId>org.onap.aai.aai-common</groupId>
624             <artifactId>aai-schema</artifactId>
625             <version>${aai-schema.version}</version>
626         </dependency>
627         <dependency>
628             <groupId>org.springframework</groupId>
629             <artifactId>spring-jms</artifactId>
630             <version>${spring.jms.version}</version>
631             <exclusions>
632                 <exclusion>
633                     <groupId>com.sun.jersey</groupId>
634                     <artifactId>jersey-core</artifactId>
635                 </exclusion>
636             </exclusions>
637         </dependency>
638         <!-- Do not use the jersey-client since jersey client 1.0 version clashes
639             with jersey 2 which we are using -->
640         <!-- Use this to make http requests instead of jersey 1.0 client -->
641         <dependency>
642             <groupId>org.apache.httpcomponents</groupId>
643             <artifactId>httpclient</artifactId>
644             <version>${httpclient.version}</version>
645         </dependency>
646         <dependency>
647             <groupId>org.springframework.boot</groupId>
648             <artifactId>spring-boot-devtools</artifactId>
649         </dependency>
650         <dependency>
651             <groupId>org.skyscreamer</groupId>
652             <artifactId>jsonassert</artifactId>
653             <version>${jsonassert.version}</version>
654             <scope>test</scope>
655         </dependency>
656         <!--
657             Explicitly stating the security spring framework and
658             exclude the bouncy castle since that is somehow overwriting
659             our p12 file decryption that's built into java security
660             This will cause the password is incorrect
661             This needs to be added back if org.bouncy castle dependency
662             sneaks backs in and causing issues with the two way ssl
663         -->
664         <dependency>
665             <groupId>org.springframework.security</groupId>
666             <artifactId>spring-security-rsa</artifactId>
667             <version>${spring.security.version}</version>
668             <exclusions>
669                 <exclusion>
670                     <groupId>org.bouncycastle</groupId>
671                     <artifactId>bcpkix-jdk15on</artifactId>
672                 </exclusion>
673             </exclusions>
674         </dependency>
675         <dependency>
676             <groupId>org.onap.aai.aai-common</groupId>
677             <artifactId>aai-client-loadbalancer</artifactId>
678             <version>${aai.client.loadbalancer.version}</version>
679             <exclusions>
680                 <exclusion>
681                     <groupId>io.netty</groupId>
682                     <artifactId>netty-handler</artifactId>
683                 </exclusion>
684                 <exclusion>
685                     <groupId>com.sun.jersey.contribs</groupId>
686                     <artifactId>jersey-apache-client4</artifactId>
687                 </exclusion>
688             </exclusions>
689         </dependency>
690         <dependency>
691             <groupId>io.netty</groupId>
692             <artifactId>netty-handler</artifactId>
693             <version>${netty.handler.version}</version>
694         </dependency>
695         <dependency>
696             <groupId>org.springframework.boot</groupId>
697             <artifactId>spring-boot-starter-web</artifactId>
698             <exclusions>
699                 <exclusion>
700                     <groupId>org.springframework.boot</groupId>
701                     <artifactId>spring-boot-starter-tomcat</artifactId>
702                 </exclusion>
703             </exclusions>
704         </dependency>
705         <dependency>
706             <groupId>org.springframework.boot</groupId>
707             <artifactId>spring-boot-starter-jetty</artifactId>
708         </dependency>
709         <dependency>
710             <groupId>org.springframework</groupId>
711             <artifactId>spring-web</artifactId>
712             <version>${spring.web.version}</version>
713         </dependency>
714         <dependency>
715             <groupId>io.netty</groupId>
716             <artifactId>netty-all</artifactId>
717             <version>${netty.version}</version>
718         </dependency>
719         <dependency>
720             <groupId>org.codehaus.groovy</groupId>
721             <artifactId>groovy</artifactId>
722             <version>${groovy.version}</version>
723             <classifier>indy</classifier>
724         </dependency>
725         <dependency>
726             <groupId>org.springframework</groupId>
727             <artifactId>spring-test</artifactId>
728             <version>${spring.test.version}</version>
729             <scope>test</scope>
730         </dependency>
731         <dependency>
732             <groupId>org.springframework.boot</groupId>
733             <artifactId>spring-boot-test</artifactId>
734             <scope>test</scope>
735         </dependency>
736         <dependency>
737             <groupId>org.antlr</groupId>
738             <artifactId>antlr4-runtime</artifactId>
739             <version>${antlr.version}</version>
740         </dependency>
741         <dependency>
742             <groupId>org.antlr</groupId>
743             <artifactId>antlr4-maven-plugin</artifactId>
744             <version>${antlr.version}</version>
745             <exclusions>
746                 <exclusion>
747                     <groupId>org.sonatype.sisu</groupId>
748                     <artifactId>sisu-guava</artifactId>
749                 </exclusion>
750             </exclusions>
751         </dependency>
752
753     </dependencies>
754     <build>
755         <resources>
756             <resource>
757                 <directory>${project.basedir}/src/main/swm</directory>
758                 <targetPath>${project.build.directory}/swm</targetPath>
759                 <filtering>false</filtering>
760             </resource>
761             <resource>
762                 <directory>${project.basedir}/src/main/resources</directory>
763                 <includes>
764                     <include>application.properties</include>
765                     <include>dme2.properties</include>
766                     <include>logback.xml</include>
767                     <include>localhost-access-logback.xml</include>
768                 </includes>
769                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
770                 </targetPath>
771                 <filtering>false</filtering>
772             </resource>
773             <resource>
774                 <directory>${project.basedir}/src/main/resources</directory>
775                 <includes>
776                     <include>**/*</include>
777                 </includes>
778                 <filtering>true</filtering>
779             </resource>
780             <resource>
781                 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
782                 <includes>
783                     <include>titan-realtime.properties</include>
784                     <include>titan-cached.properties</include>
785                     <include>aaiconfig.properties</include>
786                 </includes>
787                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
788                 </targetPath>
789                 <filtering>false</filtering>
790             </resource>
791             <resource>
792                 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
793                 <includes>
794                     <include>aai-client-cert.p12</include>
795                     <include>tomcat_keystore</include>
796                 </includes>
797                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
798                 </targetPath>
799                 <filtering>true</filtering>
800             </resource>
801             <resource>
802                 <directory>${project.basedir}/src/main/resources/</directory>
803                 <includes>
804                     <include>logback.xml</include>
805                     <include>localhost-access-logback.xml</include>
806                 </includes>
807                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
808                 </targetPath>
809                 <filtering>true</filtering>
810             </resource>
811             <resource>
812                 <directory>${project.basedir}/src/main/docker</directory>
813                 <includes>
814                     <include>**/*</include>
815                 </includes>
816                 <targetPath>${aai.build.directory}</targetPath>
817                 <filtering>true</filtering>
818             </resource>
819         </resources>
820         <pluginManagement>
821             <plugins>
822                 <plugin>
823                     <groupId>org.apache.maven.plugins</groupId>
824                     <artifactId>maven-dependency-plugin</artifactId>
825                     <version>2.8</version>
826                     <executions>
827                         <execution>
828                             <id>copy-agent</id>
829                             <phase>process-test-classes</phase>
830                             <goals>
831                                 <goal>copy</goal>
832                             </goals>
833                         </execution>
834                         <execution>
835                             <id>unpack-schema-dependency</id>
836                             <phase>initialize</phase>
837                             <goals>
838                                 <goal>unpack</goal>
839                             </goals>
840                         </execution>
841                     </executions>
842                     <configuration>
843                         <artifactItems>
844                             <artifactItem>
845                                 <groupId>org.onap.aai.aai-common</groupId>
846                                 <artifactId>aai-schema</artifactId>
847                                 <version>${aai.core.version}</version>
848                                 <outputDirectory>${project.basedir}/src/main/resources/etc</outputDirectory>
849                                 <includes>oxm/*.xml</includes>
850                             </artifactItem>
851                         </artifactItems>
852                         <!-- other configurations here -->
853                     </configuration>
854                 </plugin>
855                 <plugin>
856                     <groupId>org.codehaus.groovy.maven</groupId>
857                     <artifactId>gmaven-plugin</artifactId>
858                     <version>1.0</version>
859                     <executions>
860                         <execution>
861                             <phase>validate</phase>
862                             <goals>
863                                 <goal>execute</goal>
864                             </goals>
865                             <configuration>
866                                 <source>
867                                     println project.properties['aai.project.version'];
868                                     def versionArray;
869                                     if (project.properties['aai.project.version'] != null) {
870                                         versionArray = project.properties['aai.project.version'].split('\\.');
871                                     }
872
873                                     if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
874                                         project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
875                                     } else {
876                                         project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
877                                     }
878
879                                     println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
880                                 </source>
881                             </configuration>
882                         </execution>
883                     </executions>
884                 </plugin>
885             </plugins>
886         </pluginManagement>
887         <plugins>
888             <plugin>
889                 <groupId>org.springframework.boot</groupId>
890                 <artifactId>spring-boot-maven-plugin</artifactId>
891             </plugin>
892             <plugin>
893                 <groupId>org.apache.maven.plugins</groupId>
894                 <artifactId>maven-gpg-plugin</artifactId>
895                 <configuration>
896                     <skip>true</skip>
897                 </configuration>
898             </plugin>
899             <plugin>
900                 <groupId>org.codehaus.groovy.maven</groupId>
901                 <artifactId>gmaven-plugin</artifactId>
902             </plugin>
903             <plugin>
904                 <artifactId>exec-maven-plugin</artifactId>
905                 <groupId>org.codehaus.mojo</groupId>
906             </plugin>
907             <plugin>
908                 <groupId>org.apache.maven.plugins</groupId>
909                 <artifactId>maven-javadoc-plugin</artifactId>
910                 <configuration>
911                     <additionalparam>-Xdoclint:none</additionalparam>
912                 </configuration>
913             </plugin>
914             <plugin>
915                 <artifactId>maven-assembly-plugin</artifactId>
916                 <configuration>
917                     <descriptors>
918                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
919                     </descriptors>
920                 </configuration>
921                 <executions>
922                     <execution>
923                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
924                         <phase>package</phase> <!-- bind to the packaging phase -->
925                         <goals>
926                             <goal>single</goal>
927                         </goals>
928                     </execution>
929                 </executions>
930             </plugin>
931             <plugin>
932                 <groupId>org.apache.maven.plugins</groupId>
933                 <artifactId>maven-surefire-plugin</artifactId>
934                 <version>2.12.4</version>
935                 <configuration>
936                     <argLine>-noverify ${argLine}</argLine>
937                     <runOrder>alphabetical</runOrder>
938                 </configuration>
939             </plugin>
940             <plugin>
941                 <groupId>org.codehaus.mojo</groupId>
942                 <artifactId>sonar-maven-plugin</artifactId>
943                 <version>3.3</version>
944             </plugin>
945             <plugin>
946                 <groupId>org.jacoco</groupId>
947                 <artifactId>jacoco-maven-plugin</artifactId>
948                 <version>0.7.9</version>
949                 <configuration>
950                     <dumpOnExit>true</dumpOnExit>
951                     <excludes>
952                         <exclude>**/**/models/**/*.class</exclude>
953                     </excludes>
954                 </configuration>
955                 <executions>
956                     <execution>
957                         <id>jacoco-initialize-unit-tests</id>
958                         <goals>
959                             <goal>prepare-agent</goal>
960                         </goals>
961                         <configuration>
962                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
963                             <!-- <append>true</append> -->
964                         </configuration>
965                     </execution>
966                     <execution>
967                         <id>post-unit-test</id>
968                         <phase>test</phase>
969                         <goals>
970                             <goal>report</goal>
971                         </goals>
972                         <configuration>
973                             <!-- Sets the path to the file which contains the execution data. -->
974                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
975                             <!-- Sets the output directory for the code coverage report. -->
976                             <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
977                         </configuration>
978                     </execution>
979                 </executions>
980             </plugin>
981             <plugin>
982                 <groupId>org.apache.maven.plugins</groupId>
983                 <artifactId>maven-deploy-plugin</artifactId>
984                 <executions>
985                     <execution>
986                         <id>default-deploy</id>
987                         <phase>none</phase>
988                     </execution>
989                 </executions>
990             </plugin>
991             <plugin>
992                 <groupId>org.sonatype.plugins</groupId>
993                 <artifactId>nexus-staging-maven-plugin</artifactId>
994                 <version>1.6.7</version>
995                 <extensions>true</extensions>
996                 <configuration>
997                     <nexusUrl>${nexusproxy}</nexusUrl>
998                     <stagingProfileId>176c31dfe190a</stagingProfileId>
999                     <serverId>ecomp-staging</serverId>
1000                 </configuration>
1001             </plugin>
1002             <plugin>
1003                 <groupId>org.springframework.boot</groupId>
1004                 <artifactId>spring-boot-maven-plugin</artifactId>
1005                 <configuration>
1006                     <mainClass>${start-class}</mainClass>
1007                     <layout>ZIP</layout>
1008                 </configuration>
1009                 <executions>
1010                     <execution>
1011                         <goals>
1012                             <goal>repackage</goal>
1013                         </goals>
1014                     </execution>
1015                 </executions>
1016             </plugin>
1017             <plugin>
1018                 <groupId>org.antlr</groupId>
1019                 <artifactId>antlr4-maven-plugin</artifactId>
1020                 <version>4.7</version>
1021                 <executions>
1022                     <execution>
1023                         <goals>
1024                             <goal>antlr4</goal>
1025                         </goals>
1026                         <configuration>
1027                             <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1028                             <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1029                         </configuration>
1030                     </execution>
1031                 </executions>
1032             </plugin>
1033             <plugin>
1034                 <groupId>org.apache.maven.plugins</groupId>
1035                 <artifactId>maven-dependency-plugin</artifactId>
1036                 <version>2.8</version>
1037                 <executions>
1038                     <execution>
1039                         <id>unpack-schema-dependency</id>
1040                         <phase>initialize</phase>
1041                         <goals>
1042                             <goal>unpack</goal>
1043                         </goals>
1044                     </execution>
1045                 </executions>
1046                 <configuration>
1047                     <artifactItems>
1048                         <artifactItem>
1049                             <groupId>org.onap.aai.aai-common</groupId>
1050                             <artifactId>aai-schema</artifactId>
1051                             <version>${aai-schema.version}</version>
1052                             <outputDirectory>src/main/resources/etc</outputDirectory>
1053                             <includes>oxm/*.xml</includes>
1054                         </artifactItem>
1055                     </artifactItems>
1056                     <!-- other configurations here -->
1057                 </configuration>
1058             </plugin>
1059
1060         </plugins>
1061     </build>
1062     <reporting>
1063         <plugins>
1064             <plugin>
1065                 <groupId>org.apache.maven.plugins</groupId>
1066                 <artifactId>maven-javadoc-plugin</artifactId>
1067                 <version>2.10.4</version>
1068                 <configuration>
1069                     <failOnError>false</failOnError>
1070                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1071                     <docletArtifact>
1072                         <groupId>org.umlgraph</groupId>
1073                         <artifactId>umlgraph</artifactId>
1074                         <version>5.6</version>
1075                     </docletArtifact>
1076                     <additionalparam>-views</additionalparam>
1077                     <useStandardDocletOptions>true</useStandardDocletOptions>
1078                 </configuration>
1079             </plugin>
1080         </plugins>
1081     </reporting>
1082     <distributionManagement>
1083         <repository>
1084             <id>ecomp-releases</id>
1085             <name>ECOMP Release Repository</name>
1086             <url>${nexusproxy}${release.path}</url>
1087         </repository>
1088         <snapshotRepository>
1089             <id>ecomp-snapshots</id>
1090             <name>ECOMP Snapshot Repository</name>
1091             <url>${nexusproxy}${snapshot.path}</url>
1092         </snapshotRepository>
1093         <site>
1094             <id>ecomp-site</id>
1095             <url>dav:${nexusproxy}${site.path}</url>
1096         </site>
1097     </distributionManagement>
1098 </project>