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>${openecomp.release}</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 <docker.login></docker.login>
18 <docker.password></docker.password>
19 <docker.registry>${docker_registry}</docker.registry>
22 <!-- AJSC related dependencies -->
24 <groupId>com.att.ajsc</groupId>
25 <artifactId>ajsc-runner</artifactId>
26 <version>${ajscRuntimeVersion}</version>
29 <groupId>com.att.ajsc</groupId>
30 <artifactId>ajsc-core</artifactId>
31 <version>${ajscRuntimeVersion}</version>
32 <scope>provided</scope>
35 <!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided"
36 scope. In CSI env, this jar MUST be included within service project's swm
39 <groupId>dom4j</groupId>
40 <artifactId>dom4j</artifactId>
41 <version>1.6.1</version>
45 <groupId>commons-lang</groupId>
46 <artifactId>commons-lang</artifactId>
47 <version>2.6</version>
50 <!-- eelf dependency -->
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>
83 <groupId>org.codehaus.janino</groupId>
84 <artifactId>janino</artifactId>
85 <version>2.7.8</version>
91 <groupId>commons-io</groupId>
92 <artifactId>commons-io</artifactId>
95 <groupId>commons-collections</groupId>
96 <artifactId>commons-collections</artifactId>
100 <groupId>jdk.tools</groupId>
101 <artifactId>jdk.tools</artifactId>
102 <version>1.8.0_101</version>
103 <scope>system</scope>
104 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
108 <groupId>junit</groupId>
109 <artifactId>junit</artifactId>
113 <groupId>com.google.guava</groupId>
114 <artifactId>guava</artifactId>
115 <version>16.0</version>
118 <groupId>com.thinkaurelius.titan</groupId>
119 <artifactId>titan-core</artifactId>
120 <version>1.0.0</version>
123 <groupId>org.slf4j</groupId>
124 <artifactId>slf4j-log4j12</artifactId>
129 <groupId>com.thinkaurelius.titan</groupId>
130 <artifactId>titan-hbase</artifactId>
131 <version>1.0.0</version>
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-log4j12</artifactId>
140 <groupId>org.apache.tinkerpop</groupId>
141 <artifactId>tinkerpop</artifactId>
142 <version>3.1.0-incubating</version>
146 <groupId>org.apache.hbase</groupId>
147 <artifactId>hbase-client</artifactId>
148 <version>1.0.2</version>
151 <groupId>org.slf4j</groupId>
152 <artifactId>slf4j-log4j12</artifactId>
155 <artifactId>log4j</artifactId>
156 <groupId>log4j</groupId>
161 <groupId>org.apache.hbase</groupId>
162 <artifactId>hbase-protocol</artifactId>
163 <version>1.0.2</version>
166 <artifactId>log4j</artifactId>
167 <groupId>log4j</groupId>
172 <groupId>org.apache.hbase</groupId>
173 <artifactId>hbase-common</artifactId>
174 <version>1.0.2</version>
177 <artifactId>log4j</artifactId>
178 <groupId>log4j</groupId>
183 <groupId>com.google.inject.extensions</groupId>
184 <artifactId>guice-servlet</artifactId>
185 <version>3.0</version>
188 <groupId>com.google.inject</groupId>
189 <artifactId>guice</artifactId>
190 <version>3.0</version>
194 <groupId>com.sun.jersey</groupId>
195 <artifactId>jersey-json</artifactId>
196 <version>1.18</version>
199 <groupId>jivesoftware</groupId>
200 <artifactId>smack</artifactId>
201 <version>3.0.4</version>
205 <groupId>com.fasterxml.jackson.jaxrs</groupId>
206 <artifactId>jackson-jaxrs-json-provider</artifactId>
207 <version>2.1.4</version>
210 <groupId>com.googlecode.json-simple</groupId>
211 <artifactId>json-simple</artifactId>
212 <version>1.1.1</version>
215 <groupId>com.sun.jersey</groupId>
216 <artifactId>jersey-client</artifactId>
217 <version>1.18</version>
220 <groupId>org.springframework</groupId>
221 <artifactId>spring-web</artifactId>
222 <version>4.2.5.RELEASE</version>
225 <groupId>org.springframework.ws</groupId>
226 <artifactId>spring-ws</artifactId>
227 <version>1.5.2</version>
228 <!--<version>2.1.3-RELEASE</version> -->
231 <groupId>org.springframework</groupId>
232 <artifactId>spring-core</artifactId>
233 <version>4.2.5.RELEASE</version>
236 <groupId>org.mockito</groupId>
237 <artifactId>mockito-all</artifactId>
238 <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>
344 <groupId>org.openecomp.aai.aai-service</groupId>
345 <artifactId>annotations</artifactId>
346 <version>${openecomp.release}</version>
350 <finalName>aai</finalName>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-resources-plugin</artifactId>
355 <version>2.7</version>
358 <id>copy-docker-file</id>
359 <phase>package</phase>
361 <goal>copy-resources</goal>
364 <outputDirectory>${dockerLocation}</outputDirectory>
365 <overwrite>true</overwrite>
368 <directory>${basedir}/src/main/resources/docker</directory>
369 <filtering>true</filtering>
371 <include>**/*</include>
378 <id>copy-commonlibs-file</id>
379 <phase>package</phase>
381 <goal>copy-resources</goal>
384 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
385 <overwrite>true</overwrite>
388 <directory>${basedir}/target/commonLibs</directory>
389 <filtering>false</filtering>
391 <include>*.jar</include>
400 <groupId>com.spotify</groupId>
401 <artifactId>docker-maven-plugin</artifactId>
402 <version>0.4.11</version>
404 <verbose>true</verbose>
405 <registry>${docker.registry}</registry>
407 <username>${docker.login}</username>
408 <password>${docker.password}</password>
410 <imageName>${docker.registry}/${project.artifactId}</imageName>
411 <dockerDirectory>${dockerLocation}</dockerDirectory>
412 <serverId>docker-hub</serverId>
413 <registryUrl>http://${docker.registry}</registryUrl>
415 <imageTag>${docker_imageversion}</imageTag>
416 <imageTag>latest</imageTag>
418 <forceTags>true</forceTags>
422 <groupId>org.jvnet.jaxb2.maven2</groupId>
423 <artifactId>maven-jaxb2-plugin</artifactId>
424 <version>0.13.1</version>
429 <goal>generate</goal>
434 <extension>true</extension>
436 <arg>-Xannotate</arg>
438 <generateDirectory>target/generated-sources</generateDirectory>
439 <schemaDirectory>src/main/aai_schema</schemaDirectory>
440 <bindingDirectory>src/main/xjb</bindingDirectory>
443 <groupId>org.jvnet.jaxb2_commons</groupId>
444 <artifactId>jaxb2-basics-annotate</artifactId>
445 <version>1.0.2</version>
448 <groupId>org.jvnet.jaxb2_commons</groupId>
449 <artifactId>jaxb2-basics</artifactId>
450 <version>1.11.1</version>
453 <groupId>org.jvnet.jaxb2_commons</groupId>
454 <artifactId>jaxb2-basics-runtime</artifactId>
455 <version>1.11.1</version>
458 <groupId>org.jvnet.jaxb2_commons</groupId>
459 <artifactId>jaxb2-basics-tools</artifactId>
460 <version>1.11.1</version>
463 <groupId>org.openecomp.aai.aai-service</groupId>
464 <artifactId>annotations</artifactId>
465 <version>${openecomp.release}</version>
471 <groupId>org.jsonschema2pojo</groupId>
472 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
473 <version>0.4.13</version>
475 <sourceType>jsonschema</sourceType>
476 <sourceDirectory>src/main/resources/json</sourceDirectory>
477 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
478 <annotationStyle>jackson2</annotationStyle>
479 <generateBuilders>true</generateBuilders>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-jar-plugin</artifactId>
485 <version>2.4</version>
488 <id>aai-custom-jar</id>
489 <phase>prepare-package</phase>
495 <include>org/openecomp/aai/util/**/*</include>
497 <finalName>aai-custom</finalName>
501 <id>aai-logging-jar</id>
502 <phase>prepare-package</phase>
508 <include>org/openecomp/aai/logging/**/*</include>
510 <finalName>aai-logging</finalName>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-dependency-plugin</artifactId>
518 <version>2.5.1</version>
522 <phase>process-test-classes</phase>
529 <groupId>org.powermock</groupId>
530 <artifactId>powermock-module-javaagent</artifactId>
531 <version>1.6.2</version>
532 <outputDirectory>${project.build.directory}/agents</outputDirectory>
533 <destFileName>powermock-javaagent.jar</destFileName>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-dependency-plugin</artifactId>
545 <id>unpack-schema-dependency</id>
546 <phase>initialize</phase>
555 <groupId>org.openecomp.aai.aai-service</groupId>
556 <artifactId>aai-schema</artifactId>
557 <version>${openecomp.release}</version>
558 <outputDirectory>bundleconfig-local/etc</outputDirectory>
559 <includes>oxm/*.xml</includes>
562 <groupId>org.openecomp.aai.aai-service</groupId>
563 <artifactId>aai-schema</artifactId>
564 <version>${openecomp.release}</version>
565 <outputDirectory>src/main</outputDirectory>
566 <includes>aai_schema/*.xsd</includes>
569 <!-- other configurations here -->
573 <groupId>org.apache.maven.plugins</groupId>
574 <artifactId>maven-surefire-plugin</artifactId>
575 <version>2.12.4</version>
577 <reuseForks>false</reuseForks>
578 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
580 <systemPropertyVariables>
581 <AJSC_HOME>.</AJSC_HOME>
582 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
583 </systemPropertyVariables>
589 <!-- Use this profile to run the AJSC locally. This profile can be successfully
590 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
591 available with this profile. -->
593 <id>passwordGenerator</id>
595 <defaultGoal>initialize</defaultGoal>
598 <groupId>org.codehaus.mojo</groupId>
599 <artifactId>exec-maven-plugin</artifactId>
600 <version>1.3.2</version>
603 <phase>initialize</phase>
608 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
610 <argument>user</argument>
611 <argument>changeit</argument>
617 <executable>java</executable>