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