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.0.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.jacoco.reportPath>${basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
20 <sonar.language>java</sonar.language>
21 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
22 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
23 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
26 <!-- AJSC related dependencies -->
28 <groupId>com.att.ajsc</groupId>
29 <artifactId>ajsc-runner</artifactId>
30 <version>${ajscRuntimeVersion}</version>
33 <groupId>com.att.ajsc</groupId>
34 <artifactId>ajsc-core</artifactId>
35 <version>${ajscRuntimeVersion}</version>
36 <scope>provided</scope>
40 <groupId>dom4j</groupId>
41 <artifactId>dom4j</artifactId>
42 <version>1.6.1</version>
46 <groupId>commons-lang</groupId>
47 <artifactId>commons-lang</artifactId>
48 <version>2.6</version>
52 <groupId>com.att.eelf</groupId>
53 <artifactId>eelf-core</artifactId>
54 <version>0.0.1</version>
58 <groupId>com.att.eelf</groupId>
59 <artifactId>eelf-maven-plugin</artifactId>
60 <version>0.0.1</version>
64 <groupId>ch.qos.logback</groupId>
65 <artifactId>logback-core</artifactId>
66 <version>1.1.7</version>
70 <groupId>ch.qos.logback</groupId>
71 <artifactId>logback-classic</artifactId>
72 <version>1.1.7</version>
76 <groupId>ch.qos.logback</groupId>
77 <artifactId>logback-access</artifactId>
78 <version>1.1.7</version>
82 <groupId>org.codehaus.janino</groupId>
83 <artifactId>janino</artifactId>
84 <version>2.7.8</version>
88 <groupId>commons-io</groupId>
89 <artifactId>commons-io</artifactId>
92 <groupId>commons-collections</groupId>
93 <artifactId>commons-collections</artifactId>
96 <groupId>jdk.tools</groupId>
97 <artifactId>jdk.tools</artifactId>
98 <version>1.8.0</version>
100 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
103 <groupId>junit</groupId>
104 <artifactId>junit</artifactId>
108 <groupId>com.google.guava</groupId>
109 <artifactId>guava</artifactId>
110 <version>16.0</version>
113 <groupId>com.thinkaurelius.titan</groupId>
114 <artifactId>titan-core</artifactId>
115 <version>1.0.0</version>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-log4j12</artifactId>
124 <groupId>com.thinkaurelius.titan</groupId>
125 <artifactId>titan-hbase</artifactId>
126 <version>1.0.0</version>
129 <groupId>org.slf4j</groupId>
130 <artifactId>slf4j-log4j12</artifactId>
135 <groupId>org.apache.tinkerpop</groupId>
136 <artifactId>tinkerpop</artifactId>
137 <version>3.1.0-incubating</version>
141 <groupId>org.apache.hbase</groupId>
142 <artifactId>hbase-client</artifactId>
143 <version>1.0.2</version>
146 <groupId>org.slf4j</groupId>
147 <artifactId>slf4j-log4j12</artifactId>
150 <artifactId>log4j</artifactId>
151 <groupId>log4j</groupId>
156 <groupId>org.apache.hbase</groupId>
157 <artifactId>hbase-protocol</artifactId>
158 <version>1.0.2</version>
161 <artifactId>log4j</artifactId>
162 <groupId>log4j</groupId>
167 <groupId>org.apache.hbase</groupId>
168 <artifactId>hbase-common</artifactId>
169 <version>1.0.2</version>
172 <artifactId>log4j</artifactId>
173 <groupId>log4j</groupId>
178 <groupId>com.google.inject.extensions</groupId>
179 <artifactId>guice-servlet</artifactId>
180 <version>3.0</version>
183 <groupId>com.google.inject</groupId>
184 <artifactId>guice</artifactId>
185 <version>3.0</version>
189 <groupId>com.sun.jersey</groupId>
190 <artifactId>jersey-json</artifactId>
191 <version>1.18</version>
194 <groupId>jivesoftware</groupId>
195 <artifactId>smack</artifactId>
196 <version>3.0.4</version>
200 <groupId>com.fasterxml.jackson.jaxrs</groupId>
201 <artifactId>jackson-jaxrs-json-provider</artifactId>
202 <version>2.1.4</version>
205 <groupId>com.googlecode.json-simple</groupId>
206 <artifactId>json-simple</artifactId>
207 <version>1.1.1</version>
210 <groupId>com.sun.jersey</groupId>
211 <artifactId>jersey-client</artifactId>
212 <version>1.18</version>
215 <groupId>org.springframework</groupId>
216 <artifactId>spring-web</artifactId>
217 <version>4.2.5.RELEASE</version>
220 <groupId>org.springframework.ws</groupId>
221 <artifactId>spring-ws</artifactId>
222 <version>1.5.2</version>
223 <!--<version>2.1.3-RELEASE</version> -->
226 <groupId>org.springframework</groupId>
227 <artifactId>spring-core</artifactId>
228 <version>4.2.5.RELEASE</version>
231 <groupId>org.mockito</groupId>
232 <artifactId>mockito-all</artifactId>
233 <version>1.10.19</version>
238 <groupId>org.powermock</groupId>
239 <artifactId>powermock-module-junit4</artifactId>
240 <version>1.6.2</version>
244 <groupId>org.powermock</groupId>
245 <artifactId>powermock-api-mockito</artifactId>
246 <version>1.6.2</version>
250 <groupId>com.beust</groupId>
251 <artifactId>jcommander</artifactId>
252 <version>1.48</version>
255 <groupId>org.json</groupId>
256 <artifactId>json</artifactId>
257 <version>20090211</version>
260 <groupId>org.freemarker</groupId>
261 <artifactId>freemarker</artifactId>
262 <version>2.3.14</version>
265 <groupId>javax.xml.bind</groupId>
266 <artifactId>jaxb-api</artifactId>
267 <version>2.2.11</version>
270 <groupId>com.sun.xml.bind</groupId>
271 <artifactId>jaxb-impl</artifactId>
272 <version>2.2.11</version>
275 <groupId>com.sun.xml.bind</groupId>
276 <artifactId>jaxb-core</artifactId>
277 <version>2.2.11</version>
280 <groupId>com.sun.xml.bind</groupId>
281 <artifactId>jaxb-xjc</artifactId>
282 <version>2.2.11</version>
285 <groupId>org.eclipse.persistence</groupId>
286 <artifactId>eclipselink</artifactId>
287 <version>2.6.2</version>
290 <groupId>org.eclipse.persistence</groupId>
291 <artifactId>org.eclipse.persistence.moxy</artifactId>
292 <version>2.6.2</version>
293 <scope>compile</scope>
296 <groupId>org.powermock</groupId>
297 <artifactId>powermock-module-javaagent</artifactId>
298 <version>1.6.2</version>
302 <groupId>org.powermock</groupId>
303 <artifactId>powermock-module-junit4-rule-agent</artifactId>
304 <version>1.6.2</version>
308 <groupId>com.github.fge</groupId>
309 <artifactId>json-patch</artifactId>
310 <version>1.9</version>
313 <groupId>org.javatuples</groupId>
314 <artifactId>javatuples</artifactId>
315 <version>1.2</version>
316 <scope>compile</scope>
319 <groupId>com.google.code.gson</groupId>
320 <artifactId>gson</artifactId>
321 <version>2.7</version>
324 <groupId>com.att.nsa</groupId>
325 <artifactId>dmaapClient</artifactId>
326 <version>0.2.12</version>
329 <groupId>org.apache.httpcomponents</groupId>
330 <artifactId>httpcore</artifactId>
331 <version>4.4</version>
334 <groupId>org.apache.activemq</groupId>
335 <artifactId>activemq-broker</artifactId>
336 <version>5.12.2</version>
339 <groupId>org.openecomp.aai.aai-service</groupId>
340 <artifactId>aai-schema</artifactId>
341 <version>1.0.0-SNAPSHOT</version>
344 <groupId>org.openecomp.aai.aai-service</groupId>
345 <artifactId>annotations</artifactId>
346 <version>1.0.0-SNAPSHOT</version>
350 <finalName>aai</finalName>
354 <groupId>org.sonarsource.scanner.maven</groupId>
355 <artifactId>sonar-maven-plugin</artifactId>
356 <version>3.0.2</version>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-resources-plugin</artifactId>
364 <version>2.7</version>
367 <id>copy-docker-file</id>
368 <phase>package</phase>
370 <goal>copy-resources</goal>
373 <outputDirectory>${dockerLocation}</outputDirectory>
374 <overwrite>true</overwrite>
377 <directory>${basedir}/src/main/resources/docker</directory>
378 <filtering>true</filtering>
380 <include>**/*</include>
387 <id>copy-commonlibs-file</id>
388 <phase>package</phase>
390 <goal>copy-resources</goal>
393 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
394 <overwrite>true</overwrite>
397 <directory>${basedir}/target/commonLibs</directory>
398 <filtering>false</filtering>
401 <include>*.jar</include>
411 <groupId>com.spotify</groupId>
412 <artifactId>docker-maven-plugin</artifactId>
413 <version>0.4.11</version>
415 <verbose>true</verbose>
417 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
418 <dockerDirectory>${dockerLocation}</dockerDirectory>
419 <serverId>docker-hub</serverId>
421 <imageTag>${docker_imageversion}</imageTag>
422 <imageTag>latest</imageTag>
424 <forceTags>true</forceTags>
428 <groupId>org.jacoco</groupId>
429 <artifactId>jacoco-maven-plugin</artifactId>
430 <version>0.7.7.201606060606</version>
432 <dumpOnExit>true</dumpOnExit>
434 <include>org.openecomp.*</include>
440 <destFile>${sonar.jacoco.reportPath}</destFile>
443 <phase>process-test-classes</phase>
445 <goal>prepare-agent</goal>
448 <!-- we want to execute jacoco:prepare-agent-integration in test phase,
449 but before executing maven failsafe plugin -->
453 <groupId>org.jvnet.jaxb2.maven2</groupId>
454 <artifactId>maven-jaxb2-plugin</artifactId>
455 <version>0.13.1</version>
460 <goal>generate</goal>
465 <extension>true</extension>
467 <arg>-Xannotate</arg>
469 <generateDirectory>target/generated-sources</generateDirectory>
470 <schemaDirectory>src/main/aai_schema</schemaDirectory>
471 <bindingDirectory>src/main/xjb</bindingDirectory>
474 <groupId>org.jvnet.jaxb2_commons</groupId>
475 <artifactId>jaxb2-basics-annotate</artifactId>
476 <version>1.0.2</version>
479 <groupId>org.jvnet.jaxb2_commons</groupId>
480 <artifactId>jaxb2-basics</artifactId>
481 <version>1.11.1</version>
484 <groupId>org.jvnet.jaxb2_commons</groupId>
485 <artifactId>jaxb2-basics-runtime</artifactId>
486 <version>1.11.1</version>
489 <groupId>org.jvnet.jaxb2_commons</groupId>
490 <artifactId>jaxb2-basics-tools</artifactId>
491 <version>1.11.1</version>
494 <groupId>org.openecomp.aai.aai-service</groupId>
495 <artifactId>annotations</artifactId>
496 <version>${project.release}</version>
502 <groupId>org.jsonschema2pojo</groupId>
503 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
504 <version>0.4.13</version>
506 <sourceType>jsonschema</sourceType>
507 <sourceDirectory>src/main/resources/json</sourceDirectory>
508 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
509 <annotationStyle>jackson2</annotationStyle>
510 <generateBuilders>true</generateBuilders>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-jar-plugin</artifactId>
516 <version>2.4</version>
519 <id>aai-custom-jar</id>
520 <phase>prepare-package</phase>
526 <include>org/openecomp/aai/util/**/*</include>
528 <finalName>aai-custom</finalName>
532 <id>aai-logging-jar</id>
533 <phase>prepare-package</phase>
539 <include>org/openecomp/aai/logging/**/*</include>
541 <finalName>aai-logging</finalName>
547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-dependency-plugin</artifactId>
549 <version>2.5.1</version>
553 <phase>process-test-classes</phase>
560 <groupId>org.powermock</groupId>
561 <artifactId>powermock-module-javaagent</artifactId>
562 <version>1.6.2</version>
563 <outputDirectory>${project.build.directory}/agents</outputDirectory>
564 <destFileName>powermock-javaagent.jar</destFileName>
572 <groupId>org.apache.maven.plugins</groupId>
573 <artifactId>maven-dependency-plugin</artifactId>
576 <id>unpack-schema-dependency</id>
577 <phase>initialize</phase>
586 <groupId>org.openecomp.aai.aai-service</groupId>
587 <artifactId>aai-schema</artifactId>
588 <version>1.0.0-SNAPSHOT</version>
589 <outputDirectory>bundleconfig-local/etc</outputDirectory>
590 <includes>oxm/*.xml</includes>
593 <groupId>org.openecomp.aai.aai-service</groupId>
594 <artifactId>aai-schema</artifactId>
595 <version>1.0.0-SNAPSHOT</version>
596 <outputDirectory>src/main</outputDirectory>
597 <includes>aai_schema/*.xsd</includes>
600 <!-- other configurations here -->
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-surefire-plugin</artifactId>
606 <version>2.19.1</version>
608 <skipTests>${skipTests}</skipTests>
609 <reuseForks>false</reuseForks>
610 <threadCount>1</threadCount>
611 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
612 -noverify ${argLine}</argLine>
613 <systemPropertyVariables>
614 <AJSC_HOME>.</AJSC_HOME>
615 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
616 </systemPropertyVariables>
620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-deploy-plugin</artifactId>
624 <id>default-deploy</id>
632 <!-- Use this profile to run the AJSC locally. This profile can be successfully
633 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
634 available with this profile. -->
636 <id>passwordGenerator</id>
638 <defaultGoal>initialize</defaultGoal>
641 <groupId>org.codehaus.mojo</groupId>
642 <artifactId>exec-maven-plugin</artifactId>
643 <version>1.3.2</version>
646 <phase>initialize</phase>
651 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
653 <argument>user</argument>
654 <argument>changeit</argument>
660 <executable>java</executable>