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-core</artifactId>
163 <version>1.1.0-SNAPSHOT</version>
167 <artifactId>*</artifactId>
173 <groupId>org.onap.aai.aai-common</groupId>
174 <artifactId>aai-auth</artifactId>
175 <version>1.1.0-SNAPSHOT</version>
179 <groupId>org.eclipse.persistence</groupId>
180 <artifactId>eclipselink</artifactId>
181 <version>2.6.2</version>
184 <!-- Champ graph database library. -->
186 <groupId>org.openecomp.aai</groupId>
187 <artifactId>champ</artifactId>
188 <version>1.1.0-SNAPSHOT</version>
189 <scope>compile</scope>
192 <groupId>org.apache.hbase</groupId>
193 <artifactId>hbase-client</artifactId>
198 <!-- Since for some reason the Champ library marks this artifact as an
199 'optional' dependency, we don't get it as a transitive dependency, even though
200 we are guaranteed No-Clas-Def errors if we don't have it on the class path,
201 so... we need to explicitly include it ourselves... -->
203 <groupId>com.thinkaurelius.titan</groupId>
204 <artifactId>titan-cassandra</artifactId>
205 <version>1.0.0</version>
208 <groupId>org.slf4j</groupId>
209 <artifactId>slf4j-log4j12</artifactId>
215 <groupId>org.json</groupId>
216 <artifactId>json</artifactId>
217 <version>20131018</version>
220 <groupId>junit</groupId>
221 <artifactId>junit</artifactId>
230 <name>Maven 2 repository 2</name>
231 <url>http://repo2.maven.org/maven2/</url>
234 <id>ecomp-releases</id>
235 <name>ECOMP Release Repository</name>
236 <url>${nexusproxy}/content/repositories/releases/</url>
239 <id>ecomp-snapshots</id>
240 <name>ECOMP Snapshot Repository</name>
241 <url>${nexusproxy}/content/repositories/snapshots/</url>
244 <id>ecomp-staging</id>
245 <name>ECOMP Staging Repository</name>
246 <url>${nexusproxy}/content/repositories/staging/</url>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-resources-plugin</artifactId>
256 <version>2.7</version>
259 <id>copy-docker-file</id>
260 <phase>package</phase>
262 <goal>copy-resources</goal>
265 <outputDirectory>target</outputDirectory>
266 <overwrite>true</overwrite>
269 <directory>${basedir}/src/main/docker</directory>
270 <filtering>true</filtering>
272 <include>**/*</include>
276 <directory>${basedir}/src/main/bin/</directory>
285 <groupId>com.spotify</groupId>
286 <artifactId>docker-maven-plugin</artifactId>
287 <version>0.4.11</version>
289 <verbose>true</verbose>
290 <serverId>docker-hub</serverId>
291 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
292 <dockerDirectory>${docker.location}</dockerDirectory>
294 <imageTag>latest</imageTag>
296 <forceTags>true</forceTags>
300 <!-- license plugin -->
302 <groupId>com.mycila</groupId>
303 <artifactId>license-maven-plugin</artifactId>
304 <version>3.0</version>
306 <header>License.txt</header>
308 <include>src/main/java/**</include>
316 <phase>process-sources</phase>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-site-plugin</artifactId>
324 <version>3.3</version>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-checkstyle-plugin</artifactId>
330 <version>2.17</version>
334 <report>checkstyle</report>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-deploy-plugin</artifactId>
352 <groupId>org.codehaus.mojo</groupId>
353 <artifactId>sonar-maven-plugin</artifactId>
354 <version>3.2</version>
358 <groupId>org.jacoco</groupId>
359 <artifactId>jacoco-maven-plugin</artifactId>
360 <version>0.7.7.201606060606</version>
362 <dumpOnExit>true</dumpOnExit>
366 <id>jacoco-initialize-unit-tests</id>
368 <goal>prepare-agent</goal>
371 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
373 <!-- <append>true</append> -->
385 <defaultGoal>initialize</defaultGoal>
388 <groupId>org.codehaus.mojo</groupId>
389 <artifactId>exec-maven-plugin</artifactId>
390 <version>1.3.2</version>
393 <phase>initialize</phase>
398 <includeProjectDependencies>false</includeProjectDependencies>
399 <includePluginDependencies>true</includePluginDependencies>
400 <executable>java</executable>
401 <mainClass>com.att.ajsc.runner.Runner</mainClass>
402 <executableDependency>
403 <groupId>com.att.ajsc</groupId>
404 <artifactId>ajsc-runner</artifactId>
405 </executableDependency>
406 <additionalClasspathElements>
407 <additionalClasspathElement>
408 ${basedir}/ajsc-shared-config/etc
409 </additionalClasspathElement>
410 </additionalClasspathElements>
412 <environmentVariables>
413 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
414 </environmentVariables>
416 <!-- Main AJSC System Properties below (necessary for proper startup) -->
420 <value>${runAjscHome}</value>
423 <key>CONFIG_HOME</key>
424 <value>${basedir}/appconfig-local/</value>
427 <key>AJSC_CONF_HOME</key>
428 <value>${basedir}/bundleconfig-local</value>
431 <key>logback.configurationFile</key>
432 <value>${basedir}/ajsc-shared-config/etc/logback.xml
436 <key>AJSC_SHARED_CONFIG</key>
437 <value>${basedir}/ajsc-shared-config</value>
441 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
442 <value>${basedir}/target/commonLibs</value>
445 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
446 <value>${basedir}/ajsc-shared-config/etc</value>
450 <key>AJSC_SERVICE_NAMESPACE</key>
451 <value>${module.ajsc.namespace.name}</value>
454 <key>AJSC_SERVICE_VERSION</key>
455 <value>${module.ajsc.namespace.version}</value>
458 <key>SOACLOUD_SERVICE_VERSION</key>
459 <value>${project.version}</value>
462 <key>server.port</key>
463 <value>${serverPort}</value>
467 <!-- Command Line Arguments to add to the java command. Here, you
468 can specify the port as well as the Context you want your service to run
469 in. Use context=/ to run in an unnamed Context (Root Context). The default
470 configuration of the AJSC is to run under the / Context. Setting the port
471 here can aid during the development phase of your service. However, you can
472 leave this argument out entirely, and the AJSC will default to using an Ephemeral
475 <argument>context=/</argument>
476 <argument>port=${serverPort}</argument>
477 <argument>sslport=${sslport}</argument>
483 <executable>java</executable>
487 <groupId>com.att.ajsc</groupId>
488 <artifactId>ajsc-runner</artifactId>
489 <version>${ajscRuntimeVersion}</version>
498 <dependencyManagement>
501 <groupId>org.apache.httpcomponents</groupId>
502 <artifactId>httpclient</artifactId>
503 <version>4.5</version>
506 <groupId>org.apache.httpcomponents</groupId>
507 <artifactId>httpcore</artifactId>
508 <version>4.4.1</version>
511 <groupId>org.json</groupId>
512 <artifactId>json</artifactId>
513 <version>20131018</version>
516 </dependencyManagement>
518 <distributionManagement>
520 <id>ecomp-releases</id>
521 <name>ECOMP Release Repository</name>
522 <url>${nexusproxy}/content/repositories/releases/</url>
525 <id>ecomp-snapshots</id>
526 <name>ECOMP Snapshot Repository</name>
527 <url>${nexusproxy}/content/repositories/snapshots/</url>
528 </snapshotRepository>
530 <id>ecomp-javadoc</id>
531 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
533 </distributionManagement>