1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
7 <artifactId>ajsc-archetype-parent</artifactId>
8 <groupId>com.att.ajsc</groupId>
9 <version>2.0.0</version>
11 <groupId>org.onap.aai.gizmo</groupId>
12 <artifactId>gizmo</artifactId>
13 <version>1.1.0-SNAPSHOT</version>
16 <module.ajsc.namespace.name>crud-api</module.ajsc.namespace.name>
17 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
18 <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion>
19 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
20 <nexusproxy>https://nexus.onap.org</nexusproxy>
22 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
23 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
24 version, THIS will be used as your directory structure. If you do NOT want
25 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
27 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
28 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
30 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
31 For local testing, you may choose to hardcode this value to something like
33 <serverPort>0</serverPort>
34 <sslport>9520</sslport>
36 <testRouteOffer>workstation</testRouteOffer>
37 <testEnv>DEV</testEnv>
38 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
40 <sonar.language>java</sonar.language>
41 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
42 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
43 </sonar.surefire.reportsPath>
44 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec
45 </sonar.jacoco.reportPath>
46 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
47 <sonar.projectVersion>${project.version}</sonar.projectVersion>
53 <groupId>dom4j</groupId>
54 <artifactId>dom4j</artifactId>
55 <version>1.6.1</version>
56 <scope>provided</scope>
60 <groupId>com.att.aft</groupId>
61 <artifactId>dme2</artifactId>
62 <version>3.1.200</version>
63 <scope>provided</scope>
66 <groupId>commons-io</groupId>
67 <artifactId>commons-io</artifactId>
68 <version>2.4</version>
72 <groupId>com.google.code.gson</groupId>
73 <artifactId>gson</artifactId>
74 <version>2.6.2</version>
78 <groupId>com.thinkaurelius.titan</groupId>
79 <artifactId>titan-cassandra</artifactId>
80 <version>1.0.0</version>
83 <groupId>org.apache.tinkerpop</groupId>
84 <artifactId>gremlin-groovy</artifactId>
87 <groupId>org.slf4j</groupId>
88 <artifactId>slf4j-log4j12</artifactId>
91 <groupId>ch.qos.logback</groupId>
92 <artifactId>logback-classic</artifactId>
95 <groupId>org.apache.tinkerpop</groupId>
96 <artifactId>gremlin-core</artifactId>
102 <groupId>com.thinkaurelius.titan</groupId>
103 <artifactId>titan-hbase</artifactId>
104 <version>1.0.0</version>
107 <groupId>org.apache.tinkerpop</groupId>
108 <artifactId>gremlin-groovy</artifactId>
111 <groupId>org.slf4j</groupId>
112 <artifactId>slf4j-log4j12</artifactId>
115 <groupId>ch.qos.logback</groupId>
116 <artifactId>logback-classic</artifactId>
119 <groupId>org.apache.tinkerpop</groupId>
120 <artifactId>gremlin-core</artifactId>
126 <groupId>org.apache.hbase</groupId>
127 <artifactId>hbase-client</artifactId>
128 <version>1.0.2</version>
131 <groupId>org.slf4j</groupId>
132 <artifactId>slf4j-log4j12</artifactId>
135 <groupId>com.google.guava</groupId>
136 <artifactId>guava</artifactId>
141 <!-- Common logging framework -->
143 <groupId>org.openecomp.aai.logging-service</groupId>
144 <artifactId>common-logging</artifactId>
145 <version>1.0.0</version>
149 <groupId>ch.qos.logback</groupId>
150 <artifactId>logback-core</artifactId>
151 <version>1.1.7</version>
155 <groupId>org.onap.aai.aai-common</groupId>
156 <artifactId>aai-schema</artifactId>
157 <version>1.1.0-SNAPSHOT</version>
161 <groupId>org.onap.aai.aai-common</groupId>
162 <artifactId>aai-auth</artifactId>
163 <version>1.1.0-SNAPSHOT</version>
167 <groupId>org.eclipse.persistence</groupId>
168 <artifactId>eclipselink</artifactId>
169 <version>2.6.2</version>
172 <!-- Champ graph database library. -->
174 <groupId>org.openecomp.aai</groupId>
175 <artifactId>champ</artifactId>
176 <version>1.0.0-SNAPSHOT</version>
177 <scope>compile</scope>
180 <groupId>org.apache.hbase</groupId>
181 <artifactId>hbase-client</artifactId>
186 <!-- Since for some reason the Champ library marks this artifact as an
187 'optional' dependency, we don't get it as a transitive dependency, even though
188 we are guaranteed No-Clas-Def errors if we don't have it on the class path,
189 so... we need to explicitly include it ourselves... -->
191 <groupId>com.thinkaurelius.titan</groupId>
192 <artifactId>titan-cassandra</artifactId>
193 <version>1.0.0</version>
196 <groupId>org.slf4j</groupId>
197 <artifactId>slf4j-log4j12</artifactId>
203 <groupId>org.json</groupId>
204 <artifactId>json</artifactId>
205 <version>20131018</version>
214 <name>Maven 2 repository 2</name>
215 <url>http://repo2.maven.org/maven2/</url>
218 <id>ecomp-releases</id>
219 <name>ECOMP Release Repository</name>
220 <url>${nexusproxy}/content/repositories/releases/</url>
223 <id>ecomp-snapshots</id>
224 <name>ECOMP Snapshot Repository</name>
225 <url>${nexusproxy}/content/repositories/snapshots/</url>
228 <id>ecomp-staging</id>
229 <name>ECOMP Staging Repository</name>
230 <url>${nexusproxy}/content/repositories/staging/</url>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-resources-plugin</artifactId>
240 <version>2.7</version>
243 <id>copy-docker-file</id>
244 <phase>package</phase>
246 <goal>copy-resources</goal>
249 <outputDirectory>target</outputDirectory>
250 <overwrite>true</overwrite>
253 <directory>${basedir}/src/main/docker</directory>
254 <filtering>true</filtering>
256 <include>**/*</include>
260 <directory>${basedir}/src/main/bin/</directory>
269 <groupId>com.spotify</groupId>
270 <artifactId>docker-maven-plugin</artifactId>
271 <version>0.4.11</version>
273 <verbose>true</verbose>
274 <serverId>docker-hub</serverId>
275 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
276 <dockerDirectory>${docker.location}</dockerDirectory>
278 <imageTag>latest</imageTag>
280 <forceTags>true</forceTags>
284 <!-- license plugin -->
286 <groupId>com.mycila</groupId>
287 <artifactId>license-maven-plugin</artifactId>
288 <version>3.0</version>
290 <header>License.txt</header>
292 <include>src/main/java/**</include>
300 <phase>process-sources</phase>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-site-plugin</artifactId>
308 <version>3.3</version>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-checkstyle-plugin</artifactId>
314 <version>2.17</version>
318 <report>checkstyle</report>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-deploy-plugin</artifactId>
336 <groupId>org.codehaus.mojo</groupId>
337 <artifactId>sonar-maven-plugin</artifactId>
338 <version>3.2</version>
342 <groupId>org.jacoco</groupId>
343 <artifactId>jacoco-maven-plugin</artifactId>
344 <version>0.7.7.201606060606</version>
346 <dumpOnExit>true</dumpOnExit>
350 <id>jacoco-initialize-unit-tests</id>
352 <goal>prepare-agent</goal>
355 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
357 <!-- <append>true</append> -->
369 <defaultGoal>initialize</defaultGoal>
372 <groupId>org.codehaus.mojo</groupId>
373 <artifactId>exec-maven-plugin</artifactId>
374 <version>1.3.2</version>
377 <phase>initialize</phase>
382 <includeProjectDependencies>false</includeProjectDependencies>
383 <includePluginDependencies>true</includePluginDependencies>
384 <executable>java</executable>
385 <mainClass>com.att.ajsc.runner.Runner</mainClass>
386 <executableDependency>
387 <groupId>com.att.ajsc</groupId>
388 <artifactId>ajsc-runner</artifactId>
389 </executableDependency>
390 <additionalClasspathElements>
391 <additionalClasspathElement>
392 ${basedir}/ajsc-shared-config/etc
393 </additionalClasspathElement>
394 </additionalClasspathElements>
396 <environmentVariables>
397 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
398 </environmentVariables>
400 <!-- Main AJSC System Properties below (necessary for proper startup) -->
404 <value>${runAjscHome}</value>
407 <key>CONFIG_HOME</key>
408 <value>${basedir}/appconfig-local/</value>
411 <key>AJSC_CONF_HOME</key>
412 <value>${basedir}/bundleconfig-local</value>
415 <key>logback.configurationFile</key>
416 <value>${basedir}/ajsc-shared-config/etc/logback.xml
420 <key>AJSC_SHARED_CONFIG</key>
421 <value>${basedir}/ajsc-shared-config</value>
425 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
426 <value>${basedir}/target/commonLibs</value>
429 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
430 <value>${basedir}/ajsc-shared-config/etc</value>
434 <key>AJSC_SERVICE_NAMESPACE</key>
435 <value>${module.ajsc.namespace.name}</value>
438 <key>AJSC_SERVICE_VERSION</key>
439 <value>${module.ajsc.namespace.version}</value>
442 <key>SOACLOUD_SERVICE_VERSION</key>
443 <value>${project.version}</value>
446 <key>server.port</key>
447 <value>${serverPort}</value>
451 <!-- Command Line Arguments to add to the java command. Here, you
452 can specify the port as well as the Context you want your service to run
453 in. Use context=/ to run in an unnamed Context (Root Context). The default
454 configuration of the AJSC is to run under the / Context. Setting the port
455 here can aid during the development phase of your service. However, you can
456 leave this argument out entirely, and the AJSC will default to using an Ephemeral
459 <argument>context=/</argument>
460 <argument>port=${serverPort}</argument>
461 <argument>sslport=${sslport}</argument>
467 <executable>java</executable>
471 <groupId>com.att.ajsc</groupId>
472 <artifactId>ajsc-runner</artifactId>
473 <version>${ajscRuntimeVersion}</version>
482 <dependencyManagement>
485 <groupId>org.apache.httpcomponents</groupId>
486 <artifactId>httpclient</artifactId>
487 <version>4.5</version>
490 <groupId>org.apache.httpcomponents</groupId>
491 <artifactId>httpcore</artifactId>
492 <version>4.4.1</version>
495 <groupId>org.json</groupId>
496 <artifactId>json</artifactId>
497 <version>20131018</version>
500 </dependencyManagement>
502 <distributionManagement>
504 <id>ecomp-releases</id>
505 <name>ECOMP Release Repository</name>
506 <url>${nexusproxy}/content/repositories/releases/</url>
509 <id>ecomp-snapshots</id>
510 <name>ECOMP Snapshot Repository</name>
511 <url>${nexusproxy}/content/repositories/snapshots/</url>
512 </snapshotRepository>
514 <id>ecomp-javadoc</id>
515 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
517 </distributionManagement>