2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.openecomp.aai.aai-service</groupId>
7 <artifactId>aai-service</artifactId>
8 <version>1.1.0-SNAPSHOT</version>
10 <artifactId>ajsc-aai</artifactId>
12 <url>http://maven.apache.org</url>
14 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
17 <skipTests>false</skipTests>
18 <!-- sonar properties -->
19 <sonar.language>java</sonar.language>
20 <docker.image.version>1.0.0</docker.image.version>
21 <timestamp>${maven.build.timestamp}</timestamp>
22 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
23 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
24 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
25 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
26 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
27 <sonar.projectVersion>${project.version}</sonar.projectVersion>
30 <!-- AJSC related dependencies -->
32 <groupId>com.att.ajsc</groupId>
33 <artifactId>ajsc-runner</artifactId>
34 <version>${ajscRuntimeVersion}</version>
37 <groupId>com.att.ajsc</groupId>
38 <artifactId>ajsc-core</artifactId>
39 <version>${ajscRuntimeVersion}</version>
40 <scope>provided</scope>
44 <groupId>dom4j</groupId>
45 <artifactId>dom4j</artifactId>
46 <version>1.6.1</version>
50 <groupId>commons-lang</groupId>
51 <artifactId>commons-lang</artifactId>
52 <version>2.6</version>
56 <groupId>com.att.eelf</groupId>
57 <artifactId>eelf-core</artifactId>
58 <version>0.0.1</version>
62 <groupId>com.att.eelf</groupId>
63 <artifactId>eelf-maven-plugin</artifactId>
64 <version>0.0.1</version>
68 <groupId>ch.qos.logback</groupId>
69 <artifactId>logback-core</artifactId>
70 <version>1.1.7</version>
74 <groupId>ch.qos.logback</groupId>
75 <artifactId>logback-classic</artifactId>
76 <version>1.1.7</version>
80 <groupId>ch.qos.logback</groupId>
81 <artifactId>logback-access</artifactId>
82 <version>1.1.7</version>
86 <groupId>org.codehaus.janino</groupId>
87 <artifactId>janino</artifactId>
88 <version>2.7.8</version>
92 <groupId>commons-io</groupId>
93 <artifactId>commons-io</artifactId>
96 <groupId>commons-collections</groupId>
97 <artifactId>commons-collections</artifactId>
100 <groupId>jdk.tools</groupId>
101 <artifactId>jdk.tools</artifactId>
102 <version>1.8.0</version>
103 <scope>system</scope>
104 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
114 <version>16.0</version>
117 <groupId>com.thinkaurelius.titan</groupId>
118 <artifactId>titan-core</artifactId>
119 <version>1.0.0</version>
122 <groupId>org.slf4j</groupId>
123 <artifactId>slf4j-log4j12</artifactId>
128 <groupId>com.thinkaurelius.titan</groupId>
129 <artifactId>titan-hbase</artifactId>
130 <version>1.0.0</version>
133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-log4j12</artifactId>
139 <groupId>org.apache.tinkerpop</groupId>
140 <artifactId>tinkerpop</artifactId>
141 <version>3.1.0-incubating</version>
145 <groupId>org.apache.hbase</groupId>
146 <artifactId>hbase-client</artifactId>
147 <version>1.0.2</version>
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-log4j12</artifactId>
154 <artifactId>log4j</artifactId>
155 <groupId>log4j</groupId>
160 <groupId>org.apache.hbase</groupId>
161 <artifactId>hbase-protocol</artifactId>
162 <version>1.0.2</version>
165 <artifactId>log4j</artifactId>
166 <groupId>log4j</groupId>
171 <groupId>org.apache.hbase</groupId>
172 <artifactId>hbase-common</artifactId>
173 <version>1.0.2</version>
176 <artifactId>log4j</artifactId>
177 <groupId>log4j</groupId>
182 <groupId>com.google.inject.extensions</groupId>
183 <artifactId>guice-servlet</artifactId>
184 <version>3.0</version>
187 <groupId>com.google.inject</groupId>
188 <artifactId>guice</artifactId>
189 <version>3.0</version>
193 <groupId>com.sun.jersey</groupId>
194 <artifactId>jersey-json</artifactId>
195 <version>1.18</version>
198 <groupId>jivesoftware</groupId>
199 <artifactId>smack</artifactId>
200 <version>3.0.4</version>
204 <groupId>com.fasterxml.jackson.jaxrs</groupId>
205 <artifactId>jackson-jaxrs-json-provider</artifactId>
206 <version>2.1.4</version>
209 <groupId>com.googlecode.json-simple</groupId>
210 <artifactId>json-simple</artifactId>
211 <version>1.1.1</version>
214 <groupId>com.sun.jersey</groupId>
215 <artifactId>jersey-client</artifactId>
216 <version>1.18</version>
219 <groupId>org.springframework</groupId>
220 <artifactId>spring-web</artifactId>
221 <version>4.2.5.RELEASE</version>
224 <groupId>org.springframework.ws</groupId>
225 <artifactId>spring-ws</artifactId>
226 <version>1.5.2</version>
227 <!--<version>2.1.3-RELEASE</version> -->
230 <groupId>org.springframework</groupId>
231 <artifactId>spring-core</artifactId>
232 <version>4.2.5.RELEASE</version>
235 <groupId>org.mockito</groupId>
236 <artifactId>mockito-all</artifactId>
237 <version>1.10.19</version>
242 <groupId>org.powermock</groupId>
243 <artifactId>powermock-module-junit4</artifactId>
244 <version>1.6.2</version>
248 <groupId>org.powermock</groupId>
249 <artifactId>powermock-api-mockito</artifactId>
250 <version>1.6.2</version>
254 <groupId>com.beust</groupId>
255 <artifactId>jcommander</artifactId>
256 <version>1.48</version>
259 <groupId>org.json</groupId>
260 <artifactId>json</artifactId>
261 <version>20090211</version>
264 <groupId>org.freemarker</groupId>
265 <artifactId>freemarker</artifactId>
266 <version>2.3.14</version>
269 <groupId>javax.xml.bind</groupId>
270 <artifactId>jaxb-api</artifactId>
271 <version>2.2.11</version>
274 <groupId>com.sun.xml.bind</groupId>
275 <artifactId>jaxb-impl</artifactId>
276 <version>2.2.11</version>
279 <groupId>com.sun.xml.bind</groupId>
280 <artifactId>jaxb-core</artifactId>
281 <version>2.2.11</version>
284 <groupId>com.sun.xml.bind</groupId>
285 <artifactId>jaxb-xjc</artifactId>
286 <version>2.2.11</version>
289 <groupId>org.eclipse.persistence</groupId>
290 <artifactId>eclipselink</artifactId>
291 <version>2.6.2</version>
294 <groupId>org.eclipse.persistence</groupId>
295 <artifactId>org.eclipse.persistence.moxy</artifactId>
296 <version>2.6.2</version>
297 <scope>compile</scope>
300 <groupId>org.powermock</groupId>
301 <artifactId>powermock-module-javaagent</artifactId>
302 <version>1.6.2</version>
306 <groupId>org.powermock</groupId>
307 <artifactId>powermock-module-junit4-rule-agent</artifactId>
308 <version>1.6.2</version>
312 <groupId>com.github.fge</groupId>
313 <artifactId>json-patch</artifactId>
314 <version>1.9</version>
317 <groupId>org.javatuples</groupId>
318 <artifactId>javatuples</artifactId>
319 <version>1.2</version>
320 <scope>compile</scope>
323 <groupId>com.google.code.gson</groupId>
324 <artifactId>gson</artifactId>
325 <version>2.7</version>
328 <groupId>com.att.nsa</groupId>
329 <artifactId>dmaapClient</artifactId>
330 <version>0.2.12</version>
333 <groupId>org.apache.httpcomponents</groupId>
334 <artifactId>httpcore</artifactId>
335 <version>4.4</version>
338 <groupId>org.apache.activemq</groupId>
339 <artifactId>activemq-broker</artifactId>
340 <version>5.12.2</version>
343 <groupId>org.openecomp.aai.aai-service</groupId>
344 <artifactId>aai-schema</artifactId>
345 <version>1.1.0-SNAPSHOT</version>
348 <groupId>org.openecomp.aai.aai-service</groupId>
349 <artifactId>annotations</artifactId>
350 <version>1.1.0-SNAPSHOT</version>
354 <finalName>aai</finalName>
357 <groupId>org.codehaus.mojo</groupId>
358 <artifactId>sonar-maven-plugin</artifactId>
359 <version>3.2</version>
362 <groupId>org.jacoco</groupId>
363 <artifactId>jacoco-maven-plugin</artifactId>
364 <version>0.7.7.201606060606</version>
366 <dumpOnExit>true</dumpOnExit>
370 <id>jacoco-initialize-unit-tests</id>
372 <goal>prepare-agent</goal>
375 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
376 <!-- <append>true</append> -->
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-resources-plugin</artifactId>
384 <version>2.7</version>
387 <id>copy-docker-file</id>
388 <phase>package</phase>
390 <goal>copy-resources</goal>
393 <outputDirectory>${dockerLocation}</outputDirectory>
394 <overwrite>true</overwrite>
397 <directory>${basedir}/src/main/resources/docker</directory>
398 <filtering>true</filtering>
400 <include>**/*</include>
407 <id>copy-commonlibs-file</id>
408 <phase>package</phase>
410 <goal>copy-resources</goal>
413 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
414 <overwrite>true</overwrite>
417 <directory>${basedir}/target/commonLibs</directory>
418 <filtering>false</filtering>
421 <include>*.jar</include>
431 <groupId>com.spotify</groupId>
432 <artifactId>docker-maven-plugin</artifactId>
433 <version>0.4.11</version>
435 <verbose>true</verbose>
437 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
438 <dockerDirectory>${dockerLocation}</dockerDirectory>
439 <serverId>docker-hub</serverId>
441 <imageTag>latest</imageTag>
443 <forceTags>true</forceTags>
447 <groupId>org.jvnet.jaxb2.maven2</groupId>
448 <artifactId>maven-jaxb2-plugin</artifactId>
449 <version>0.13.1</version>
454 <goal>generate</goal>
459 <extension>true</extension>
461 <arg>-Xannotate</arg>
463 <generateDirectory>target/generated-sources</generateDirectory>
464 <schemaDirectory>src/main/aai_schema</schemaDirectory>
465 <bindingDirectory>src/main/xjb</bindingDirectory>
468 <groupId>org.jvnet.jaxb2_commons</groupId>
469 <artifactId>jaxb2-basics-annotate</artifactId>
470 <version>1.0.2</version>
473 <groupId>org.jvnet.jaxb2_commons</groupId>
474 <artifactId>jaxb2-basics</artifactId>
475 <version>1.11.1</version>
478 <groupId>org.jvnet.jaxb2_commons</groupId>
479 <artifactId>jaxb2-basics-runtime</artifactId>
480 <version>1.11.1</version>
483 <groupId>org.jvnet.jaxb2_commons</groupId>
484 <artifactId>jaxb2-basics-tools</artifactId>
485 <version>1.11.1</version>
488 <groupId>org.openecomp.aai.aai-service</groupId>
489 <artifactId>annotations</artifactId>
490 <version>${project.release}</version>
496 <groupId>org.jsonschema2pojo</groupId>
497 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
498 <version>0.4.13</version>
500 <sourceType>jsonschema</sourceType>
501 <sourceDirectory>src/main/resources/json</sourceDirectory>
502 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
503 <annotationStyle>jackson2</annotationStyle>
504 <generateBuilders>true</generateBuilders>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-jar-plugin</artifactId>
510 <version>2.4</version>
513 <id>aai-custom-jar</id>
514 <phase>prepare-package</phase>
520 <include>org/openecomp/aai/util/**/*</include>
522 <finalName>aai-custom</finalName>
526 <id>aai-logging-jar</id>
527 <phase>prepare-package</phase>
533 <include>org/openecomp/aai/logging/**/*</include>
535 <finalName>aai-logging</finalName>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-dependency-plugin</artifactId>
543 <version>2.5.1</version>
547 <phase>process-test-classes</phase>
554 <groupId>org.powermock</groupId>
555 <artifactId>powermock-module-javaagent</artifactId>
556 <version>1.6.2</version>
557 <outputDirectory>${project.build.directory}/agents</outputDirectory>
558 <destFileName>powermock-javaagent.jar</destFileName>
566 <groupId>org.apache.maven.plugins</groupId>
567 <artifactId>maven-dependency-plugin</artifactId>
570 <id>unpack-schema-dependency</id>
571 <phase>initialize</phase>
580 <groupId>org.openecomp.aai.aai-service</groupId>
581 <artifactId>aai-schema</artifactId>
582 <version>1.1.0-SNAPSHOT</version>
583 <outputDirectory>bundleconfig-local/etc</outputDirectory>
584 <includes>oxm/*.xml</includes>
587 <groupId>org.openecomp.aai.aai-service</groupId>
588 <artifactId>aai-schema</artifactId>
589 <version>1.1.0-SNAPSHOT</version>
590 <outputDirectory>src/main</outputDirectory>
591 <includes>aai_schema/*.xsd</includes>
594 <!-- other configurations here -->
598 <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-surefire-plugin</artifactId>
600 <version>2.19.1</version>
602 <skipTests>${skipTests}</skipTests>
603 <reuseForks>false</reuseForks>
604 <threadCount>1</threadCount>
605 <argLine>-noverify ${argLine}</argLine>
606 <systemPropertyVariables>
607 <AJSC_HOME>.</AJSC_HOME>
608 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
609 </systemPropertyVariables>
613 <groupId>org.apache.maven.plugins</groupId>
614 <artifactId>maven-deploy-plugin</artifactId>
617 <id>default-deploy</id>
625 <!-- Use this profile to run the AJSC locally. This profile can be successfully
626 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
627 available with this profile. -->
629 <id>passwordGenerator</id>
631 <defaultGoal>initialize</defaultGoal>
634 <groupId>org.codehaus.mojo</groupId>
635 <artifactId>exec-maven-plugin</artifactId>
636 <version>1.3.2</version>
639 <phase>initialize</phase>
644 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
646 <argument>user</argument>
647 <argument>changeit</argument>
653 <executable>java</executable>