1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
8 <groupId>com.att.ajsc</groupId>
9 <artifactId>ajsc-archetype-parent</artifactId>
10 <version>2.0.0</version>
13 <groupId>org.onap.aai</groupId>
14 <artifactId>champ-service</artifactId>
15 <version>1.2.0-SNAPSHOT</version>
18 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
19 <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion>
21 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
23 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
24 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
25 version, THIS will be used as your directory structure. If you do NOT want
26 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
28 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
30 <event.client.version>1.2.0</event.client.version>
31 <common.logging.groupid>org.onap.aai.logging-service</common.logging.groupid>
32 <common.logging.version>1.2.0</common.logging.version>
37 <groupId>com.sun.jersey</groupId>
38 <artifactId>jersey-core</artifactId>
39 <version>1.18.6</version>
42 <!-- AJSC Dependencies -->
44 <groupId>dom4j</groupId>
45 <artifactId>dom4j</artifactId>
46 <version>1.6.1</version>
47 <scope>provided</scope>
50 <groupId>com.att.aft</groupId>
51 <artifactId>dme2</artifactId>
52 <version>3.1.200</version>
53 <scope>provided</scope>
56 <!--Adding this dependency explicit.-->
58 <groupId>org.json</groupId>
59 <artifactId>json</artifactId>
60 <version>20160212</version>
64 <groupId>org.glassfish.jersey.core</groupId>
65 <artifactId>jersey-client</artifactId>
66 <version>2.23</version>
70 <groupId>commons-io</groupId>
71 <artifactId>commons-io</artifactId>
72 <version>2.4</version>
76 <groupId>com.google.code.gson</groupId>
77 <artifactId>gson</artifactId>
78 <version>2.6.2</version>
82 <groupId>${common.logging.groupid}</groupId>
83 <artifactId>common-logging</artifactId>
84 <version>${common.logging.version}</version>
88 <groupId>ch.qos.logback</groupId>
89 <artifactId>logback-core</artifactId>
90 <version>1.1.7</version>
94 <groupId>org.eclipse.persistence</groupId>
95 <artifactId>eclipselink</artifactId>
96 <version>2.6.2</version>
99 <!-- Event Bus Library. -->
101 <groupId>org.onap.aai.event-client</groupId>
102 <artifactId>event-client-api</artifactId>
103 <version>${event.client.version}</version>
106 <groupId>org.onap.aai.event-client</groupId>
107 <artifactId>event-client-dmaap</artifactId>
108 <version>${event.client.version}</version>
111 <groupId>org.onap.aai.event-client</groupId>
112 <artifactId>event-client-kafka</artifactId>
113 <version>${event.client.version}</version>
116 <!-- Champ graph database library. -->
118 <groupId>org.onap.aai</groupId>
119 <artifactId>champ-core</artifactId>
120 <version>1.2.0-SNAPSHOT</version>
121 <scope>compile</scope>
124 <groupId>org.apache.hbase</groupId>
125 <artifactId>hbase-client</artifactId>
128 <groupId>org.onap.aai.event-client</groupId>
129 <artifactId>event-client-api</artifactId>
132 <groupId>org.onap.aai.event-client</groupId>
133 <artifactId>event-client-dmaap</artifactId>
136 <groupId>org.onap.aai.event-client</groupId>
137 <artifactId>event-client-kafka</artifactId>
144 <finalName>${project.artifactId}</finalName>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-resources-plugin</artifactId>
149 <version>2.7</version>
152 <id>copy-docker-file</id>
153 <phase>package</phase>
155 <goal>copy-resources</goal>
158 <outputDirectory>target</outputDirectory>
159 <overwrite>true</overwrite>
162 <directory>${basedir}/src/main/docker</directory>
163 <filtering>true</filtering>
165 <include>**/*</include>
169 <directory>${basedir}/src/main/bin/</directory>
178 <groupId>com.mycila</groupId>
179 <artifactId>license-maven-plugin</artifactId>
180 <version>3.0</version>
182 <header>License.txt</header>
184 <include>src/main/java/**</include>
192 <phase>process-sources</phase>
198 <groupId>com.spotify</groupId>
199 <artifactId>docker-maven-plugin</artifactId>
200 <version>0.4.11</version>
202 <verbose>true</verbose>
203 <serverId>docker-hub</serverId>
204 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
205 <dockerDirectory>${docker.location}</dockerDirectory>
207 <imageTag>latest</imageTag>
209 <forceTags>true</forceTags>
214 <groupId>org.jacoco</groupId>
215 <artifactId>jacoco-maven-plugin</artifactId>
216 <version>0.7.9</version>
219 <id>default-prepare-agent</id>
221 <goal>prepare-agent</goal>
225 <id>default-report</id>
226 <phase>prepare-package</phase>
232 <id>default-check</id>
238 <!-- implementation is needed only for Maven 2 -->
239 <rule implementation="org.jacoco.maven.RuleConfiguration">
240 <element>BUNDLE</element>
242 <!-- implementation is needed only for Maven 2 -->
243 <limit implementation="org.jacoco.report.check.Limit">
244 <counter>INSTRUCTION</counter>
245 <value>COVEREDRATIO</value>
246 <minimum>.15</minimum>
248 <limit implementation="org.jacoco.report.check.Limit">
249 <counter>BRANCH</counter>
250 <value>COVEREDRATIO</value>
251 <minimum>.12</minimum>
253 <limit implementation="org.jacoco.report.check.Limit">
254 <counter>COMPLEXITY</counter>
255 <value>COVEREDRATIO</value>
256 <minimum>.15</minimum>
258 <limit implementation="org.jacoco.report.check.Limit">
259 <counter>LINE</counter>
260 <value>COVEREDRATIO</value>
261 <minimum>.10</minimum>
263 <limit implementation="org.jacoco.report.check.Limit">
264 <counter>METHOD</counter>
265 <value>COVEREDRATIO</value>
266 <minimum>.17</minimum>
268 <limit implementation="org.jacoco.report.check.Limit">
269 <counter>CLASS</counter>
270 <value>MISSEDCOUNT</value>
287 <defaultGoal>initialize</defaultGoal>
290 <groupId>org.codehaus.mojo</groupId>
291 <artifactId>exec-maven-plugin</artifactId>
292 <version>1.3.2</version>
295 <phase>initialize</phase>
300 <includeProjectDependencies>false</includeProjectDependencies>
301 <includePluginDependencies>true</includePluginDependencies>
302 <executable>java</executable>
303 <mainClass>com.att.ajsc.runner.Runner</mainClass>
304 <executableDependency>
305 <groupId>com.att.ajsc</groupId>
306 <artifactId>ajsc-runner</artifactId>
307 </executableDependency>
308 <additionalClasspathElements>
309 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
310 </additionalClasspathElements>
312 <environmentVariables>
313 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
314 </environmentVariables>
316 <!-- Main AJSC System Properties below (necessary for proper startup) -->
320 <value>${runAjscHome}</value>
323 <key>CONFIG_HOME</key>
324 <value>${basedir}/appconfig-local/</value>
327 <key>AJSC_CONF_HOME</key>
328 <value>${basedir}/bundleconfig-local</value>
331 <key>logback.configurationFile</key>
332 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
335 <key>AJSC_SHARED_CONFIG</key>
336 <value>${basedir}/ajsc-shared-config</value>
340 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
341 <value>${basedir}/target/commonLibs</value>
344 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
345 <value>${basedir}/ajsc-shared-config/etc</value>
349 <key>AJSC_SERVICE_NAMESPACE</key>
350 <value>${module.ajsc.namespace.name}</value>
353 <key>AJSC_SERVICE_VERSION</key>
354 <value>${module.ajsc.namespace.version}</value>
357 <key>SOACLOUD_SERVICE_VERSION</key>
358 <value>${project.version}</value>
361 <key>server.port</key>
362 <value>${serverPort}</value>
366 <!-- Command Line Arguments to add to the java command. Here, you
367 can specify the port as well as the Context you want your service to run
368 in. Use context=/ to run in an unnamed Context (Root Context). The default
369 configuration of the AJSC is to run under the / Context. Setting the port
370 here can aid during the development phase of your service. However, you can
371 leave this argument out entirely, and the AJSC will default to using an Ephemeral
374 <argument>context=/</argument>
375 <argument>port=${serverPort}</argument>
376 <argument>sslport=${sslport}</argument>
382 <executable>java</executable>
386 <groupId>com.att.ajsc</groupId>
387 <artifactId>ajsc-runner</artifactId>
388 <version>${ajscRuntimeVersion}</version>