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 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
17 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
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 <aai-core.version>1.1.0-SNAPSHOT</aai-core.version>
23 <aai-schema.version>1.1.0-SNAPSHOT</aai-schema.version>
24 <hbase.version>1.0.2</hbase.version>
25 <sonar.language>java</sonar.language>
26 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
27 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
28 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
29 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
30 <sonar.projectVersion>${project.version}</sonar.projectVersion>
32 <distributionManagement>
34 <id>ecomp-releases</id>
35 <name>ECOMP Release Repository</name>
36 <url>${nexusproxy}/content/repositories/releases/</url>
39 <id>ecomp-snapshots</id>
40 <name>ECOMP Snapshot Repository</name>
41 <url>${nexusproxy}/content/repositories/snapshots/</url>
45 <url>dav:${nexusproxy}${sitePath}</url>
47 </distributionManagement>
50 <groupId>org.onap.aai.aai-common</groupId>
51 <artifactId>aai-schema</artifactId>
52 <version>${aai-schema.version}</version>
55 <groupId>org.onap.aai.aai-common</groupId>
56 <artifactId>aai-core</artifactId>
57 <version>${aai-core.version}</version>
59 <!-- Scamper related dependencies -->
61 <groupId>com.rabbitmq</groupId>
62 <artifactId>amqp-client</artifactId>
63 <version>3.6.1</version>
66 <groupId>log4j</groupId>
67 <artifactId>apache-log4j-extras</artifactId>
68 <version>1.2.17</version>
71 <artifactId>log4j</artifactId>
72 <groupId>log4j</groupId>
78 <groupId>commons-beanutils</groupId>
79 <artifactId>commons-beanutils</artifactId>
80 <version>1.9.2</version>
84 <groupId>org.apache.commons</groupId>
85 <artifactId>commons-compress</artifactId>
86 <version>1.10</version>
90 <groupId>commons-configuration</groupId>
91 <artifactId>commons-configuration</artifactId>
92 <version>1.9</version>
95 <artifactId>commons-lang</artifactId>
96 <groupId>commons-lang</groupId>
102 <groupId>com.googlecode.java-diff-utils</groupId>
103 <artifactId>diffutils</artifactId>
104 <version>1.3.0</version>
108 <groupId>org.codehaus.jackson</groupId>
109 <artifactId>jackson-core-asl</artifactId>
110 <version>1.9.13</version>
114 <groupId>org.codehaus.jackson</groupId>
115 <artifactId>jackson-mapper-asl</artifactId>
116 <version>1.9.13</version>
120 <groupId>org.apache.httpcomponents</groupId>
121 <artifactId>httpmime</artifactId>
122 <version>4.5.2</version>
125 <!-- AJSC related dependencies -->
127 <groupId>com.att.ajsc</groupId>
128 <artifactId>ajsc-runner</artifactId>
129 <version>${ajscRuntimeVersion}</version>
132 <groupId>com.att.ajsc</groupId>
133 <artifactId>ajsc-core</artifactId>
134 <version>${ajscRuntimeVersion}</version>
135 <scope>provided</scope>
138 <!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided"
139 scope. In CSI env, this jar MUST be included within service project's swm
142 <groupId>dom4j</groupId>
143 <artifactId>dom4j</artifactId>
144 <version>1.6.1</version>
148 <groupId>commons-lang</groupId>
149 <artifactId>commons-lang</artifactId>
150 <version>2.6</version>
153 <!-- eelf dependency -->
155 <groupId>com.att.eelf</groupId>
156 <artifactId>eelf-core</artifactId>
157 <version>1.0.0</version>
161 <groupId>ch.qos.logback</groupId>
162 <artifactId>logback-core</artifactId>
163 <version>1.1.7</version>
167 <groupId>ch.qos.logback</groupId>
168 <artifactId>logback-classic</artifactId>
169 <version>1.1.7</version>
173 <groupId>ch.qos.logback</groupId>
174 <artifactId>logback-access</artifactId>
175 <version>1.1.7</version>
179 <groupId>org.hamcrest</groupId>
180 <artifactId>hamcrest-junit</artifactId>
181 <version>2.0.0.0</version>
184 <groupId>org.codehaus.janino</groupId>
185 <artifactId>janino</artifactId>
186 <version>2.7.8</version>
189 <groupId>commons-collections</groupId>
190 <artifactId>commons-collections</artifactId>
194 <groupId>jdk.tools</groupId>
195 <artifactId>jdk.tools</artifactId>
196 <version>1.8.0_101</version>
197 <scope>system</scope>
198 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
202 <groupId>junit</groupId>
203 <artifactId>junit</artifactId>
207 <groupId>com.google.guava</groupId>
208 <artifactId>guava</artifactId>
209 <version>16.0</version>
212 <groupId>com.thinkaurelius.titan</groupId>
213 <artifactId>titan-core</artifactId>
214 <version>1.0.0</version>
217 <groupId>org.slf4j</groupId>
218 <artifactId>slf4j-log4j12</artifactId>
223 <groupId>com.thinkaurelius.titan</groupId>
224 <artifactId>titan-cassandra</artifactId>
225 <version>1.0.0</version>
228 <groupId>org.slf4j</groupId>
229 <artifactId>slf4j-log4j12</artifactId>
234 <groupId>com.thinkaurelius.titan</groupId>
235 <artifactId>titan-hbase</artifactId>
236 <version>1.0.0</version>
239 <groupId>org.slf4j</groupId>
240 <artifactId>slf4j-log4j12</artifactId>
246 <groupId>org.apache.tinkerpop</groupId>
247 <artifactId>gremlin-driver</artifactId>
248 <version>3.0.1-incubating</version>
251 <groupId>org.apache.hbase</groupId>
252 <artifactId>hbase-client</artifactId>
253 <version>${hbase.version}</version>
256 <groupId>org.slf4j</groupId>
257 <artifactId>slf4j-log4j12</artifactId>
260 <artifactId>log4j</artifactId>
261 <groupId>log4j</groupId>
266 <groupId>org.apache.hbase</groupId>
267 <artifactId>hbase-protocol</artifactId>
268 <version>${hbase.version}</version>
271 <artifactId>log4j</artifactId>
272 <groupId>log4j</groupId>
277 <groupId>org.apache.hbase</groupId>
278 <artifactId>hbase-common</artifactId>
279 <version>${hbase.version}</version>
282 <artifactId>log4j</artifactId>
283 <groupId>log4j</groupId>
288 <groupId>com.sun.jersey</groupId>
289 <artifactId>jersey-json</artifactId>
290 <version>1.18</version>
293 <groupId>jivesoftware</groupId>
294 <artifactId>smack</artifactId>
295 <version>3.0.4</version>
299 <groupId>com.fasterxml.jackson.jaxrs</groupId>
300 <artifactId>jackson-jaxrs-json-provider</artifactId>
301 <version>2.1.4</version>
304 <groupId>com.googlecode.json-simple</groupId>
305 <artifactId>json-simple</artifactId>
306 <version>1.1.1</version>
309 <groupId>com.sun.jersey</groupId>
310 <artifactId>jersey-client</artifactId>
311 <version>1.18</version>
314 <groupId>org.springframework</groupId>
315 <artifactId>spring-web</artifactId>
318 <groupId>org.springframework.ws</groupId>
319 <artifactId>spring-ws</artifactId>
320 <version>1.5.2</version>
321 <!--<version>2.1.3-RELEASE</version> -->
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-core</artifactId>
326 <version>4.2.5.RELEASE</version>
329 <groupId>org.mockito</groupId>
330 <artifactId>mockito-all</artifactId>
331 <version>1.10.19</version>
335 <groupId>org.powermock</groupId>
336 <artifactId>powermock-module-junit4</artifactId>
337 <version>1.6.2</version>
341 <groupId>org.powermock</groupId>
342 <artifactId>powermock-api-mockito</artifactId>
343 <version>1.6.2</version>
347 <groupId>com.beust</groupId>
348 <artifactId>jcommander</artifactId>
349 <version>1.48</version>
352 <groupId>org.json</groupId>
353 <artifactId>json</artifactId>
354 <version>20090211</version>
357 <groupId>org.freemarker</groupId>
358 <artifactId>freemarker</artifactId>
359 <version>2.3.14</version>
362 <groupId>javax.xml.bind</groupId>
363 <artifactId>jaxb-api</artifactId>
364 <version>2.2.11</version>
367 <groupId>com.sun.xml.bind</groupId>
368 <artifactId>jaxb-impl</artifactId>
369 <version>2.2.11</version>
372 <groupId>com.sun.xml.bind</groupId>
373 <artifactId>jaxb-core</artifactId>
374 <version>2.2.11</version>
377 <groupId>com.sun.xml.bind</groupId>
378 <artifactId>jaxb-xjc</artifactId>
379 <version>2.2.11</version>
382 <groupId>org.eclipse.persistence</groupId>
383 <artifactId>eclipselink</artifactId>
384 <version>2.6.2</version>
387 <groupId>org.eclipse.persistence</groupId>
388 <artifactId>org.eclipse.persistence.moxy</artifactId>
389 <version>2.6.2</version>
390 <scope>compile</scope>
393 <groupId>org.powermock</groupId>
394 <artifactId>powermock-module-javaagent</artifactId>
395 <version>1.6.2</version>
399 <groupId>org.powermock</groupId>
400 <artifactId>powermock-module-junit4-rule-agent</artifactId>
401 <version>1.6.2</version>
405 <groupId>com.github.fge</groupId>
406 <artifactId>json-patch</artifactId>
407 <version>1.9</version>
410 <groupId>org.javatuples</groupId>
411 <artifactId>javatuples</artifactId>
412 <version>1.2</version>
413 <scope>compile</scope>
416 <groupId>com.google.code.gson</groupId>
417 <artifactId>gson</artifactId>
418 <version>2.7</version>
421 <groupId>com.att.nsa</groupId>
422 <artifactId>dmaapClient</artifactId>
423 <version>0.2.12</version>
426 <groupId>org.apache.httpcomponents</groupId>
427 <artifactId>httpcore</artifactId>
428 <version>4.4</version>
431 <groupId>com.bazaarvoice.jolt</groupId>
432 <artifactId>jolt-complete</artifactId>
433 <version>0.0.24</version>
437 <finalName>traversal</finalName>
441 <groupId>org.jsonschema2pojo</groupId>
442 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
443 <version>0.4.13</version>
445 <sourceType>jsonschema</sourceType>
446 <sourceDirectory>src/main/resources/json</sourceDirectory>
447 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
448 <annotationStyle>jackson2</annotationStyle>
449 <generateBuilders>true</generateBuilders>
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-dependency-plugin</artifactId>
455 <version>2.8</version>
459 <phase>process-test-classes</phase>
465 <id>unpack-schema-dependency</id>
466 <phase>initialize</phase>
475 <groupId>org.onap.aai.aai-common</groupId>
476 <artifactId>aai-schema</artifactId>
477 <version>${aai-schema.version}</version>
478 <outputDirectory>bundleconfig-local/etc</outputDirectory>
479 <includes>oxm/*.xml</includes>
482 <!-- other configurations here -->
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-surefire-plugin</artifactId>
488 <version>2.12.4</version>
490 <argLine>-noverify ${argLine}</argLine>
491 <systemPropertyVariables>
492 <AJSC_HOME>.</AJSC_HOME>
493 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
494 </systemPropertyVariables>
498 <groupId>org.codehaus.groovy.maven</groupId>
499 <artifactId>gmaven-plugin</artifactId>
502 <phase>validate</phase>
508 println project.properties['aai.project.version'];
510 if (project.properties['aai.project.version'] != null) {
511 versionArray = project.properties['aai.project.version'].split('\\.');
514 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
515 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
517 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
520 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-resources-plugin</artifactId>
529 <version>2.7</version>
532 <id>copy-docker-file</id>
533 <phase>package</phase>
535 <goal>copy-resources</goal>
538 <outputDirectory>${dockerLocation}</outputDirectory>
539 <overwrite>true</overwrite>
542 <directory>${basedir}/src/main/resources/docker</directory>
543 <filtering>true</filtering>
545 <include>**/*</include>
552 <id>copy-commonlibs-file</id>
553 <phase>package</phase>
555 <goal>copy-resources</goal>
558 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
559 <overwrite>true</overwrite>
562 <directory>${basedir}/target/commonLibs</directory>
563 <filtering>false</filtering>
565 <include>*.jar</include>
574 <groupId>io.fabric8</groupId>
575 <artifactId>docker-maven-plugin</artifactId>
576 <version>0.16.5</version>
578 <verbose>true</verbose>
579 <apiVersion>1.23</apiVersion>
582 <name>${docker.push.registry}/openecomp/aai-traversal:%l</name>
586 <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
587 <tag>${aai.docker.version}-STAGING-latest</tag>
589 <cleanup>try</cleanup>
590 <dockerFileDir>${dockerLocation}</dockerFileDir>
591 <dockerFile>${dockerLocation}/Dockerfile</dockerFile>
598 <id>clean-images</id>
599 <phase>pre-clean</phase>
604 <removeAll>true</removeAll>
605 <image>openecomp/aai-traversal:%l</image>
609 <id>generate-images</id>
610 <phase>generate-sources</phase>
617 <phase>deploy</phase>
623 <image>openecomp/aai-traversal:%l</image>
632 <groupId>org.codehaus.mojo</groupId>
633 <artifactId>sonar-maven-plugin</artifactId>
634 <version>3.2</version>
637 <groupId>org.jacoco</groupId>
638 <artifactId>jacoco-maven-plugin</artifactId>
639 <version>0.7.7.201606060606</version>
641 <dumpOnExit>true</dumpOnExit>
645 <id>jacoco-initialize-unit-tests</id>
647 <goal>prepare-agent</goal>
650 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
651 <!-- <append>true</append> -->
657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-deploy-plugin</artifactId>
661 <id>default-deploy</id>
667 <groupId>org.sonatype.plugins</groupId>
668 <artifactId>nexus-staging-maven-plugin</artifactId>
669 <version>1.6.7</version>
670 <extensions>true</extensions>
672 <nexusUrl>${nexusproxy}</nexusUrl>
673 <stagingProfileId>176c31dfe190a</stagingProfileId>
674 <serverId>ecomp-staging</serverId>
680 <!-- Use this profile to run the AJSC locally. This profile can be successfully
681 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
682 available with this profile. -->
684 <id>passwordGenerator</id>
686 <defaultGoal>initialize</defaultGoal>
689 <groupId>org.codehaus.mojo</groupId>
690 <artifactId>exec-maven-plugin</artifactId>
691 <version>1.3.2</version>
694 <phase>initialize</phase>
699 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
701 <argument>user</argument>
702 <argument>aaiDomain2</argument>
708 <executable>java</executable>
719 <groupId>org.apache.maven.plugins</groupId>
720 <artifactId>maven-javadoc-plugin</artifactId>
721 <version>2.10.4</version>
723 <failOnError>false</failOnError>
724 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
726 <groupId>org.umlgraph</groupId>
727 <artifactId>umlgraph</artifactId>
728 <version>5.6</version>
730 <additionalparam>-views</additionalparam>
731 <useStandardDocletOptions>true</useStandardDocletOptions>