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