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