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>
19 <!-- AJSC related dependencies -->
21 <groupId>com.att.ajsc</groupId>
22 <artifactId>ajsc-runner</artifactId>
23 <version>${ajscRuntimeVersion}</version>
26 <groupId>com.att.ajsc</groupId>
27 <artifactId>ajsc-core</artifactId>
28 <version>${ajscRuntimeVersion}</version>
29 <scope>provided</scope>
33 <groupId>dom4j</groupId>
34 <artifactId>dom4j</artifactId>
35 <version>1.6.1</version>
39 <groupId>commons-lang</groupId>
40 <artifactId>commons-lang</artifactId>
41 <version>2.6</version>
45 <groupId>com.att.eelf</groupId>
46 <artifactId>eelf-core</artifactId>
47 <version>0.0.1</version>
51 <groupId>com.att.eelf</groupId>
52 <artifactId>eelf-maven-plugin</artifactId>
53 <version>0.0.1</version>
57 <groupId>ch.qos.logback</groupId>
58 <artifactId>logback-core</artifactId>
59 <version>1.1.7</version>
63 <groupId>ch.qos.logback</groupId>
64 <artifactId>logback-classic</artifactId>
65 <version>1.1.7</version>
69 <groupId>ch.qos.logback</groupId>
70 <artifactId>logback-access</artifactId>
71 <version>1.1.7</version>
75 <groupId>org.codehaus.janino</groupId>
76 <artifactId>janino</artifactId>
77 <version>2.7.8</version>
81 <groupId>commons-io</groupId>
82 <artifactId>commons-io</artifactId>
85 <groupId>commons-collections</groupId>
86 <artifactId>commons-collections</artifactId>
92 <groupId>junit</groupId>
93 <artifactId>junit</artifactId>
97 <groupId>com.google.guava</groupId>
98 <artifactId>guava</artifactId>
99 <version>16.0</version>
102 <groupId>com.thinkaurelius.titan</groupId>
103 <artifactId>titan-core</artifactId>
104 <version>1.0.0</version>
107 <groupId>org.slf4j</groupId>
108 <artifactId>slf4j-log4j12</artifactId>
113 <groupId>com.thinkaurelius.titan</groupId>
114 <artifactId>titan-hbase</artifactId>
115 <version>1.0.0</version>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-log4j12</artifactId>
124 <groupId>org.apache.tinkerpop</groupId>
125 <artifactId>tinkerpop</artifactId>
126 <version>3.1.0-incubating</version>
130 <groupId>org.apache.hbase</groupId>
131 <artifactId>hbase-client</artifactId>
132 <version>1.0.2</version>
135 <groupId>org.slf4j</groupId>
136 <artifactId>slf4j-log4j12</artifactId>
139 <artifactId>log4j</artifactId>
140 <groupId>log4j</groupId>
145 <groupId>org.apache.hbase</groupId>
146 <artifactId>hbase-protocol</artifactId>
147 <version>1.0.2</version>
150 <artifactId>log4j</artifactId>
151 <groupId>log4j</groupId>
156 <groupId>org.apache.hbase</groupId>
157 <artifactId>hbase-common</artifactId>
158 <version>1.0.2</version>
161 <artifactId>log4j</artifactId>
162 <groupId>log4j</groupId>
167 <groupId>com.google.inject.extensions</groupId>
168 <artifactId>guice-servlet</artifactId>
169 <version>3.0</version>
172 <groupId>com.google.inject</groupId>
173 <artifactId>guice</artifactId>
174 <version>3.0</version>
178 <groupId>com.sun.jersey</groupId>
179 <artifactId>jersey-json</artifactId>
180 <version>1.18</version>
183 <groupId>jivesoftware</groupId>
184 <artifactId>smack</artifactId>
185 <version>3.0.4</version>
189 <groupId>com.fasterxml.jackson.jaxrs</groupId>
190 <artifactId>jackson-jaxrs-json-provider</artifactId>
191 <version>2.1.4</version>
194 <groupId>com.googlecode.json-simple</groupId>
195 <artifactId>json-simple</artifactId>
196 <version>1.1.1</version>
199 <groupId>com.sun.jersey</groupId>
200 <artifactId>jersey-client</artifactId>
201 <version>1.18</version>
204 <groupId>org.springframework</groupId>
205 <artifactId>spring-web</artifactId>
206 <version>4.2.5.RELEASE</version>
209 <groupId>org.springframework.ws</groupId>
210 <artifactId>spring-ws</artifactId>
211 <version>1.5.2</version>
212 <!--<version>2.1.3-RELEASE</version> -->
215 <groupId>org.springframework</groupId>
216 <artifactId>spring-core</artifactId>
217 <version>4.2.5.RELEASE</version>
220 <groupId>org.mockito</groupId>
221 <artifactId>mockito-all</artifactId>
222 <version>1.10.19</version>
226 <groupId>org.powermock</groupId>
227 <artifactId>powermock-module-junit4</artifactId>
228 <version>1.6.2</version>
232 <groupId>org.powermock</groupId>
233 <artifactId>powermock-api-mockito</artifactId>
234 <version>1.6.2</version>
238 <groupId>com.beust</groupId>
239 <artifactId>jcommander</artifactId>
240 <version>1.48</version>
243 <groupId>org.json</groupId>
244 <artifactId>json</artifactId>
245 <version>20090211</version>
248 <groupId>org.freemarker</groupId>
249 <artifactId>freemarker</artifactId>
250 <version>2.3.14</version>
253 <groupId>javax.xml.bind</groupId>
254 <artifactId>jaxb-api</artifactId>
255 <version>2.2.11</version>
258 <groupId>com.sun.xml.bind</groupId>
259 <artifactId>jaxb-impl</artifactId>
260 <version>2.2.11</version>
263 <groupId>com.sun.xml.bind</groupId>
264 <artifactId>jaxb-core</artifactId>
265 <version>2.2.11</version>
268 <groupId>com.sun.xml.bind</groupId>
269 <artifactId>jaxb-xjc</artifactId>
270 <version>2.2.11</version>
273 <groupId>org.eclipse.persistence</groupId>
274 <artifactId>eclipselink</artifactId>
275 <version>2.6.2</version>
278 <groupId>org.eclipse.persistence</groupId>
279 <artifactId>org.eclipse.persistence.moxy</artifactId>
280 <version>2.6.2</version>
281 <scope>compile</scope>
284 <groupId>org.powermock</groupId>
285 <artifactId>powermock-module-javaagent</artifactId>
286 <version>1.6.2</version>
290 <groupId>org.powermock</groupId>
291 <artifactId>powermock-module-junit4-rule-agent</artifactId>
292 <version>1.6.2</version>
296 <groupId>com.github.fge</groupId>
297 <artifactId>json-patch</artifactId>
298 <version>1.9</version>
301 <groupId>org.javatuples</groupId>
302 <artifactId>javatuples</artifactId>
303 <version>1.2</version>
304 <scope>compile</scope>
307 <groupId>com.google.code.gson</groupId>
308 <artifactId>gson</artifactId>
309 <version>2.7</version>
312 <groupId>com.att.nsa</groupId>
313 <artifactId>dmaapClient</artifactId>
314 <version>0.2.12</version>
317 <groupId>org.apache.httpcomponents</groupId>
318 <artifactId>httpcore</artifactId>
319 <version>4.4</version>
322 <groupId>org.apache.activemq</groupId>
323 <artifactId>activemq-broker</artifactId>
324 <version>5.12.2</version>
328 <groupId>org.openecomp.aai.aai-service</groupId>
329 <artifactId>annotations</artifactId>
330 <version>1.0.0-SNAPSHOT</version>
336 <groupId>org.jvnet.jaxb2.maven2</groupId>
337 <artifactId>maven-jaxb2-plugin</artifactId>
338 <version>0.13.1</version>
343 <goal>generate</goal>
348 <extension>true</extension>
350 <arg>-Xannotate</arg>
352 <generateDirectory>target/generated-sources</generateDirectory>
353 <schemaDirectory>src/main/aai_schema</schemaDirectory>
354 <bindingDirectory>src/main/xjb</bindingDirectory>
357 <groupId>org.jvnet.jaxb2_commons</groupId>
358 <artifactId>jaxb2-basics-annotate</artifactId>
359 <version>1.0.2</version>
362 <groupId>org.jvnet.jaxb2_commons</groupId>
363 <artifactId>jaxb2-basics</artifactId>
364 <version>1.11.1</version>
367 <groupId>org.jvnet.jaxb2_commons</groupId>
368 <artifactId>jaxb2-basics-runtime</artifactId>
369 <version>1.11.1</version>
372 <groupId>org.jvnet.jaxb2_commons</groupId>
373 <artifactId>jaxb2-basics-tools</artifactId>
374 <version>1.11.1</version>
377 <groupId>org.openecomp.aai.aai-service</groupId>
378 <artifactId>annotations</artifactId>
379 <version>${project.release}</version>
385 <groupId>org.jsonschema2pojo</groupId>
386 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
387 <version>0.4.13</version>
389 <sourceType>jsonschema</sourceType>
390 <sourceDirectory>src/main/resources/json</sourceDirectory>
391 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
392 <annotationStyle>jackson2</annotationStyle>
393 <generateBuilders>true</generateBuilders>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-jar-plugin</artifactId>
399 <version>2.4</version>
402 <id>aai-custom-jar</id>
403 <phase>prepare-package</phase>
409 <include>org/openecomp/aai/util/**/*</include>
411 <finalName>aai-custom</finalName>
415 <id>aai-logging-jar</id>
416 <phase>prepare-package</phase>
422 <include>org/openecomp/aai/logging/**/*</include>
424 <finalName>aai-logging</finalName>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-dependency-plugin</artifactId>
432 <version>2.5.1</version>
436 <phase>process-test-classes</phase>
443 <groupId>org.powermock</groupId>
444 <artifactId>powermock-module-javaagent</artifactId>
445 <version>1.6.2</version>
446 <outputDirectory>${project.build.directory}/agents</outputDirectory>
447 <destFileName>powermock-javaagent.jar</destFileName>
455 <groupId>org.apache.maven.plugins</groupId>
456 <artifactId>maven-dependency-plugin</artifactId>
459 <id>unpack-schema-dependency</id>
460 <phase>initialize</phase>
469 <groupId>org.openecomp.aai.aai-service</groupId>
470 <artifactId>aai-schema</artifactId>
471 <version>1.0.0-SNAPSHOT</version>
472 <outputDirectory>bundleconfig-local/etc</outputDirectory>
473 <includes>oxm/*.xml</includes>
476 <groupId>org.openecomp.aai.aai-service</groupId>
477 <artifactId>aai-schema</artifactId>
478 <version>1.0.0-SNAPSHOT</version>
479 <outputDirectory>src/main</outputDirectory>
480 <includes>aai_schema/*.xsd</includes>
483 <!-- other configurations here -->
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-surefire-plugin</artifactId>
489 <version>2.12.4</version>
491 <reuseForks>false</reuseForks>
492 <threadCount>1</threadCount>
493 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
495 <systemPropertyVariables>
496 <AJSC_HOME>.</AJSC_HOME>
497 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
498 </systemPropertyVariables>
500 <exclude>**/*.java</exclude>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-deploy-plugin</artifactId>
509 <id>default-deploy</id>
517 <!-- Use this profile to run the AJSC locally. This profile can be successfully
518 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
519 available with this profile. -->
521 <id>passwordGenerator</id>
523 <defaultGoal>initialize</defaultGoal>
526 <groupId>org.codehaus.mojo</groupId>
527 <artifactId>exec-maven-plugin</artifactId>
528 <version>1.3.2</version>
531 <phase>initialize</phase>
536 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
538 <argument>user</argument>
539 <argument>changeit</argument>
545 <executable>java</executable>
554 <defaultGoal>docker:build</defaultGoal>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-resources-plugin</artifactId>
559 <version>2.7</version>
562 <id>copy-docker-file</id>
563 <phase>package</phase>
565 <goal>copy-resources</goal>
568 <outputDirectory>${dockerLocation}</outputDirectory>
569 <overwrite>true</overwrite>
572 <directory>${basedir}/src/main/resources/docker</directory>
573 <filtering>true</filtering>
575 <include>**/*</include>
582 <id>copy-commonlibs-file</id>
583 <phase>package</phase>
585 <goal>copy-resources</goal>
588 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
589 <overwrite>true</overwrite>
592 <directory>${basedir}/target/commonLibs</directory>
593 <filtering>false</filtering>
595 <include>*.jar</include>
604 <groupId>com.spotify</groupId>
605 <artifactId>docker-maven-plugin</artifactId>
606 <version>0.4.11</version>
608 <verbose>true</verbose>
610 <imageName>${docker.push.registry}/${project.artifactId}</imageName>
611 <dockerDirectory>${dockerLocation}</dockerDirectory>
612 <serverId>docker-hub</serverId>
614 <imageTag>${docker_imageversion}</imageTag>
615 <imageTag>latest</imageTag>
617 <forceTags>true</forceTags>