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