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.language>java</sonar.language>
20 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
21 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
22 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
23 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
24 <sonar.projectVersion>${project.version}</sonar.projectVersion>
27 <!-- AJSC related dependencies -->
29 <groupId>com.att.ajsc</groupId>
30 <artifactId>ajsc-runner</artifactId>
31 <version>${ajscRuntimeVersion}</version>
34 <groupId>com.att.ajsc</groupId>
35 <artifactId>ajsc-core</artifactId>
36 <version>${ajscRuntimeVersion}</version>
37 <scope>provided</scope>
41 <groupId>dom4j</groupId>
42 <artifactId>dom4j</artifactId>
43 <version>1.6.1</version>
47 <groupId>commons-lang</groupId>
48 <artifactId>commons-lang</artifactId>
49 <version>2.6</version>
53 <groupId>com.att.eelf</groupId>
54 <artifactId>eelf-core</artifactId>
55 <version>0.0.1</version>
59 <groupId>com.att.eelf</groupId>
60 <artifactId>eelf-maven-plugin</artifactId>
61 <version>0.0.1</version>
65 <groupId>ch.qos.logback</groupId>
66 <artifactId>logback-core</artifactId>
67 <version>1.1.7</version>
71 <groupId>ch.qos.logback</groupId>
72 <artifactId>logback-classic</artifactId>
73 <version>1.1.7</version>
77 <groupId>ch.qos.logback</groupId>
78 <artifactId>logback-access</artifactId>
79 <version>1.1.7</version>
83 <groupId>org.codehaus.janino</groupId>
84 <artifactId>janino</artifactId>
85 <version>2.7.8</version>
89 <groupId>commons-io</groupId>
90 <artifactId>commons-io</artifactId>
93 <groupId>commons-collections</groupId>
94 <artifactId>commons-collections</artifactId>
97 <groupId>jdk.tools</groupId>
98 <artifactId>jdk.tools</artifactId>
99 <version>1.8.0</version>
100 <scope>system</scope>
101 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
104 <groupId>junit</groupId>
105 <artifactId>junit</artifactId>
109 <groupId>com.google.guava</groupId>
110 <artifactId>guava</artifactId>
111 <version>16.0</version>
114 <groupId>com.thinkaurelius.titan</groupId>
115 <artifactId>titan-core</artifactId>
116 <version>1.0.0</version>
119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-log4j12</artifactId>
125 <groupId>com.thinkaurelius.titan</groupId>
126 <artifactId>titan-hbase</artifactId>
127 <version>1.0.0</version>
130 <groupId>org.slf4j</groupId>
131 <artifactId>slf4j-log4j12</artifactId>
136 <groupId>org.apache.tinkerpop</groupId>
137 <artifactId>tinkerpop</artifactId>
138 <version>3.1.0-incubating</version>
142 <groupId>org.apache.hbase</groupId>
143 <artifactId>hbase-client</artifactId>
144 <version>1.0.2</version>
147 <groupId>org.slf4j</groupId>
148 <artifactId>slf4j-log4j12</artifactId>
151 <artifactId>log4j</artifactId>
152 <groupId>log4j</groupId>
157 <groupId>org.apache.hbase</groupId>
158 <artifactId>hbase-protocol</artifactId>
159 <version>1.0.2</version>
162 <artifactId>log4j</artifactId>
163 <groupId>log4j</groupId>
168 <groupId>org.apache.hbase</groupId>
169 <artifactId>hbase-common</artifactId>
170 <version>1.0.2</version>
173 <artifactId>log4j</artifactId>
174 <groupId>log4j</groupId>
179 <groupId>com.google.inject.extensions</groupId>
180 <artifactId>guice-servlet</artifactId>
181 <version>3.0</version>
184 <groupId>com.google.inject</groupId>
185 <artifactId>guice</artifactId>
186 <version>3.0</version>
190 <groupId>com.sun.jersey</groupId>
191 <artifactId>jersey-json</artifactId>
192 <version>1.18</version>
195 <groupId>jivesoftware</groupId>
196 <artifactId>smack</artifactId>
197 <version>3.0.4</version>
201 <groupId>com.fasterxml.jackson.jaxrs</groupId>
202 <artifactId>jackson-jaxrs-json-provider</artifactId>
203 <version>2.1.4</version>
206 <groupId>com.googlecode.json-simple</groupId>
207 <artifactId>json-simple</artifactId>
208 <version>1.1.1</version>
211 <groupId>com.sun.jersey</groupId>
212 <artifactId>jersey-client</artifactId>
213 <version>1.18</version>
216 <groupId>org.springframework</groupId>
217 <artifactId>spring-web</artifactId>
218 <version>4.2.5.RELEASE</version>
221 <groupId>org.springframework.ws</groupId>
222 <artifactId>spring-ws</artifactId>
223 <version>1.5.2</version>
224 <!--<version>2.1.3-RELEASE</version> -->
227 <groupId>org.springframework</groupId>
228 <artifactId>spring-core</artifactId>
229 <version>4.2.5.RELEASE</version>
232 <groupId>org.mockito</groupId>
233 <artifactId>mockito-all</artifactId>
234 <version>1.10.19</version>
239 <groupId>org.powermock</groupId>
240 <artifactId>powermock-module-junit4</artifactId>
241 <version>1.6.2</version>
245 <groupId>org.powermock</groupId>
246 <artifactId>powermock-api-mockito</artifactId>
247 <version>1.6.2</version>
251 <groupId>com.beust</groupId>
252 <artifactId>jcommander</artifactId>
253 <version>1.48</version>
256 <groupId>org.json</groupId>
257 <artifactId>json</artifactId>
258 <version>20090211</version>
261 <groupId>org.freemarker</groupId>
262 <artifactId>freemarker</artifactId>
263 <version>2.3.14</version>
266 <groupId>javax.xml.bind</groupId>
267 <artifactId>jaxb-api</artifactId>
268 <version>2.2.11</version>
271 <groupId>com.sun.xml.bind</groupId>
272 <artifactId>jaxb-impl</artifactId>
273 <version>2.2.11</version>
276 <groupId>com.sun.xml.bind</groupId>
277 <artifactId>jaxb-core</artifactId>
278 <version>2.2.11</version>
281 <groupId>com.sun.xml.bind</groupId>
282 <artifactId>jaxb-xjc</artifactId>
283 <version>2.2.11</version>
286 <groupId>org.eclipse.persistence</groupId>
287 <artifactId>eclipselink</artifactId>
288 <version>2.6.2</version>
291 <groupId>org.eclipse.persistence</groupId>
292 <artifactId>org.eclipse.persistence.moxy</artifactId>
293 <version>2.6.2</version>
294 <scope>compile</scope>
297 <groupId>org.powermock</groupId>
298 <artifactId>powermock-module-javaagent</artifactId>
299 <version>1.6.2</version>
303 <groupId>org.powermock</groupId>
304 <artifactId>powermock-module-junit4-rule-agent</artifactId>
305 <version>1.6.2</version>
309 <groupId>com.github.fge</groupId>
310 <artifactId>json-patch</artifactId>
311 <version>1.9</version>
314 <groupId>org.javatuples</groupId>
315 <artifactId>javatuples</artifactId>
316 <version>1.2</version>
317 <scope>compile</scope>
320 <groupId>com.google.code.gson</groupId>
321 <artifactId>gson</artifactId>
322 <version>2.7</version>
325 <groupId>com.att.nsa</groupId>
326 <artifactId>dmaapClient</artifactId>
327 <version>0.2.12</version>
330 <groupId>org.apache.httpcomponents</groupId>
331 <artifactId>httpcore</artifactId>
332 <version>4.4</version>
335 <groupId>org.apache.activemq</groupId>
336 <artifactId>activemq-broker</artifactId>
337 <version>5.12.2</version>
340 <groupId>org.openecomp.aai.aai-service</groupId>
341 <artifactId>aai-schema</artifactId>
342 <version>1.0.0-SNAPSHOT</version>
345 <groupId>org.openecomp.aai.aai-service</groupId>
346 <artifactId>annotations</artifactId>
347 <version>1.0.0-SNAPSHOT</version>
351 <finalName>aai</finalName>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>sonar-maven-plugin</artifactId>
356 <version>3.2</version>
359 <groupId>org.jacoco</groupId>
360 <artifactId>jacoco-maven-plugin</artifactId>
361 <version>0.7.7.201606060606</version>
363 <dumpOnExit>true</dumpOnExit>
367 <id>jacoco-initialize-unit-tests</id>
369 <goal>prepare-agent</goal>
372 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
373 <!-- <append>true</append> -->
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-resources-plugin</artifactId>
381 <version>2.7</version>
384 <id>copy-docker-file</id>
385 <phase>package</phase>
387 <goal>copy-resources</goal>
390 <outputDirectory>${dockerLocation}</outputDirectory>
391 <overwrite>true</overwrite>
394 <directory>${basedir}/src/main/resources/docker</directory>
395 <filtering>true</filtering>
397 <include>**/*</include>
404 <id>copy-commonlibs-file</id>
405 <phase>package</phase>
407 <goal>copy-resources</goal>
410 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
411 <overwrite>true</overwrite>
414 <directory>${basedir}/target/commonLibs</directory>
415 <filtering>false</filtering>
418 <include>*.jar</include>
428 <groupId>com.spotify</groupId>
429 <artifactId>docker-maven-plugin</artifactId>
430 <version>0.4.11</version>
432 <verbose>true</verbose>
434 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
435 <dockerDirectory>${dockerLocation}</dockerDirectory>
436 <serverId>docker-hub</serverId>
438 <imageTag>${docker_imageversion}</imageTag>
439 <imageTag>latest</imageTag>
441 <forceTags>true</forceTags>
445 <groupId>org.jvnet.jaxb2.maven2</groupId>
446 <artifactId>maven-jaxb2-plugin</artifactId>
447 <version>0.13.1</version>
452 <goal>generate</goal>
457 <extension>true</extension>
459 <arg>-Xannotate</arg>
461 <generateDirectory>target/generated-sources</generateDirectory>
462 <schemaDirectory>src/main/aai_schema</schemaDirectory>
463 <bindingDirectory>src/main/xjb</bindingDirectory>
466 <groupId>org.jvnet.jaxb2_commons</groupId>
467 <artifactId>jaxb2-basics-annotate</artifactId>
468 <version>1.0.2</version>
471 <groupId>org.jvnet.jaxb2_commons</groupId>
472 <artifactId>jaxb2-basics</artifactId>
473 <version>1.11.1</version>
476 <groupId>org.jvnet.jaxb2_commons</groupId>
477 <artifactId>jaxb2-basics-runtime</artifactId>
478 <version>1.11.1</version>
481 <groupId>org.jvnet.jaxb2_commons</groupId>
482 <artifactId>jaxb2-basics-tools</artifactId>
483 <version>1.11.1</version>
486 <groupId>org.openecomp.aai.aai-service</groupId>
487 <artifactId>annotations</artifactId>
488 <version>${project.release}</version>
494 <groupId>org.jsonschema2pojo</groupId>
495 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
496 <version>0.4.13</version>
498 <sourceType>jsonschema</sourceType>
499 <sourceDirectory>src/main/resources/json</sourceDirectory>
500 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
501 <annotationStyle>jackson2</annotationStyle>
502 <generateBuilders>true</generateBuilders>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-jar-plugin</artifactId>
508 <version>2.4</version>
511 <id>aai-custom-jar</id>
512 <phase>prepare-package</phase>
518 <include>org/openecomp/aai/util/**/*</include>
520 <finalName>aai-custom</finalName>
524 <id>aai-logging-jar</id>
525 <phase>prepare-package</phase>
531 <include>org/openecomp/aai/logging/**/*</include>
533 <finalName>aai-logging</finalName>
539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-dependency-plugin</artifactId>
541 <version>2.5.1</version>
545 <phase>process-test-classes</phase>
552 <groupId>org.powermock</groupId>
553 <artifactId>powermock-module-javaagent</artifactId>
554 <version>1.6.2</version>
555 <outputDirectory>${project.build.directory}/agents</outputDirectory>
556 <destFileName>powermock-javaagent.jar</destFileName>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-dependency-plugin</artifactId>
568 <id>unpack-schema-dependency</id>
569 <phase>initialize</phase>
578 <groupId>org.openecomp.aai.aai-service</groupId>
579 <artifactId>aai-schema</artifactId>
580 <version>1.0.0-SNAPSHOT</version>
581 <outputDirectory>bundleconfig-local/etc</outputDirectory>
582 <includes>oxm/*.xml</includes>
585 <groupId>org.openecomp.aai.aai-service</groupId>
586 <artifactId>aai-schema</artifactId>
587 <version>1.0.0-SNAPSHOT</version>
588 <outputDirectory>src/main</outputDirectory>
589 <includes>aai_schema/*.xsd</includes>
592 <!-- other configurations here -->
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-surefire-plugin</artifactId>
598 <version>2.19.1</version>
600 <skipTests>${skipTests}</skipTests>
601 <reuseForks>false</reuseForks>
602 <threadCount>1</threadCount>
603 <argLine>-noverify ${argLine}</argLine>
604 <systemPropertyVariables>
605 <AJSC_HOME>.</AJSC_HOME>
606 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
607 </systemPropertyVariables>
611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-deploy-plugin</artifactId>
615 <id>default-deploy</id>
623 <!-- Use this profile to run the AJSC locally. This profile can be successfully
624 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
625 available with this profile. -->
627 <id>passwordGenerator</id>
629 <defaultGoal>initialize</defaultGoal>
632 <groupId>org.codehaus.mojo</groupId>
633 <artifactId>exec-maven-plugin</artifactId>
634 <version>1.3.2</version>
637 <phase>initialize</phase>
642 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
644 <argument>user</argument>
645 <argument>changeit</argument>
651 <executable>java</executable>