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>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-resources-plugin</artifactId>
339 <version>2.7</version>
342 <id>copy-docker-file</id>
343 <phase>package</phase>
345 <goal>copy-resources</goal>
348 <outputDirectory>${dockerLocation}</outputDirectory>
349 <overwrite>true</overwrite>
352 <directory>${basedir}/src/main/resources/docker</directory>
353 <filtering>true</filtering>
355 <include>**/*</include>
362 <id>copy-commonlibs-file</id>
363 <phase>package</phase>
365 <goal>copy-resources</goal>
368 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
369 <overwrite>true</overwrite>
372 <directory>${basedir}/target/commonLibs</directory>
373 <filtering>false</filtering>
375 <include>*.jar</include>
384 <groupId>com.spotify</groupId>
385 <artifactId>docker-maven-plugin</artifactId>
386 <version>0.4.11</version>
388 <verbose>true</verbose>
390 <imageName>${docker.push.registry}/${project.artifactId}</imageName>
391 <dockerDirectory>${dockerLocation}</dockerDirectory>
392 <serverId>docker-hub</serverId>
394 <imageTag>${docker_imageversion}</imageTag>
395 <imageTag>latest</imageTag>
397 <forceTags>true</forceTags>
401 <groupId>org.jvnet.jaxb2.maven2</groupId>
402 <artifactId>maven-jaxb2-plugin</artifactId>
403 <version>0.13.1</version>
408 <goal>generate</goal>
413 <extension>true</extension>
415 <arg>-Xannotate</arg>
417 <generateDirectory>target/generated-sources</generateDirectory>
418 <schemaDirectory>src/main/aai_schema</schemaDirectory>
419 <bindingDirectory>src/main/xjb</bindingDirectory>
422 <groupId>org.jvnet.jaxb2_commons</groupId>
423 <artifactId>jaxb2-basics-annotate</artifactId>
424 <version>1.0.2</version>
427 <groupId>org.jvnet.jaxb2_commons</groupId>
428 <artifactId>jaxb2-basics</artifactId>
429 <version>1.11.1</version>
432 <groupId>org.jvnet.jaxb2_commons</groupId>
433 <artifactId>jaxb2-basics-runtime</artifactId>
434 <version>1.11.1</version>
437 <groupId>org.jvnet.jaxb2_commons</groupId>
438 <artifactId>jaxb2-basics-tools</artifactId>
439 <version>1.11.1</version>
442 <groupId>org.openecomp.aai.aai-service</groupId>
443 <artifactId>annotations</artifactId>
444 <version>${project.release}</version>
450 <groupId>org.jsonschema2pojo</groupId>
451 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
452 <version>0.4.13</version>
454 <sourceType>jsonschema</sourceType>
455 <sourceDirectory>src/main/resources/json</sourceDirectory>
456 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
457 <annotationStyle>jackson2</annotationStyle>
458 <generateBuilders>true</generateBuilders>
462 <groupId>org.apache.maven.plugins</groupId>
463 <artifactId>maven-jar-plugin</artifactId>
464 <version>2.4</version>
467 <id>aai-custom-jar</id>
468 <phase>prepare-package</phase>
474 <include>org/openecomp/aai/util/**/*</include>
476 <finalName>aai-custom</finalName>
480 <id>aai-logging-jar</id>
481 <phase>prepare-package</phase>
487 <include>org/openecomp/aai/logging/**/*</include>
489 <finalName>aai-logging</finalName>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-dependency-plugin</artifactId>
497 <version>2.5.1</version>
501 <phase>process-test-classes</phase>
508 <groupId>org.powermock</groupId>
509 <artifactId>powermock-module-javaagent</artifactId>
510 <version>1.6.2</version>
511 <outputDirectory>${project.build.directory}/agents</outputDirectory>
512 <destFileName>powermock-javaagent.jar</destFileName>
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-dependency-plugin</artifactId>
524 <id>unpack-schema-dependency</id>
525 <phase>initialize</phase>
534 <groupId>org.openecomp.aai.aai-service</groupId>
535 <artifactId>aai-schema</artifactId>
536 <version>1.0.0-SNAPSHOT</version>
537 <outputDirectory>bundleconfig-local/etc</outputDirectory>
538 <includes>oxm/*.xml</includes>
541 <groupId>org.openecomp.aai.aai-service</groupId>
542 <artifactId>aai-schema</artifactId>
543 <version>1.0.0-SNAPSHOT</version>
544 <outputDirectory>src/main</outputDirectory>
545 <includes>aai_schema/*.xsd</includes>
548 <!-- other configurations here -->
552 <groupId>org.apache.maven.plugins</groupId>
553 <artifactId>maven-surefire-plugin</artifactId>
554 <version>2.12.4</version>
556 <reuseForks>false</reuseForks>
557 <threadCount>1</threadCount>
558 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
560 <systemPropertyVariables>
561 <AJSC_HOME>.</AJSC_HOME>
562 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
563 </systemPropertyVariables>
565 <exclude>**/*.java</exclude>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-deploy-plugin</artifactId>
579 <!-- Use this profile to run the AJSC locally. This profile can be successfully
580 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
581 available with this profile. -->
583 <id>passwordGenerator</id>
585 <defaultGoal>initialize</defaultGoal>
588 <groupId>org.codehaus.mojo</groupId>
589 <artifactId>exec-maven-plugin</artifactId>
590 <version>1.3.2</version>
593 <phase>initialize</phase>
598 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
600 <argument>user</argument>
601 <argument>changeit</argument>
607 <executable>java</executable>