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>junit</groupId>
177 <artifactId>junit</artifactId>
181 <groupId>com.google.guava</groupId>
182 <artifactId>guava</artifactId>
183 <version>16.0</version>
186 <groupId>com.thinkaurelius.titan</groupId>
187 <artifactId>titan-core</artifactId>
188 <version>1.0.0</version>
191 <groupId>org.slf4j</groupId>
192 <artifactId>slf4j-log4j12</artifactId>
197 <groupId>com.thinkaurelius.titan</groupId>
198 <artifactId>titan-cassandra</artifactId>
199 <version>1.0.0</version>
202 <groupId>org.slf4j</groupId>
203 <artifactId>slf4j-log4j12</artifactId>
208 <groupId>com.thinkaurelius.titan</groupId>
209 <artifactId>titan-hbase</artifactId>
210 <version>1.0.0</version>
213 <groupId>org.slf4j</groupId>
214 <artifactId>slf4j-log4j12</artifactId>
220 <groupId>org.apache.tinkerpop</groupId>
221 <artifactId>gremlin-driver</artifactId>
222 <version>3.0.1-incubating</version>
225 <groupId>org.apache.hbase</groupId>
226 <artifactId>hbase-client</artifactId>
227 <version>${hbase.version}</version>
230 <groupId>org.slf4j</groupId>
231 <artifactId>slf4j-log4j12</artifactId>
234 <artifactId>log4j</artifactId>
235 <groupId>log4j</groupId>
240 <groupId>org.apache.hbase</groupId>
241 <artifactId>hbase-protocol</artifactId>
242 <version>${hbase.version}</version>
245 <artifactId>log4j</artifactId>
246 <groupId>log4j</groupId>
251 <groupId>org.apache.hbase</groupId>
252 <artifactId>hbase-common</artifactId>
253 <version>${hbase.version}</version>
256 <artifactId>log4j</artifactId>
257 <groupId>log4j</groupId>
262 <groupId>com.sun.jersey</groupId>
263 <artifactId>jersey-json</artifactId>
264 <version>1.18</version>
267 <groupId>jivesoftware</groupId>
268 <artifactId>smack</artifactId>
269 <version>3.0.4</version>
273 <groupId>com.fasterxml.jackson.jaxrs</groupId>
274 <artifactId>jackson-jaxrs-json-provider</artifactId>
275 <version>2.1.4</version>
278 <groupId>com.googlecode.json-simple</groupId>
279 <artifactId>json-simple</artifactId>
280 <version>1.1.1</version>
283 <groupId>com.sun.jersey</groupId>
284 <artifactId>jersey-client</artifactId>
285 <version>1.18</version>
288 <groupId>org.springframework</groupId>
289 <artifactId>spring-web</artifactId>
292 <groupId>org.springframework.ws</groupId>
293 <artifactId>spring-ws</artifactId>
294 <version>1.5.2</version>
295 <!--<version>2.1.3-RELEASE</version> -->
298 <groupId>org.springframework</groupId>
299 <artifactId>spring-core</artifactId>
300 <version>4.2.5.RELEASE</version>
303 <groupId>org.mockito</groupId>
304 <artifactId>mockito-all</artifactId>
305 <version>1.10.19</version>
309 <groupId>org.powermock</groupId>
310 <artifactId>powermock-module-junit4</artifactId>
311 <version>1.6.2</version>
315 <groupId>org.powermock</groupId>
316 <artifactId>powermock-api-mockito</artifactId>
317 <version>1.6.2</version>
321 <groupId>com.beust</groupId>
322 <artifactId>jcommander</artifactId>
323 <version>1.48</version>
326 <groupId>org.json</groupId>
327 <artifactId>json</artifactId>
328 <version>20090211</version>
331 <groupId>org.freemarker</groupId>
332 <artifactId>freemarker</artifactId>
333 <version>2.3.14</version>
336 <groupId>javax.xml.bind</groupId>
337 <artifactId>jaxb-api</artifactId>
338 <version>2.2.11</version>
341 <groupId>com.sun.xml.bind</groupId>
342 <artifactId>jaxb-impl</artifactId>
343 <version>2.2.11</version>
346 <groupId>com.sun.xml.bind</groupId>
347 <artifactId>jaxb-core</artifactId>
348 <version>2.2.11</version>
351 <groupId>com.sun.xml.bind</groupId>
352 <artifactId>jaxb-xjc</artifactId>
353 <version>2.2.11</version>
356 <groupId>org.eclipse.persistence</groupId>
357 <artifactId>eclipselink</artifactId>
358 <version>2.6.2</version>
361 <groupId>org.eclipse.persistence</groupId>
362 <artifactId>org.eclipse.persistence.moxy</artifactId>
363 <version>2.6.2</version>
364 <scope>compile</scope>
367 <groupId>org.powermock</groupId>
368 <artifactId>powermock-module-javaagent</artifactId>
369 <version>1.6.2</version>
373 <groupId>org.powermock</groupId>
374 <artifactId>powermock-module-junit4-rule-agent</artifactId>
375 <version>1.6.2</version>
379 <groupId>com.github.fge</groupId>
380 <artifactId>json-patch</artifactId>
381 <version>1.9</version>
384 <groupId>org.javatuples</groupId>
385 <artifactId>javatuples</artifactId>
386 <version>1.2</version>
387 <scope>compile</scope>
390 <groupId>com.google.code.gson</groupId>
391 <artifactId>gson</artifactId>
392 <version>2.7</version>
395 <groupId>com.att.nsa</groupId>
396 <artifactId>dmaapClient</artifactId>
397 <version>0.2.12</version>
400 <groupId>org.apache.httpcomponents</groupId>
401 <artifactId>httpcore</artifactId>
402 <version>4.4</version>
405 <groupId>com.bazaarvoice.jolt</groupId>
406 <artifactId>jolt-complete</artifactId>
407 <version>0.0.24</version>
411 <finalName>traversal</finalName>
415 <groupId>org.jsonschema2pojo</groupId>
416 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
417 <version>0.4.13</version>
419 <sourceType>jsonschema</sourceType>
420 <sourceDirectory>src/main/resources/json</sourceDirectory>
421 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
422 <annotationStyle>jackson2</annotationStyle>
423 <generateBuilders>true</generateBuilders>
427 <groupId>org.apache.maven.plugins</groupId>
428 <artifactId>maven-dependency-plugin</artifactId>
429 <version>2.8</version>
433 <phase>process-test-classes</phase>
439 <id>unpack-schema-dependency</id>
440 <phase>initialize</phase>
449 <groupId>org.onap.aai.aai-common</groupId>
450 <artifactId>aai-schema</artifactId>
451 <version>${project.version}</version>
452 <outputDirectory>bundleconfig-local/etc</outputDirectory>
453 <includes>oxm/*.xml</includes>
456 <!-- other configurations here -->
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-surefire-plugin</artifactId>
462 <version>2.12.4</version>
464 <argLine>-noverify ${argLine}</argLine>
465 <systemPropertyVariables>
466 <AJSC_HOME>.</AJSC_HOME>
467 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
468 </systemPropertyVariables>
472 <groupId>org.codehaus.groovy.maven</groupId>
473 <artifactId>gmaven-plugin</artifactId>
476 <phase>validate</phase>
482 println project.properties['aai.project.version'];
484 if (project.properties['aai.project.version'] != null) {
485 versionArray = project.properties['aai.project.version'].split('\\.');
488 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
489 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
491 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
494 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-resources-plugin</artifactId>
503 <version>2.7</version>
506 <id>copy-docker-file</id>
507 <phase>package</phase>
509 <goal>copy-resources</goal>
512 <outputDirectory>${dockerLocation}</outputDirectory>
513 <overwrite>true</overwrite>
516 <directory>${basedir}/src/main/resources/docker</directory>
517 <filtering>true</filtering>
519 <include>**/*</include>
526 <id>copy-commonlibs-file</id>
527 <phase>package</phase>
529 <goal>copy-resources</goal>
532 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
533 <overwrite>true</overwrite>
536 <directory>${basedir}/target/commonLibs</directory>
537 <filtering>false</filtering>
539 <include>*.jar</include>
548 <groupId>io.fabric8</groupId>
549 <artifactId>docker-maven-plugin</artifactId>
550 <version>0.16.5</version>
552 <verbose>true</verbose>
553 <apiVersion>1.23</apiVersion>
556 <name>${docker.push.registry}/onap/aai-traversal:%l</name>
560 <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
561 <tag>${aai.docker.version}-STAGING-latest</tag>
563 <cleanup>try</cleanup>
564 <dockerFileDir>${dockerLocation}</dockerFileDir>
565 <dockerFile>${dockerLocation}/Dockerfile</dockerFile>
572 <id>clean-images</id>
573 <phase>pre-clean</phase>
578 <removeAll>true</removeAll>
579 <image>onap/aai-traversal:%l</image>
583 <id>generate-images</id>
584 <phase>generate-sources</phase>
591 <phase>deploy</phase>
597 <image>onap/aai-traversal:%l</image>
606 <groupId>org.codehaus.mojo</groupId>
607 <artifactId>sonar-maven-plugin</artifactId>
608 <version>3.2</version>
611 <groupId>org.jacoco</groupId>
612 <artifactId>jacoco-maven-plugin</artifactId>
613 <version>0.7.7.201606060606</version>
615 <dumpOnExit>true</dumpOnExit>
619 <id>jacoco-initialize-unit-tests</id>
621 <goal>prepare-agent</goal>
624 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
625 <!-- <append>true</append> -->
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-deploy-plugin</artifactId>
635 <id>default-deploy</id>
641 <groupId>org.sonatype.plugins</groupId>
642 <artifactId>nexus-staging-maven-plugin</artifactId>
643 <version>1.6.7</version>
644 <extensions>true</extensions>
646 <nexusUrl>${nexusproxy}</nexusUrl>
647 <stagingProfileId>176c31dfe190a</stagingProfileId>
648 <serverId>ecomp-staging</serverId>
654 <!-- Use this profile to run the AJSC locally. This profile can be successfully
655 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
656 available with this profile. -->
658 <id>passwordGenerator</id>
660 <defaultGoal>initialize</defaultGoal>
663 <groupId>org.codehaus.mojo</groupId>
664 <artifactId>exec-maven-plugin</artifactId>
665 <version>1.3.2</version>
668 <phase>initialize</phase>
673 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
675 <argument>user</argument>
676 <argument>aaiDomain2</argument>
682 <executable>java</executable>
693 <groupId>org.apache.maven.plugins</groupId>
694 <artifactId>maven-javadoc-plugin</artifactId>
695 <version>2.10.4</version>
697 <failOnError>false</failOnError>
698 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
700 <groupId>org.umlgraph</groupId>
701 <artifactId>umlgraph</artifactId>
702 <version>5.6</version>
704 <additionalparam>-views</additionalparam>
705 <useStandardDocletOptions>true</useStandardDocletOptions>