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