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.1.0-SNAPSHOT</version>
11 <artifactId>aai-traversal</artifactId>
12 <name>aai-traversal</name>
13 <url>http://maven.apache.org</url>
15 <nexusproxy>https://nexus.onap.org</nexusproxy>
16 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
19 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
20 <docker.image.version>1.0.0</docker.image.version>
21 <aai-core.version>1.1.0-SNAPSHOT</aai-core.version>
22 <aai-schema.version>1.1.0-SNAPSHOT</aai-schema.version>
23 <hbase.version>1.0.2</hbase.version>
24 <sonar.language>java</sonar.language>
25 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
26 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
27 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
28 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
29 <sonar.projectVersion>${project.version}</sonar.projectVersion>
31 <distributionManagement>
33 <id>ecomp-releases</id>
34 <name>ECOMP Release Repository</name>
35 <url>${nexusproxy}/content/repositories/releases/</url>
38 <id>ecomp-snapshots</id>
39 <name>ECOMP Snapshot Repository</name>
40 <url>${nexusproxy}/content/repositories/snapshots/</url>
44 <url>dav:${nexusproxy}${sitePath}</url>
46 </distributionManagement>
49 <groupId>org.onap.aai.aai-common</groupId>
50 <artifactId>aai-schema</artifactId>
51 <version>${aai-schema.version}</version>
54 <groupId>org.onap.aai.aai-common</groupId>
55 <artifactId>aai-core</artifactId>
56 <version>${aai-core.version}</version>
58 <!-- Scamper related dependencies -->
60 <groupId>com.rabbitmq</groupId>
61 <artifactId>amqp-client</artifactId>
62 <version>3.6.1</version>
65 <groupId>log4j</groupId>
66 <artifactId>apache-log4j-extras</artifactId>
67 <version>1.2.17</version>
70 <artifactId>log4j</artifactId>
71 <groupId>log4j</groupId>
77 <groupId>commons-beanutils</groupId>
78 <artifactId>commons-beanutils</artifactId>
79 <version>1.9.2</version>
83 <groupId>org.apache.commons</groupId>
84 <artifactId>commons-compress</artifactId>
85 <version>1.10</version>
89 <groupId>commons-configuration</groupId>
90 <artifactId>commons-configuration</artifactId>
91 <version>1.9</version>
94 <artifactId>commons-lang</artifactId>
95 <groupId>commons-lang</groupId>
101 <groupId>com.googlecode.java-diff-utils</groupId>
102 <artifactId>diffutils</artifactId>
103 <version>1.3.0</version>
107 <groupId>org.codehaus.jackson</groupId>
108 <artifactId>jackson-core-asl</artifactId>
109 <version>1.9.13</version>
113 <groupId>org.codehaus.jackson</groupId>
114 <artifactId>jackson-mapper-asl</artifactId>
115 <version>1.9.13</version>
119 <groupId>org.apache.httpcomponents</groupId>
120 <artifactId>httpmime</artifactId>
121 <version>4.5.2</version>
124 <!-- AJSC related dependencies -->
126 <groupId>com.att.ajsc</groupId>
127 <artifactId>ajsc-runner</artifactId>
128 <version>${ajscRuntimeVersion}</version>
131 <groupId>com.att.ajsc</groupId>
132 <artifactId>ajsc-core</artifactId>
133 <version>${ajscRuntimeVersion}</version>
134 <scope>provided</scope>
137 <!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided"
138 scope. In CSI env, this jar MUST be included within service project's swm
141 <groupId>dom4j</groupId>
142 <artifactId>dom4j</artifactId>
143 <version>1.6.1</version>
147 <groupId>commons-lang</groupId>
148 <artifactId>commons-lang</artifactId>
149 <version>2.6</version>
152 <!-- eelf dependency -->
154 <groupId>com.att.eelf</groupId>
155 <artifactId>eelf-core</artifactId>
156 <version>1.0.0</version>
160 <groupId>ch.qos.logback</groupId>
161 <artifactId>logback-core</artifactId>
162 <version>1.1.7</version>
166 <groupId>ch.qos.logback</groupId>
167 <artifactId>logback-classic</artifactId>
168 <version>1.1.7</version>
172 <groupId>ch.qos.logback</groupId>
173 <artifactId>logback-access</artifactId>
174 <version>1.1.7</version>
178 <groupId>org.hamcrest</groupId>
179 <artifactId>hamcrest-junit</artifactId>
180 <version>2.0.0.0</version>
183 <groupId>org.codehaus.janino</groupId>
184 <artifactId>janino</artifactId>
185 <version>2.7.8</version>
188 <groupId>commons-collections</groupId>
189 <artifactId>commons-collections</artifactId>
193 <groupId>jdk.tools</groupId>
194 <artifactId>jdk.tools</artifactId>
195 <version>1.8.0_101</version>
196 <scope>system</scope>
197 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
201 <groupId>junit</groupId>
202 <artifactId>junit</artifactId>
206 <groupId>com.google.guava</groupId>
207 <artifactId>guava</artifactId>
208 <version>16.0</version>
211 <groupId>com.thinkaurelius.titan</groupId>
212 <artifactId>titan-core</artifactId>
213 <version>1.0.0</version>
216 <groupId>org.slf4j</groupId>
217 <artifactId>slf4j-log4j12</artifactId>
222 <groupId>com.thinkaurelius.titan</groupId>
223 <artifactId>titan-cassandra</artifactId>
224 <version>1.0.0</version>
227 <groupId>org.slf4j</groupId>
228 <artifactId>slf4j-log4j12</artifactId>
233 <groupId>com.thinkaurelius.titan</groupId>
234 <artifactId>titan-hbase</artifactId>
235 <version>1.0.0</version>
238 <groupId>org.slf4j</groupId>
239 <artifactId>slf4j-log4j12</artifactId>
245 <groupId>org.apache.tinkerpop</groupId>
246 <artifactId>gremlin-driver</artifactId>
247 <version>3.0.1-incubating</version>
250 <groupId>org.apache.hbase</groupId>
251 <artifactId>hbase-client</artifactId>
252 <version>${hbase.version}</version>
255 <groupId>org.slf4j</groupId>
256 <artifactId>slf4j-log4j12</artifactId>
259 <artifactId>log4j</artifactId>
260 <groupId>log4j</groupId>
265 <groupId>org.apache.hbase</groupId>
266 <artifactId>hbase-protocol</artifactId>
267 <version>${hbase.version}</version>
270 <artifactId>log4j</artifactId>
271 <groupId>log4j</groupId>
276 <groupId>org.apache.hbase</groupId>
277 <artifactId>hbase-common</artifactId>
278 <version>${hbase.version}</version>
281 <artifactId>log4j</artifactId>
282 <groupId>log4j</groupId>
287 <groupId>com.sun.jersey</groupId>
288 <artifactId>jersey-json</artifactId>
289 <version>1.18</version>
292 <groupId>jivesoftware</groupId>
293 <artifactId>smack</artifactId>
294 <version>3.0.4</version>
298 <groupId>com.fasterxml.jackson.jaxrs</groupId>
299 <artifactId>jackson-jaxrs-json-provider</artifactId>
300 <version>2.1.4</version>
303 <groupId>com.googlecode.json-simple</groupId>
304 <artifactId>json-simple</artifactId>
305 <version>1.1.1</version>
308 <groupId>com.sun.jersey</groupId>
309 <artifactId>jersey-client</artifactId>
310 <version>1.18</version>
313 <groupId>org.springframework</groupId>
314 <artifactId>spring-web</artifactId>
317 <groupId>org.springframework.ws</groupId>
318 <artifactId>spring-ws</artifactId>
319 <version>1.5.2</version>
320 <!--<version>2.1.3-RELEASE</version> -->
323 <groupId>org.springframework</groupId>
324 <artifactId>spring-core</artifactId>
325 <version>4.2.5.RELEASE</version>
328 <groupId>org.mockito</groupId>
329 <artifactId>mockito-all</artifactId>
330 <version>1.10.19</version>
334 <groupId>org.powermock</groupId>
335 <artifactId>powermock-module-junit4</artifactId>
336 <version>1.6.2</version>
340 <groupId>org.powermock</groupId>
341 <artifactId>powermock-api-mockito</artifactId>
342 <version>1.6.2</version>
346 <groupId>com.beust</groupId>
347 <artifactId>jcommander</artifactId>
348 <version>1.48</version>
351 <groupId>org.json</groupId>
352 <artifactId>json</artifactId>
353 <version>20090211</version>
356 <groupId>org.freemarker</groupId>
357 <artifactId>freemarker</artifactId>
358 <version>2.3.14</version>
361 <groupId>javax.xml.bind</groupId>
362 <artifactId>jaxb-api</artifactId>
363 <version>2.2.11</version>
366 <groupId>com.sun.xml.bind</groupId>
367 <artifactId>jaxb-impl</artifactId>
368 <version>2.2.11</version>
371 <groupId>com.sun.xml.bind</groupId>
372 <artifactId>jaxb-core</artifactId>
373 <version>2.2.11</version>
376 <groupId>com.sun.xml.bind</groupId>
377 <artifactId>jaxb-xjc</artifactId>
378 <version>2.2.11</version>
381 <groupId>org.eclipse.persistence</groupId>
382 <artifactId>eclipselink</artifactId>
383 <version>2.6.2</version>
386 <groupId>org.eclipse.persistence</groupId>
387 <artifactId>org.eclipse.persistence.moxy</artifactId>
388 <version>2.6.2</version>
389 <scope>compile</scope>
392 <groupId>org.powermock</groupId>
393 <artifactId>powermock-module-javaagent</artifactId>
394 <version>1.6.2</version>
398 <groupId>org.powermock</groupId>
399 <artifactId>powermock-module-junit4-rule-agent</artifactId>
400 <version>1.6.2</version>
404 <groupId>com.github.fge</groupId>
405 <artifactId>json-patch</artifactId>
406 <version>1.9</version>
409 <groupId>org.javatuples</groupId>
410 <artifactId>javatuples</artifactId>
411 <version>1.2</version>
412 <scope>compile</scope>
415 <groupId>com.google.code.gson</groupId>
416 <artifactId>gson</artifactId>
417 <version>2.7</version>
420 <groupId>com.att.nsa</groupId>
421 <artifactId>dmaapClient</artifactId>
422 <version>0.2.12</version>
425 <groupId>org.apache.httpcomponents</groupId>
426 <artifactId>httpcore</artifactId>
427 <version>4.4</version>
430 <groupId>com.bazaarvoice.jolt</groupId>
431 <artifactId>jolt-complete</artifactId>
432 <version>0.0.24</version>
435 <groupId>com.jayway.jsonpath</groupId>
436 <artifactId>json-path</artifactId>
437 <version>2.0.0</version>
441 <finalName>traversal</finalName>
445 <groupId>org.jsonschema2pojo</groupId>
446 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
447 <version>0.4.13</version>
449 <sourceType>jsonschema</sourceType>
450 <sourceDirectory>src/main/resources/json</sourceDirectory>
451 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
452 <annotationStyle>jackson2</annotationStyle>
453 <generateBuilders>true</generateBuilders>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-dependency-plugin</artifactId>
459 <version>2.8</version>
463 <phase>process-test-classes</phase>
470 <groupId>org.powermock</groupId>
471 <artifactId>powermock-module-javaagent</artifactId>
472 <version>1.6.2</version>
473 <outputDirectory>${project.build.directory}/agents</outputDirectory>
474 <destFileName>powermock-javaagent.jar</destFileName>
480 <id>unpack-schema-dependency</id>
481 <phase>initialize</phase>
490 <groupId>org.onap.aai.aai-common</groupId>
491 <artifactId>aai-schema</artifactId>
492 <version>${aai-schema.version}</version>
493 <outputDirectory>bundleconfig-local/etc</outputDirectory>
494 <includes>oxm/*.xml</includes>
497 <!-- other configurations here -->
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-surefire-plugin</artifactId>
503 <version>2.12.4</version>
505 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
507 <systemPropertyVariables>
508 <AJSC_HOME>.</AJSC_HOME>
509 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
510 </systemPropertyVariables>
514 <groupId>org.codehaus.groovy.maven</groupId>
515 <artifactId>gmaven-plugin</artifactId>
518 <phase>validate</phase>
524 println project.properties['aai.project.version'];
526 if ( project.properties['aai.project.version'] != null ) {
527 versionArray = project.properties['aai.project.version'].split('\\.');
530 if ( project.properties['aai.project.version'].endsWith("-SNAPSHOT") ) {
531 project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
533 project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
536 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
543 <groupId>org.apache.maven.plugins</groupId>
544 <artifactId>maven-resources-plugin</artifactId>
545 <version>2.7</version>
548 <id>copy-docker-file</id>
549 <phase>package</phase>
551 <goal>copy-resources</goal>
554 <outputDirectory>${dockerLocation}</outputDirectory>
555 <overwrite>true</overwrite>
558 <directory>${basedir}/src/main/resources/docker</directory>
559 <filtering>true</filtering>
561 <include>**/*</include>
568 <id>copy-commonlibs-file</id>
569 <phase>package</phase>
571 <goal>copy-resources</goal>
574 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
575 <overwrite>true</overwrite>
578 <directory>${basedir}/target/commonLibs</directory>
579 <filtering>false</filtering>
581 <include>*.jar</include>
590 <groupId>io.fabric8</groupId>
591 <artifactId>docker-maven-plugin</artifactId>
592 <version>0.16.5</version>
594 <verbose>true</verbose>
595 <apiVersion>1.23</apiVersion>
598 <name>${docker.push.registry}/openecomp/aai-traversal:%l</name>
602 <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
603 <tag>${aai.docker.version}-STAGING-latest</tag>
605 <cleanup>try</cleanup>
606 <dockerFileDir>${dockerLocation}</dockerFileDir>
607 <dockerFile>${dockerLocation}/Dockerfile</dockerFile>
614 <id>clean-images</id>
615 <phase>pre-clean</phase>
620 <removeAll>true</removeAll>
621 <image>openecomp/aai-traversal:%l</image>
625 <id>generate-images</id>
626 <phase>generate-sources</phase>
633 <phase>deploy</phase>
639 <image>openecomp/aai-traversal:%l</image>
648 <groupId>org.codehaus.mojo</groupId>
649 <artifactId>sonar-maven-plugin</artifactId>
650 <version>3.2</version>
653 <groupId>org.jacoco</groupId>
654 <artifactId>jacoco-maven-plugin</artifactId>
655 <version>0.7.7.201606060606</version>
657 <dumpOnExit>true</dumpOnExit>
661 <id>jacoco-initialize-unit-tests</id>
663 <goal>prepare-agent</goal>
666 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
667 <!-- <append>true</append> -->
673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-deploy-plugin</artifactId>
677 <id>default-deploy</id>
683 <groupId>org.sonatype.plugins</groupId>
684 <artifactId>nexus-staging-maven-plugin</artifactId>
685 <version>1.6.7</version>
686 <extensions>true</extensions>
688 <nexusUrl>${nexusproxy}</nexusUrl>
689 <stagingProfileId>176c31dfe190a</stagingProfileId>
690 <serverId>ecomp-staging</serverId>
696 <!-- Use this profile to run the AJSC locally. This profile can be successfully
697 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
698 available with this profile. -->
700 <id>passwordGenerator</id>
702 <defaultGoal>initialize</defaultGoal>
705 <groupId>org.codehaus.mojo</groupId>
706 <artifactId>exec-maven-plugin</artifactId>
707 <version>1.3.2</version>
710 <phase>initialize</phase>
715 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
717 <argument>user</argument>
718 <argument>aaiDomain2</argument>
724 <executable>java</executable>