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>
89 <groupId>jdk.tools</groupId>
90 <artifactId>jdk.tools</artifactId>
91 <version>1.8.0</version>
93 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
103 <version>16.0</version>
106 <groupId>com.thinkaurelius.titan</groupId>
107 <artifactId>titan-core</artifactId>
108 <version>1.0.0</version>
111 <groupId>org.slf4j</groupId>
112 <artifactId>slf4j-log4j12</artifactId>
117 <groupId>com.thinkaurelius.titan</groupId>
118 <artifactId>titan-hbase</artifactId>
119 <version>1.0.0</version>
122 <groupId>org.slf4j</groupId>
123 <artifactId>slf4j-log4j12</artifactId>
128 <groupId>org.apache.tinkerpop</groupId>
129 <artifactId>tinkerpop</artifactId>
130 <version>3.1.0-incubating</version>
134 <groupId>org.apache.hbase</groupId>
135 <artifactId>hbase-client</artifactId>
136 <version>1.0.2</version>
139 <groupId>org.slf4j</groupId>
140 <artifactId>slf4j-log4j12</artifactId>
143 <artifactId>log4j</artifactId>
144 <groupId>log4j</groupId>
149 <groupId>org.apache.hbase</groupId>
150 <artifactId>hbase-protocol</artifactId>
151 <version>1.0.2</version>
154 <artifactId>log4j</artifactId>
155 <groupId>log4j</groupId>
160 <groupId>org.apache.hbase</groupId>
161 <artifactId>hbase-common</artifactId>
162 <version>1.0.2</version>
165 <artifactId>log4j</artifactId>
166 <groupId>log4j</groupId>
171 <groupId>com.google.inject.extensions</groupId>
172 <artifactId>guice-servlet</artifactId>
173 <version>3.0</version>
176 <groupId>com.google.inject</groupId>
177 <artifactId>guice</artifactId>
178 <version>3.0</version>
182 <groupId>com.sun.jersey</groupId>
183 <artifactId>jersey-json</artifactId>
184 <version>1.18</version>
187 <groupId>jivesoftware</groupId>
188 <artifactId>smack</artifactId>
189 <version>3.0.4</version>
193 <groupId>com.fasterxml.jackson.jaxrs</groupId>
194 <artifactId>jackson-jaxrs-json-provider</artifactId>
195 <version>2.1.4</version>
198 <groupId>com.googlecode.json-simple</groupId>
199 <artifactId>json-simple</artifactId>
200 <version>1.1.1</version>
203 <groupId>com.sun.jersey</groupId>
204 <artifactId>jersey-client</artifactId>
205 <version>1.18</version>
208 <groupId>org.springframework</groupId>
209 <artifactId>spring-web</artifactId>
210 <version>4.2.5.RELEASE</version>
213 <groupId>org.springframework.ws</groupId>
214 <artifactId>spring-ws</artifactId>
215 <version>1.5.2</version>
216 <!--<version>2.1.3-RELEASE</version> -->
219 <groupId>org.springframework</groupId>
220 <artifactId>spring-core</artifactId>
221 <version>4.2.5.RELEASE</version>
224 <groupId>org.mockito</groupId>
225 <artifactId>mockito-all</artifactId>
226 <version>1.10.19</version>
231 <groupId>org.powermock</groupId>
232 <artifactId>powermock-module-junit4</artifactId>
233 <version>1.6.2</version>
237 <groupId>org.powermock</groupId>
238 <artifactId>powermock-api-mockito</artifactId>
239 <version>1.6.2</version>
243 <groupId>com.beust</groupId>
244 <artifactId>jcommander</artifactId>
245 <version>1.48</version>
248 <groupId>org.json</groupId>
249 <artifactId>json</artifactId>
250 <version>20090211</version>
253 <groupId>org.freemarker</groupId>
254 <artifactId>freemarker</artifactId>
255 <version>2.3.14</version>
258 <groupId>javax.xml.bind</groupId>
259 <artifactId>jaxb-api</artifactId>
260 <version>2.2.11</version>
263 <groupId>com.sun.xml.bind</groupId>
264 <artifactId>jaxb-impl</artifactId>
265 <version>2.2.11</version>
268 <groupId>com.sun.xml.bind</groupId>
269 <artifactId>jaxb-core</artifactId>
270 <version>2.2.11</version>
273 <groupId>com.sun.xml.bind</groupId>
274 <artifactId>jaxb-xjc</artifactId>
275 <version>2.2.11</version>
278 <groupId>org.eclipse.persistence</groupId>
279 <artifactId>eclipselink</artifactId>
280 <version>2.6.2</version>
283 <groupId>org.eclipse.persistence</groupId>
284 <artifactId>org.eclipse.persistence.moxy</artifactId>
285 <version>2.6.2</version>
286 <scope>compile</scope>
289 <groupId>org.powermock</groupId>
290 <artifactId>powermock-module-javaagent</artifactId>
291 <version>1.6.2</version>
295 <groupId>org.powermock</groupId>
296 <artifactId>powermock-module-junit4-rule-agent</artifactId>
297 <version>1.6.2</version>
301 <groupId>com.github.fge</groupId>
302 <artifactId>json-patch</artifactId>
303 <version>1.9</version>
306 <groupId>org.javatuples</groupId>
307 <artifactId>javatuples</artifactId>
308 <version>1.2</version>
309 <scope>compile</scope>
312 <groupId>com.google.code.gson</groupId>
313 <artifactId>gson</artifactId>
314 <version>2.7</version>
317 <groupId>com.att.nsa</groupId>
318 <artifactId>dmaapClient</artifactId>
319 <version>0.2.12</version>
322 <groupId>org.apache.httpcomponents</groupId>
323 <artifactId>httpcore</artifactId>
324 <version>4.4</version>
327 <groupId>org.apache.activemq</groupId>
328 <artifactId>activemq-broker</artifactId>
329 <version>5.12.2</version>
333 <groupId>org.openecomp.aai.aai-service</groupId>
334 <artifactId>annotations</artifactId>
335 <version>1.0.0-SNAPSHOT</version>
341 <groupId>org.jvnet.jaxb2.maven2</groupId>
342 <artifactId>maven-jaxb2-plugin</artifactId>
343 <version>0.13.1</version>
348 <goal>generate</goal>
353 <extension>true</extension>
355 <arg>-Xannotate</arg>
357 <generateDirectory>target/generated-sources</generateDirectory>
358 <schemaDirectory>src/main/aai_schema</schemaDirectory>
359 <bindingDirectory>src/main/xjb</bindingDirectory>
362 <groupId>org.jvnet.jaxb2_commons</groupId>
363 <artifactId>jaxb2-basics-annotate</artifactId>
364 <version>1.0.2</version>
367 <groupId>org.jvnet.jaxb2_commons</groupId>
368 <artifactId>jaxb2-basics</artifactId>
369 <version>1.11.1</version>
372 <groupId>org.jvnet.jaxb2_commons</groupId>
373 <artifactId>jaxb2-basics-runtime</artifactId>
374 <version>1.11.1</version>
377 <groupId>org.jvnet.jaxb2_commons</groupId>
378 <artifactId>jaxb2-basics-tools</artifactId>
379 <version>1.11.1</version>
382 <groupId>org.openecomp.aai.aai-service</groupId>
383 <artifactId>annotations</artifactId>
384 <version>${project.release}</version>
390 <groupId>org.jsonschema2pojo</groupId>
391 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
392 <version>0.4.13</version>
394 <sourceType>jsonschema</sourceType>
395 <sourceDirectory>src/main/resources/json</sourceDirectory>
396 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
397 <annotationStyle>jackson2</annotationStyle>
398 <generateBuilders>true</generateBuilders>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-jar-plugin</artifactId>
404 <version>2.4</version>
407 <id>aai-custom-jar</id>
408 <phase>prepare-package</phase>
414 <include>org/openecomp/aai/util/**/*</include>
416 <finalName>aai-custom</finalName>
420 <id>aai-logging-jar</id>
421 <phase>prepare-package</phase>
427 <include>org/openecomp/aai/logging/**/*</include>
429 <finalName>aai-logging</finalName>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-dependency-plugin</artifactId>
437 <version>2.5.1</version>
441 <phase>process-test-classes</phase>
448 <groupId>org.powermock</groupId>
449 <artifactId>powermock-module-javaagent</artifactId>
450 <version>1.6.2</version>
451 <outputDirectory>${project.build.directory}/agents</outputDirectory>
452 <destFileName>powermock-javaagent.jar</destFileName>
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-dependency-plugin</artifactId>
464 <id>unpack-schema-dependency</id>
465 <phase>initialize</phase>
474 <groupId>org.openecomp.aai.aai-service</groupId>
475 <artifactId>aai-schema</artifactId>
476 <version>1.0.0-SNAPSHOT</version>
477 <outputDirectory>bundleconfig-local/etc</outputDirectory>
478 <includes>oxm/*.xml</includes>
481 <groupId>org.openecomp.aai.aai-service</groupId>
482 <artifactId>aai-schema</artifactId>
483 <version>1.0.0-SNAPSHOT</version>
484 <outputDirectory>src/main</outputDirectory>
485 <includes>aai_schema/*.xsd</includes>
488 <!-- other configurations here -->
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-surefire-plugin</artifactId>
494 <version>2.12.4</version>
496 <reuseForks>false</reuseForks>
497 <threadCount>1</threadCount>
498 <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
500 <systemPropertyVariables>
501 <AJSC_HOME>.</AJSC_HOME>
502 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
503 </systemPropertyVariables>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-deploy-plugin</artifactId>
511 <id>default-deploy</id>
519 <!-- Use this profile to run the AJSC locally. This profile can be successfully
520 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
521 available with this profile. -->
523 <id>passwordGenerator</id>
525 <defaultGoal>initialize</defaultGoal>
528 <groupId>org.codehaus.mojo</groupId>
529 <artifactId>exec-maven-plugin</artifactId>
530 <version>1.3.2</version>
533 <phase>initialize</phase>
538 <mainClass>org.eclipse.jetty.util.security.Password</mainClass>
540 <argument>user</argument>
541 <argument>changeit</argument>
547 <executable>java</executable>
556 <defaultGoal>docker:build</defaultGoal>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-resources-plugin</artifactId>
561 <version>2.7</version>
564 <id>copy-docker-file</id>
565 <phase>package</phase>
567 <goal>copy-resources</goal>
570 <outputDirectory>${dockerLocation}</outputDirectory>
571 <overwrite>true</overwrite>
574 <directory>${basedir}/src/main/resources/docker</directory>
575 <filtering>true</filtering>
577 <include>**/*</include>
584 <id>copy-commonlibs-file</id>
585 <phase>package</phase>
587 <goal>copy-resources</goal>
590 <outputDirectory>${dockerLocation}/commonLibs</outputDirectory>
591 <overwrite>true</overwrite>
594 <directory>${basedir}/target/commonLibs</directory>
595 <filtering>false</filtering>
597 <include>*.jar</include>
606 <groupId>com.spotify</groupId>
607 <artifactId>docker-maven-plugin</artifactId>
608 <version>0.4.11</version>
610 <verbose>true</verbose>
612 <imageName>${docker.push.registry}/ecomp/${project.artifactId}</imageName>
613 <dockerDirectory>${dockerLocation}</dockerDirectory>
614 <serverId>docker-hub</serverId>
616 <imageTag>${docker_imageversion}</imageTag>
617 <imageTag>latest</imageTag>
619 <forceTags>true</forceTags>