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 <!-- old version <hbase.version>0.98.4-hadoop2</hbase.version> -->
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
21 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
22 <docker.image.version>1.0.0</docker.image.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>
30 <!-- Antlr-related properties to auto-gen visitor and listener -->
31 <antlr4.visitor>true</antlr4.visitor>
32 <antlr4.listener>true</antlr4.listener>
36 <groupId>org.onap.aai.aai-common</groupId>
37 <artifactId>aai-schema</artifactId>
38 <version>${aai.schema.version}</version>
41 <groupId>org.onap.aai.aai-common</groupId>
42 <artifactId>aai-core</artifactId>
43 <version>${aai.core.version}</version>
45 <!-- Scamper related dependencies -->
47 <groupId>com.rabbitmq</groupId>
48 <artifactId>amqp-client</artifactId>
49 <version>3.6.1</version>
52 <groupId>log4j</groupId>
53 <artifactId>apache-log4j-extras</artifactId>
54 <version>1.2.17</version>
57 <artifactId>log4j</artifactId>
58 <groupId>log4j</groupId>
64 <groupId>commons-beanutils</groupId>
65 <artifactId>commons-beanutils</artifactId>
66 <version>1.9.2</version>
70 <groupId>org.apache.commons</groupId>
71 <artifactId>commons-compress</artifactId>
72 <version>1.10</version>
76 <groupId>commons-configuration</groupId>
77 <artifactId>commons-configuration</artifactId>
78 <version>1.9</version>
81 <artifactId>commons-lang</artifactId>
82 <groupId>commons-lang</groupId>
88 <groupId>org.codehaus.jackson</groupId>
89 <artifactId>jackson-core-asl</artifactId>
90 <version>1.9.13</version>
94 <groupId>org.codehaus.jackson</groupId>
95 <artifactId>jackson-mapper-asl</artifactId>
96 <version>1.9.13</version>
100 <groupId>org.apache.httpcomponents</groupId>
101 <artifactId>httpmime</artifactId>
102 <version>4.5.2</version>
105 <!-- AJSC related dependencies -->
107 <groupId>com.att.ajsc</groupId>
108 <artifactId>ajsc-runner</artifactId>
109 <version>${ajscRuntimeVersion}</version>
112 <groupId>com.att.ajsc</groupId>
113 <artifactId>ajsc-core</artifactId>
114 <version>${ajscRuntimeVersion}</version>
115 <scope>provided</scope>
118 <!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided"
119 scope. In CSI env, this jar MUST be included within service project's swm
122 <groupId>dom4j</groupId>
123 <artifactId>dom4j</artifactId>
124 <version>1.6.1</version>
128 <groupId>commons-lang</groupId>
129 <artifactId>commons-lang</artifactId>
130 <version>2.6</version>
133 <!-- eelf dependency -->
135 <groupId>com.att.eelf</groupId>
136 <artifactId>eelf-core</artifactId>
137 <version>1.0.0</version>
141 <groupId>ch.qos.logback</groupId>
142 <artifactId>logback-core</artifactId>
143 <version>1.1.7</version>
147 <groupId>ch.qos.logback</groupId>
148 <artifactId>logback-classic</artifactId>
149 <version>1.1.7</version>
153 <groupId>ch.qos.logback</groupId>
154 <artifactId>logback-access</artifactId>
155 <version>1.1.7</version>
159 <groupId>org.hamcrest</groupId>
160 <artifactId>hamcrest-junit</artifactId>
161 <version>2.0.0.0</version>
164 <groupId>org.codehaus.janino</groupId>
165 <artifactId>janino</artifactId>
166 <version>2.7.8</version>
169 <groupId>commons-collections</groupId>
170 <artifactId>commons-collections</artifactId>
174 <groupId>junit</groupId>
175 <artifactId>junit</artifactId>
179 <groupId>com.google.guava</groupId>
180 <artifactId>guava</artifactId>
181 <version>16.0</version>
184 <groupId>com.thinkaurelius.titan</groupId>
185 <artifactId>titan-core</artifactId>
186 <version>1.0.0</version>
189 <groupId>org.slf4j</groupId>
190 <artifactId>slf4j-log4j12</artifactId>
195 <groupId>com.thinkaurelius.titan</groupId>
196 <artifactId>titan-cassandra</artifactId>
197 <version>1.0.0</version>
200 <groupId>org.slf4j</groupId>
201 <artifactId>slf4j-log4j12</artifactId>
206 <groupId>com.thinkaurelius.titan</groupId>
207 <artifactId>titan-hbase</artifactId>
208 <version>1.0.0</version>
211 <groupId>org.slf4j</groupId>
212 <artifactId>slf4j-log4j12</artifactId>
218 <groupId>org.apache.tinkerpop</groupId>
219 <artifactId>gremlin-driver</artifactId>
220 <version>3.0.1-incubating</version>
223 <groupId>org.apache.hbase</groupId>
224 <artifactId>hbase-client</artifactId>
225 <version>${hbase.version}</version>
228 <groupId>org.slf4j</groupId>
229 <artifactId>slf4j-log4j12</artifactId>
232 <artifactId>log4j</artifactId>
233 <groupId>log4j</groupId>
238 <groupId>org.apache.hbase</groupId>
239 <artifactId>hbase-protocol</artifactId>
240 <version>${hbase.version}</version>
243 <artifactId>log4j</artifactId>
244 <groupId>log4j</groupId>
249 <groupId>org.apache.hbase</groupId>
250 <artifactId>hbase-common</artifactId>
251 <version>${hbase.version}</version>
254 <artifactId>log4j</artifactId>
255 <groupId>log4j</groupId>
260 <groupId>com.sun.jersey</groupId>
261 <artifactId>jersey-json</artifactId>
262 <version>1.18</version>
265 <groupId>jivesoftware</groupId>
266 <artifactId>smack</artifactId>
267 <version>3.0.4</version>
271 <groupId>com.fasterxml.jackson.jaxrs</groupId>
272 <artifactId>jackson-jaxrs-json-provider</artifactId>
273 <version>2.1.4</version>
276 <groupId>com.googlecode.json-simple</groupId>
277 <artifactId>json-simple</artifactId>
278 <version>1.1.1</version>
281 <groupId>com.sun.jersey</groupId>
282 <artifactId>jersey-client</artifactId>
283 <version>1.18</version>
286 <groupId>org.springframework</groupId>
287 <artifactId>spring-web</artifactId>
290 <groupId>org.springframework.ws</groupId>
291 <artifactId>spring-ws</artifactId>
292 <version>1.5.2</version>
293 <!--<version>2.1.3-RELEASE</version> -->
296 <groupId>org.springframework</groupId>
297 <artifactId>spring-core</artifactId>
298 <version>4.2.5.RELEASE</version>
301 <groupId>org.mockito</groupId>
302 <artifactId>mockito-all</artifactId>
303 <version>1.10.19</version>
307 <groupId>org.powermock</groupId>
308 <artifactId>powermock-module-junit4</artifactId>
309 <version>1.6.2</version>
313 <groupId>org.powermock</groupId>
314 <artifactId>powermock-api-mockito</artifactId>
315 <version>1.6.2</version>
319 <groupId>com.beust</groupId>
320 <artifactId>jcommander</artifactId>
321 <version>1.48</version>
324 <groupId>org.json</groupId>
325 <artifactId>json</artifactId>
326 <version>20090211</version>
329 <groupId>org.freemarker</groupId>
330 <artifactId>freemarker</artifactId>
331 <version>2.3.14</version>
334 <groupId>javax.xml.bind</groupId>
335 <artifactId>jaxb-api</artifactId>
336 <version>2.2.11</version>
339 <groupId>com.sun.xml.bind</groupId>
340 <artifactId>jaxb-impl</artifactId>
341 <version>2.2.11</version>
344 <groupId>com.sun.xml.bind</groupId>
345 <artifactId>jaxb-core</artifactId>
346 <version>2.2.11</version>
349 <groupId>com.sun.xml.bind</groupId>
350 <artifactId>jaxb-xjc</artifactId>
351 <version>2.2.11</version>
354 <groupId>org.eclipse.persistence</groupId>
355 <artifactId>eclipselink</artifactId>
356 <version>2.6.2</version>
359 <groupId>org.eclipse.persistence</groupId>
360 <artifactId>org.eclipse.persistence.moxy</artifactId>
361 <version>2.6.2</version>
362 <scope>compile</scope>
365 <groupId>org.powermock</groupId>
366 <artifactId>powermock-module-javaagent</artifactId>
367 <version>1.6.2</version>
371 <groupId>org.powermock</groupId>
372 <artifactId>powermock-module-junit4-rule-agent</artifactId>
373 <version>1.6.2</version>
377 <groupId>com.github.fge</groupId>
378 <artifactId>json-patch</artifactId>
379 <version>1.9</version>
382 <groupId>org.javatuples</groupId>
383 <artifactId>javatuples</artifactId>
384 <version>1.2</version>
385 <scope>compile</scope>
388 <groupId>com.google.code.gson</groupId>
389 <artifactId>gson</artifactId>
390 <version>2.7</version>
393 <groupId>com.att.nsa</groupId>
394 <artifactId>dmaapClient</artifactId>
395 <version>0.2.12</version>
398 <groupId>org.apache.httpcomponents</groupId>
399 <artifactId>httpcore</artifactId>
400 <version>4.4</version>
403 <groupId>com.bazaarvoice.jolt</groupId>
404 <artifactId>jolt-complete</artifactId>
405 <version>0.0.24</version>
408 <groupId>org.antlr</groupId>
409 <artifactId>antlr4-runtime</artifactId>
410 <version>4.7</version>
413 <groupId>org.antlr</groupId>
414 <artifactId>antlr4-maven-plugin</artifactId>
415 <version>4.7</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>${aai.core.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>
660 <groupId>org.antlr</groupId>
661 <artifactId>antlr4-maven-plugin</artifactId>
662 <version>4.7</version>
669 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
670 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
678 <!-- Use this profile to run the AJSC locally. This profile can be successfully
679 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
680 available with this profile. -->
682 <id>passwordGenerator</id>
684 <defaultGoal>initialize</defaultGoal>
687 <groupId>org.codehaus.mojo</groupId>
688 <artifactId>exec-maven-plugin</artifactId>
689 <version>1.3.2</version>
692 <phase>initialize</phase>
697 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
699 <argument>user</argument>
700 <argument>aaiDomain2</argument>
706 <executable>java</executable>
717 <groupId>org.apache.maven.plugins</groupId>
718 <artifactId>maven-javadoc-plugin</artifactId>
719 <version>2.10.4</version>
721 <failOnError>false</failOnError>
722 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
724 <groupId>org.umlgraph</groupId>
725 <artifactId>umlgraph</artifactId>
726 <version>5.6</version>
728 <additionalparam>-views</additionalparam>
729 <useStandardDocletOptions>true</useStandardDocletOptions>