3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.onap.aai.traversal</groupId>
8 <artifactId>traversal</artifactId>
9 <version>1.2.0-SNAPSHOT</version>
11 <artifactId>aai-traversal</artifactId>
12 <name>aai-traversal</name>
13 <url>http://maven.apache.org</url>
14 <version>1.2.0-SNAPSHOT</version>
16 <nexusproxy>https://nexus.onap.org</nexusproxy>
17 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
20 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
21 <docker.image.version>1.0.0</docker.image.version>
22 <hbase.version>1.0.2</hbase.version>
23 <sonar.language>java</sonar.language>
24 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
25 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
26 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
27 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
28 <sonar.projectVersion>${project.version}</sonar.projectVersion>
32 <groupId>org.onap.aai.aai-common</groupId>
33 <artifactId>aai-schema</artifactId>
34 <version>${project.version}</version>
37 <groupId>org.onap.aai.aai-common</groupId>
38 <artifactId>aai-core</artifactId>
39 <version>${project.version}</version>
41 <!-- Scamper related dependencies -->
43 <groupId>com.rabbitmq</groupId>
44 <artifactId>amqp-client</artifactId>
45 <version>3.6.1</version>
48 <groupId>log4j</groupId>
49 <artifactId>apache-log4j-extras</artifactId>
50 <version>1.2.17</version>
53 <artifactId>log4j</artifactId>
54 <groupId>log4j</groupId>
60 <groupId>commons-beanutils</groupId>
61 <artifactId>commons-beanutils</artifactId>
62 <version>1.9.2</version>
66 <groupId>org.apache.commons</groupId>
67 <artifactId>commons-compress</artifactId>
68 <version>1.10</version>
72 <groupId>commons-configuration</groupId>
73 <artifactId>commons-configuration</artifactId>
74 <version>1.9</version>
77 <artifactId>commons-lang</artifactId>
78 <groupId>commons-lang</groupId>
84 <groupId>com.googlecode.java-diff-utils</groupId>
85 <artifactId>diffutils</artifactId>
86 <version>1.3.0</version>
90 <groupId>org.codehaus.jackson</groupId>
91 <artifactId>jackson-core-asl</artifactId>
92 <version>1.9.13</version>
96 <groupId>org.codehaus.jackson</groupId>
97 <artifactId>jackson-mapper-asl</artifactId>
98 <version>1.9.13</version>
102 <groupId>org.apache.httpcomponents</groupId>
103 <artifactId>httpmime</artifactId>
104 <version>4.5.2</version>
107 <!-- AJSC related dependencies -->
109 <groupId>com.att.ajsc</groupId>
110 <artifactId>ajsc-runner</artifactId>
111 <version>${ajscRuntimeVersion}</version>
114 <groupId>com.att.ajsc</groupId>
115 <artifactId>ajsc-core</artifactId>
116 <version>${ajscRuntimeVersion}</version>
117 <scope>provided</scope>
120 <!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided"
121 scope. In CSI env, this jar MUST be included within service project's swm
124 <groupId>dom4j</groupId>
125 <artifactId>dom4j</artifactId>
126 <version>1.6.1</version>
130 <groupId>commons-lang</groupId>
131 <artifactId>commons-lang</artifactId>
132 <version>2.6</version>
135 <!-- eelf dependency -->
137 <groupId>com.att.eelf</groupId>
138 <artifactId>eelf-core</artifactId>
139 <version>1.0.0</version>
143 <groupId>ch.qos.logback</groupId>
144 <artifactId>logback-core</artifactId>
145 <version>1.1.7</version>
149 <groupId>ch.qos.logback</groupId>
150 <artifactId>logback-classic</artifactId>
151 <version>1.1.7</version>
155 <groupId>ch.qos.logback</groupId>
156 <artifactId>logback-access</artifactId>
157 <version>1.1.7</version>
161 <groupId>org.hamcrest</groupId>
162 <artifactId>hamcrest-junit</artifactId>
163 <version>2.0.0.0</version>
166 <groupId>org.codehaus.janino</groupId>
167 <artifactId>janino</artifactId>
168 <version>2.7.8</version>
171 <groupId>commons-collections</groupId>
172 <artifactId>commons-collections</artifactId>
176 <groupId>jdk.tools</groupId>
177 <artifactId>jdk.tools</artifactId>
178 <version>1.8.0_101</version>
179 <scope>system</scope>
180 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
184 <groupId>junit</groupId>
185 <artifactId>junit</artifactId>
189 <groupId>com.google.guava</groupId>
190 <artifactId>guava</artifactId>
191 <version>16.0</version>
194 <groupId>com.thinkaurelius.titan</groupId>
195 <artifactId>titan-core</artifactId>
196 <version>1.0.0</version>
199 <groupId>org.slf4j</groupId>
200 <artifactId>slf4j-log4j12</artifactId>
205 <groupId>com.thinkaurelius.titan</groupId>
206 <artifactId>titan-cassandra</artifactId>
207 <version>1.0.0</version>
210 <groupId>org.slf4j</groupId>
211 <artifactId>slf4j-log4j12</artifactId>
216 <groupId>com.thinkaurelius.titan</groupId>
217 <artifactId>titan-hbase</artifactId>
218 <version>1.0.0</version>
221 <groupId>org.slf4j</groupId>
222 <artifactId>slf4j-log4j12</artifactId>
228 <groupId>org.apache.tinkerpop</groupId>
229 <artifactId>gremlin-driver</artifactId>
230 <version>3.0.1-incubating</version>
233 <groupId>org.apache.hbase</groupId>
234 <artifactId>hbase-client</artifactId>
235 <version>${hbase.version}</version>
238 <groupId>org.slf4j</groupId>
239 <artifactId>slf4j-log4j12</artifactId>
242 <artifactId>log4j</artifactId>
243 <groupId>log4j</groupId>
248 <groupId>org.apache.hbase</groupId>
249 <artifactId>hbase-protocol</artifactId>
250 <version>${hbase.version}</version>
253 <artifactId>log4j</artifactId>
254 <groupId>log4j</groupId>
259 <groupId>org.apache.hbase</groupId>
260 <artifactId>hbase-common</artifactId>
261 <version>${hbase.version}</version>
264 <artifactId>log4j</artifactId>
265 <groupId>log4j</groupId>
270 <groupId>com.sun.jersey</groupId>
271 <artifactId>jersey-json</artifactId>
272 <version>1.18</version>
275 <groupId>jivesoftware</groupId>
276 <artifactId>smack</artifactId>
277 <version>3.0.4</version>
281 <groupId>com.fasterxml.jackson.jaxrs</groupId>
282 <artifactId>jackson-jaxrs-json-provider</artifactId>
283 <version>2.1.4</version>
286 <groupId>com.googlecode.json-simple</groupId>
287 <artifactId>json-simple</artifactId>
288 <version>1.1.1</version>
291 <groupId>com.sun.jersey</groupId>
292 <artifactId>jersey-client</artifactId>
293 <version>1.18</version>
296 <groupId>org.springframework</groupId>
297 <artifactId>spring-web</artifactId>
300 <groupId>org.springframework.ws</groupId>
301 <artifactId>spring-ws</artifactId>
302 <version>1.5.2</version>
303 <!--<version>2.1.3-RELEASE</version> -->
306 <groupId>org.springframework</groupId>
307 <artifactId>spring-core</artifactId>
308 <version>4.2.5.RELEASE</version>
311 <groupId>org.mockito</groupId>
312 <artifactId>mockito-all</artifactId>
313 <version>1.10.19</version>
317 <groupId>org.powermock</groupId>
318 <artifactId>powermock-module-junit4</artifactId>
319 <version>1.6.2</version>
323 <groupId>org.powermock</groupId>
324 <artifactId>powermock-api-mockito</artifactId>
325 <version>1.6.2</version>
329 <groupId>com.beust</groupId>
330 <artifactId>jcommander</artifactId>
331 <version>1.48</version>
334 <groupId>org.json</groupId>
335 <artifactId>json</artifactId>
336 <version>20090211</version>
339 <groupId>org.freemarker</groupId>
340 <artifactId>freemarker</artifactId>
341 <version>2.3.14</version>
344 <groupId>javax.xml.bind</groupId>
345 <artifactId>jaxb-api</artifactId>
346 <version>2.2.11</version>
349 <groupId>com.sun.xml.bind</groupId>
350 <artifactId>jaxb-impl</artifactId>
351 <version>2.2.11</version>
354 <groupId>com.sun.xml.bind</groupId>
355 <artifactId>jaxb-core</artifactId>
356 <version>2.2.11</version>
359 <groupId>com.sun.xml.bind</groupId>
360 <artifactId>jaxb-xjc</artifactId>
361 <version>2.2.11</version>
364 <groupId>org.eclipse.persistence</groupId>
365 <artifactId>eclipselink</artifactId>
366 <version>2.6.2</version>
369 <groupId>org.eclipse.persistence</groupId>
370 <artifactId>org.eclipse.persistence.moxy</artifactId>
371 <version>2.6.2</version>
372 <scope>compile</scope>
375 <groupId>org.powermock</groupId>
376 <artifactId>powermock-module-javaagent</artifactId>
377 <version>1.6.2</version>
381 <groupId>org.powermock</groupId>
382 <artifactId>powermock-module-junit4-rule-agent</artifactId>
383 <version>1.6.2</version>
387 <groupId>com.github.fge</groupId>
388 <artifactId>json-patch</artifactId>
389 <version>1.9</version>
392 <groupId>org.javatuples</groupId>
393 <artifactId>javatuples</artifactId>
394 <version>1.2</version>
395 <scope>compile</scope>
398 <groupId>com.google.code.gson</groupId>
399 <artifactId>gson</artifactId>
400 <version>2.7</version>
403 <groupId>com.att.nsa</groupId>
404 <artifactId>dmaapClient</artifactId>
405 <version>0.2.12</version>
408 <groupId>org.apache.httpcomponents</groupId>
409 <artifactId>httpcore</artifactId>
410 <version>4.4</version>
413 <groupId>com.bazaarvoice.jolt</groupId>
414 <artifactId>jolt-complete</artifactId>
415 <version>0.0.24</version>
419 <finalName>traversal</finalName>
423 <groupId>org.jsonschema2pojo</groupId>
424 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
425 <version>0.4.13</version>
427 <sourceType>jsonschema</sourceType>
428 <sourceDirectory>src/main/resources/json</sourceDirectory>
429 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
430 <annotationStyle>jackson2</annotationStyle>
431 <generateBuilders>true</generateBuilders>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-dependency-plugin</artifactId>
437 <version>2.8</version>
441 <phase>process-test-classes</phase>
447 <id>unpack-schema-dependency</id>
448 <phase>initialize</phase>
457 <groupId>org.onap.aai.aai-common</groupId>
458 <artifactId>aai-schema</artifactId>
459 <version>${project.version}</version>
460 <outputDirectory>bundleconfig-local/etc</outputDirectory>
461 <includes>oxm/*.xml</includes>
464 <!-- other configurations here -->
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-surefire-plugin</artifactId>
470 <version>2.12.4</version>
472 <argLine>-noverify ${argLine}</argLine>
473 <systemPropertyVariables>
474 <AJSC_HOME>.</AJSC_HOME>
475 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
476 </systemPropertyVariables>
480 <groupId>org.codehaus.groovy.maven</groupId>
481 <artifactId>gmaven-plugin</artifactId>
484 <phase>validate</phase>
490 println project.properties['aai.project.version'];
492 if (project.properties['aai.project.version'] != null) {
493 versionArray = project.properties['aai.project.version'].split('\\.');
496 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
497 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
499 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
502 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
509 <groupId>org.apache.maven.plugins</groupId>
510 <artifactId>maven-resources-plugin</artifactId>
511 <version>2.7</version>
514 <id>copy-docker-file</id>
515 <phase>package</phase>
517 <goal>copy-resources</goal>
520 <outputDirectory>${dockerLocation}</outputDirectory>
521 <overwrite>true</overwrite>
524 <directory>${basedir}/src/main/resources/docker</directory>
525 <filtering>true</filtering>
527 <include>**/*</include>
534 <id>copy-commonlibs-file</id>
535 <phase>package</phase>
537 <goal>copy-resources</goal>
540 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
541 <overwrite>true</overwrite>
544 <directory>${basedir}/target/commonLibs</directory>
545 <filtering>false</filtering>
547 <include>*.jar</include>
556 <groupId>io.fabric8</groupId>
557 <artifactId>docker-maven-plugin</artifactId>
558 <version>0.16.5</version>
560 <verbose>true</verbose>
561 <apiVersion>1.23</apiVersion>
564 <name>${docker.push.registry}/onap/aai-traversal:%l</name>
568 <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
569 <tag>${aai.docker.version}-STAGING-latest</tag>
571 <cleanup>try</cleanup>
572 <dockerFileDir>${dockerLocation}</dockerFileDir>
573 <dockerFile>${dockerLocation}/Dockerfile</dockerFile>
580 <id>clean-images</id>
581 <phase>pre-clean</phase>
586 <removeAll>true</removeAll>
587 <image>onap/aai-traversal:%l</image>
591 <id>generate-images</id>
592 <phase>generate-sources</phase>
599 <phase>deploy</phase>
605 <image>onap/aai-traversal:%l</image>
614 <groupId>org.codehaus.mojo</groupId>
615 <artifactId>sonar-maven-plugin</artifactId>
616 <version>3.2</version>
619 <groupId>org.jacoco</groupId>
620 <artifactId>jacoco-maven-plugin</artifactId>
621 <version>0.7.7.201606060606</version>
623 <dumpOnExit>true</dumpOnExit>
627 <id>jacoco-initialize-unit-tests</id>
629 <goal>prepare-agent</goal>
632 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
633 <!-- <append>true</append> -->
639 <groupId>org.apache.maven.plugins</groupId>
640 <artifactId>maven-deploy-plugin</artifactId>
643 <id>default-deploy</id>
649 <groupId>org.sonatype.plugins</groupId>
650 <artifactId>nexus-staging-maven-plugin</artifactId>
651 <version>1.6.7</version>
652 <extensions>true</extensions>
654 <nexusUrl>${nexusproxy}</nexusUrl>
655 <stagingProfileId>176c31dfe190a</stagingProfileId>
656 <serverId>ecomp-staging</serverId>
662 <!-- Use this profile to run the AJSC locally. This profile can be successfully
663 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
664 available with this profile. -->
666 <id>passwordGenerator</id>
668 <defaultGoal>initialize</defaultGoal>
671 <groupId>org.codehaus.mojo</groupId>
672 <artifactId>exec-maven-plugin</artifactId>
673 <version>1.3.2</version>
676 <phase>initialize</phase>
681 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
683 <argument>user</argument>
684 <argument>aaiDomain2</argument>
690 <executable>java</executable>
701 <groupId>org.apache.maven.plugins</groupId>
702 <artifactId>maven-javadoc-plugin</artifactId>
703 <version>2.10.4</version>
705 <failOnError>false</failOnError>
706 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
708 <groupId>org.umlgraph</groupId>
709 <artifactId>umlgraph</artifactId>
710 <version>5.6</version>
712 <additionalparam>-views</additionalparam>
713 <useStandardDocletOptions>true</useStandardDocletOptions>