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>true</skipTests>
20 <!-- AJSC related dependencies -->
22 <groupId>com.att.ajsc</groupId>
23 <artifactId>ajsc-runner</artifactId>
24 <version>${ajscRuntimeVersion}</version>
27 <groupId>com.att.ajsc</groupId>
28 <artifactId>ajsc-core</artifactId>
29 <version>${ajscRuntimeVersion}</version>
30 <scope>provided</scope>
34 <groupId>dom4j</groupId>
35 <artifactId>dom4j</artifactId>
36 <version>1.6.1</version>
40 <groupId>commons-lang</groupId>
41 <artifactId>commons-lang</artifactId>
42 <version>2.6</version>
46 <groupId>com.att.eelf</groupId>
47 <artifactId>eelf-core</artifactId>
48 <version>0.0.1</version>
52 <groupId>com.att.eelf</groupId>
53 <artifactId>eelf-maven-plugin</artifactId>
54 <version>0.0.1</version>
58 <groupId>ch.qos.logback</groupId>
59 <artifactId>logback-core</artifactId>
60 <version>1.1.7</version>
64 <groupId>ch.qos.logback</groupId>
65 <artifactId>logback-classic</artifactId>
66 <version>1.1.7</version>
70 <groupId>ch.qos.logback</groupId>
71 <artifactId>logback-access</artifactId>
72 <version>1.1.7</version>
76 <groupId>org.codehaus.janino</groupId>
77 <artifactId>janino</artifactId>
78 <version>2.7.8</version>
82 <groupId>commons-io</groupId>
83 <artifactId>commons-io</artifactId>
86 <groupId>commons-collections</groupId>
87 <artifactId>commons-collections</artifactId>
90 <groupId>jdk.tools</groupId>
91 <artifactId>jdk.tools</artifactId>
92 <version>1.8.0</version>
94 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
97 <groupId>junit</groupId>
98 <artifactId>junit</artifactId>
102 <groupId>com.google.guava</groupId>
103 <artifactId>guava</artifactId>
104 <version>16.0</version>
107 <groupId>com.thinkaurelius.titan</groupId>
108 <artifactId>titan-core</artifactId>
109 <version>1.0.0</version>
112 <groupId>org.slf4j</groupId>
113 <artifactId>slf4j-log4j12</artifactId>
118 <groupId>com.thinkaurelius.titan</groupId>
119 <artifactId>titan-hbase</artifactId>
120 <version>1.0.0</version>
123 <groupId>org.slf4j</groupId>
124 <artifactId>slf4j-log4j12</artifactId>
129 <groupId>org.apache.tinkerpop</groupId>
130 <artifactId>tinkerpop</artifactId>
131 <version>3.1.0-incubating</version>
135 <groupId>org.apache.hbase</groupId>
136 <artifactId>hbase-client</artifactId>
137 <version>1.0.2</version>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-log4j12</artifactId>
144 <artifactId>log4j</artifactId>
145 <groupId>log4j</groupId>
150 <groupId>org.apache.hbase</groupId>
151 <artifactId>hbase-protocol</artifactId>
152 <version>1.0.2</version>
155 <artifactId>log4j</artifactId>
156 <groupId>log4j</groupId>
161 <groupId>org.apache.hbase</groupId>
162 <artifactId>hbase-common</artifactId>
163 <version>1.0.2</version>
166 <artifactId>log4j</artifactId>
167 <groupId>log4j</groupId>
172 <groupId>com.google.inject.extensions</groupId>
173 <artifactId>guice-servlet</artifactId>
174 <version>3.0</version>
177 <groupId>com.google.inject</groupId>
178 <artifactId>guice</artifactId>
179 <version>3.0</version>
183 <groupId>com.sun.jersey</groupId>
184 <artifactId>jersey-json</artifactId>
185 <version>1.18</version>
188 <groupId>jivesoftware</groupId>
189 <artifactId>smack</artifactId>
190 <version>3.0.4</version>
194 <groupId>com.fasterxml.jackson.jaxrs</groupId>
195 <artifactId>jackson-jaxrs-json-provider</artifactId>
196 <version>2.1.4</version>
199 <groupId>com.googlecode.json-simple</groupId>
200 <artifactId>json-simple</artifactId>
201 <version>1.1.1</version>
204 <groupId>com.sun.jersey</groupId>
205 <artifactId>jersey-client</artifactId>
206 <version>1.18</version>
209 <groupId>org.springframework</groupId>
210 <artifactId>spring-web</artifactId>
211 <version>4.2.5.RELEASE</version>
214 <groupId>org.springframework.ws</groupId>
215 <artifactId>spring-ws</artifactId>
216 <version>1.5.2</version>
217 <!--<version>2.1.3-RELEASE</version> -->
220 <groupId>org.springframework</groupId>
221 <artifactId>spring-core</artifactId>
222 <version>4.2.5.RELEASE</version>
225 <groupId>org.mockito</groupId>
226 <artifactId>mockito-all</artifactId>
227 <version>1.10.19</version>
232 <groupId>org.powermock</groupId>
233 <artifactId>powermock-module-junit4</artifactId>
234 <version>1.6.2</version>
238 <groupId>org.powermock</groupId>
239 <artifactId>powermock-api-mockito</artifactId>
240 <version>1.6.2</version>
244 <groupId>com.beust</groupId>
245 <artifactId>jcommander</artifactId>
246 <version>1.48</version>
249 <groupId>org.json</groupId>
250 <artifactId>json</artifactId>
251 <version>20090211</version>
254 <groupId>org.freemarker</groupId>
255 <artifactId>freemarker</artifactId>
256 <version>2.3.14</version>
259 <groupId>javax.xml.bind</groupId>
260 <artifactId>jaxb-api</artifactId>
261 <version>2.2.11</version>
264 <groupId>com.sun.xml.bind</groupId>
265 <artifactId>jaxb-impl</artifactId>
266 <version>2.2.11</version>
269 <groupId>com.sun.xml.bind</groupId>
270 <artifactId>jaxb-core</artifactId>
271 <version>2.2.11</version>
274 <groupId>com.sun.xml.bind</groupId>
275 <artifactId>jaxb-xjc</artifactId>
276 <version>2.2.11</version>
279 <groupId>org.eclipse.persistence</groupId>
280 <artifactId>eclipselink</artifactId>
281 <version>2.6.2</version>
284 <groupId>org.eclipse.persistence</groupId>
285 <artifactId>org.eclipse.persistence.moxy</artifactId>
286 <version>2.6.2</version>
287 <scope>compile</scope>
290 <groupId>org.powermock</groupId>
291 <artifactId>powermock-module-javaagent</artifactId>
292 <version>1.6.2</version>
296 <groupId>org.powermock</groupId>
297 <artifactId>powermock-module-junit4-rule-agent</artifactId>
298 <version>1.6.2</version>
302 <groupId>com.github.fge</groupId>
303 <artifactId>json-patch</artifactId>
304 <version>1.9</version>
307 <groupId>org.javatuples</groupId>
308 <artifactId>javatuples</artifactId>
309 <version>1.2</version>
310 <scope>compile</scope>
313 <groupId>com.google.code.gson</groupId>
314 <artifactId>gson</artifactId>
315 <version>2.7</version>
318 <groupId>com.att.nsa</groupId>
319 <artifactId>dmaapClient</artifactId>
320 <version>0.2.12</version>
323 <groupId>org.apache.httpcomponents</groupId>
324 <artifactId>httpcore</artifactId>
325 <version>4.4</version>
328 <groupId>org.apache.activemq</groupId>
329 <artifactId>activemq-broker</artifactId>
330 <version>5.12.2</version>
333 <groupId>org.openecomp.aai.aai-service</groupId>
334 <artifactId>aai-schema</artifactId>
335 <version>1.0.0-SNAPSHOT</version>
338 <groupId>org.openecomp.aai.aai-service</groupId>
339 <artifactId>annotations</artifactId>
340 <version>1.0.0-SNAPSHOT</version>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-resources-plugin</artifactId>
348 <version>2.7</version>
351 <id>copy-docker-file</id>
352 <phase>package</phase>
354 <goal>copy-resources</goal>
357 <outputDirectory>${dockerLocation}</outputDirectory>
358 <overwrite>true</overwrite>
361 <directory>${basedir}/src/main/resources/docker</directory>
362 <filtering>true</filtering>
364 <include>**/*</include>
371 <id>copy-commonlibs-file</id>
372 <phase>package</phase>
374 <goal>copy-resources</goal>
377 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
378 <overwrite>true</overwrite>
381 <directory>${basedir}/target/commonLibs</directory>
382 <filtering>false</filtering>
384 <include>*.jar</include>
393 <groupId>com.spotify</groupId>
394 <artifactId>docker-maven-plugin</artifactId>
395 <version>0.4.11</version>
397 <verbose>true</verbose>
399 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
400 <dockerDirectory>${dockerLocation}</dockerDirectory>
401 <serverId>docker-hub</serverId>
403 <imageTag>${docker_imageversion}</imageTag>
404 <imageTag>latest</imageTag>
406 <forceTags>true</forceTags>
410 <groupId>org.jvnet.jaxb2.maven2</groupId>
411 <artifactId>maven-jaxb2-plugin</artifactId>
412 <version>0.13.1</version>
417 <goal>generate</goal>
422 <extension>true</extension>
424 <arg>-Xannotate</arg>
426 <generateDirectory>target/generated-sources</generateDirectory>
427 <schemaDirectory>src/main/aai_schema</schemaDirectory>
428 <bindingDirectory>src/main/xjb</bindingDirectory>
431 <groupId>org.jvnet.jaxb2_commons</groupId>
432 <artifactId>jaxb2-basics-annotate</artifactId>
433 <version>1.0.2</version>
436 <groupId>org.jvnet.jaxb2_commons</groupId>
437 <artifactId>jaxb2-basics</artifactId>
438 <version>1.11.1</version>
441 <groupId>org.jvnet.jaxb2_commons</groupId>
442 <artifactId>jaxb2-basics-runtime</artifactId>
443 <version>1.11.1</version>
446 <groupId>org.jvnet.jaxb2_commons</groupId>
447 <artifactId>jaxb2-basics-tools</artifactId>
448 <version>1.11.1</version>
451 <groupId>org.openecomp.aai.aai-service</groupId>
452 <artifactId>annotations</artifactId>
453 <version>${project.release}</version>
459 <groupId>org.jsonschema2pojo</groupId>
460 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
461 <version>0.4.13</version>
463 <sourceType>jsonschema</sourceType>
464 <sourceDirectory>src/main/resources/json</sourceDirectory>
465 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
466 <annotationStyle>jackson2</annotationStyle>
467 <generateBuilders>true</generateBuilders>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-jar-plugin</artifactId>
473 <version>2.4</version>
476 <id>aai-custom-jar</id>
477 <phase>prepare-package</phase>
483 <include>org/openecomp/aai/util/**/*</include>
485 <finalName>aai-custom</finalName>
489 <id>aai-logging-jar</id>
490 <phase>prepare-package</phase>
496 <include>org/openecomp/aai/logging/**/*</include>
498 <finalName>aai-logging</finalName>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-dependency-plugin</artifactId>
506 <version>2.5.1</version>
510 <phase>process-test-classes</phase>
517 <groupId>org.powermock</groupId>
518 <artifactId>powermock-module-javaagent</artifactId>
519 <version>1.6.2</version>
520 <outputDirectory>${project.build.directory}/agents</outputDirectory>
521 <destFileName>powermock-javaagent.jar</destFileName>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-dependency-plugin</artifactId>
533 <id>unpack-schema-dependency</id>
534 <phase>initialize</phase>
543 <groupId>org.openecomp.aai.aai-service</groupId>
544 <artifactId>aai-schema</artifactId>
545 <version>1.0.0-SNAPSHOT</version>
546 <outputDirectory>bundleconfig-local/etc</outputDirectory>
547 <includes>oxm/*.xml</includes>
550 <groupId>org.openecomp.aai.aai-service</groupId>
551 <artifactId>aai-schema</artifactId>
552 <version>1.0.0-SNAPSHOT</version>
553 <outputDirectory>src/main</outputDirectory>
554 <includes>aai_schema/*.xsd</includes>
557 <!-- other configurations here -->
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-surefire-plugin</artifactId>
563 <version>2.12.4</version>
565 <skipTests>${skipTests}</skipTests>
566 <reuseForks>false</reuseForks>
567 <threadCount>1</threadCount>
568 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
570 <systemPropertyVariables>
571 <AJSC_HOME>.</AJSC_HOME>
572 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
573 </systemPropertyVariables>
577 <groupId>org.apache.maven.plugins</groupId>
578 <artifactId>maven-deploy-plugin</artifactId>
581 <id>default-deploy</id>
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>