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>
14 <name>aai-gizmo</name>
17 <module.ajsc.namespace.name>crud-api</module.ajsc.namespace.name>
18 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
19 <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion>
20 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
21 <nexusproxy>https://nexus.onap.org</nexusproxy>
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>
29 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
31 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
32 For local testing, you may choose to hardcode this value to something like
34 <serverPort>0</serverPort>
35 <sslport>9520</sslport>
37 <testRouteOffer>workstation</testRouteOffer>
38 <testEnv>DEV</testEnv>
39 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
41 <sonar.language>java</sonar.language>
42 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
43 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
44 </sonar.surefire.reportsPath>
45 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec
46 </sonar.jacoco.reportPath>
47 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
48 <sonar.projectVersion>${project.version}</sonar.projectVersion>
54 <groupId>dom4j</groupId>
55 <artifactId>dom4j</artifactId>
56 <version>1.6.1</version>
57 <scope>provided</scope>
61 <groupId>com.att.aft</groupId>
62 <artifactId>dme2</artifactId>
63 <version>3.1.200</version>
64 <scope>provided</scope>
67 <groupId>commons-io</groupId>
68 <artifactId>commons-io</artifactId>
69 <version>2.4</version>
73 <groupId>com.google.code.gson</groupId>
74 <artifactId>gson</artifactId>
75 <version>2.6.2</version>
78 <!-- Common logging framework -->
80 <groupId>org.openecomp.aai.logging-service</groupId>
81 <artifactId>common-logging</artifactId>
82 <version>1.0.0</version>
86 <groupId>ch.qos.logback</groupId>
87 <artifactId>logback-core</artifactId>
88 <version>1.1.7</version>
92 <groupId>org.onap.aai.aai-common</groupId>
93 <artifactId>aai-schema</artifactId>
94 <version>1.1.0-SNAPSHOT</version>
97 <groupId>org.onap.aai.aai-common</groupId>
98 <artifactId>aai-utils</artifactId>
99 <version>1.1.0-SNAPSHOT</version>
102 <groupId>org.onap.aai.aai-common</groupId>
103 <artifactId>aai-core</artifactId>
104 <version>1.1.0-SNAPSHOT</version>
108 <artifactId>*</artifactId>
114 <groupId>org.onap.aai.aai-common</groupId>
115 <artifactId>aai-auth</artifactId>
116 <version>1.1.0-SNAPSHOT</version>
120 <groupId>org.eclipse.persistence</groupId>
121 <artifactId>eclipselink</artifactId>
122 <version>2.6.2</version>
125 <!-- Champ graph database library. -->
127 <groupId>org.openecomp.aai</groupId>
128 <artifactId>champ</artifactId>
129 <version>1.1.0-SNAPSHOT</version>
130 <scope>compile</scope>
133 <groupId>org.apache.hbase</groupId>
134 <artifactId>hbase-client</artifactId>
140 <groupId>com.jayway.jsonpath</groupId>
141 <artifactId>json-path</artifactId>
142 <version>2.2.0</version>
146 <groupId>org.apache.tinkerpop</groupId>
147 <artifactId>gremlin-core</artifactId>
148 <version>3.1.0-incubating</version>
151 <groupId>org.slf4j</groupId>
152 <artifactId>slf4j-log4j12</artifactId>
155 <groupId>org.slf4j</groupId>
156 <artifactId>jcl-over-slf4j</artifactId>
161 <!-- TEST Dependencies -->
164 <groupId>org.apache.tinkerpop</groupId>
165 <artifactId>tinkergraph-gremlin</artifactId>
166 <version>3.2.3</version>
173 <groupId>org.json</groupId>
174 <artifactId>json</artifactId>
175 <version>20131018</version>
178 <groupId>junit</groupId>
179 <artifactId>junit</artifactId>
188 <name>Maven 2 repository 2</name>
189 <url>http://repo2.maven.org/maven2/</url>
192 <id>ecomp-releases</id>
193 <name>ECOMP Release Repository</name>
194 <url>${nexusproxy}/content/repositories/releases/</url>
197 <id>ecomp-snapshots</id>
198 <name>ECOMP Snapshot Repository</name>
199 <url>${nexusproxy}/content/repositories/snapshots/</url>
202 <id>ecomp-staging</id>
203 <name>ECOMP Staging Repository</name>
204 <url>${nexusproxy}/content/repositories/staging/</url>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-resources-plugin</artifactId>
214 <version>2.7</version>
217 <id>copy-docker-file</id>
218 <phase>package</phase>
220 <goal>copy-resources</goal>
223 <outputDirectory>target</outputDirectory>
224 <overwrite>true</overwrite>
227 <directory>${basedir}/src/main/docker</directory>
228 <filtering>true</filtering>
230 <include>**/*</include>
234 <directory>${basedir}/src/main/bin/</directory>
243 <groupId>com.spotify</groupId>
244 <artifactId>docker-maven-plugin</artifactId>
245 <version>0.4.11</version>
247 <verbose>true</verbose>
248 <serverId>docker-hub</serverId>
249 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
250 <dockerDirectory>${docker.location}</dockerDirectory>
252 <imageTag>latest</imageTag>
254 <forceTags>true</forceTags>
258 <!-- license plugin -->
260 <groupId>com.mycila</groupId>
261 <artifactId>license-maven-plugin</artifactId>
262 <version>3.0</version>
264 <header>License.txt</header>
266 <include>src/main/java/**</include>
274 <phase>process-sources</phase>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-site-plugin</artifactId>
282 <version>3.3</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-checkstyle-plugin</artifactId>
288 <version>2.17</version>
292 <report>checkstyle</report>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-deploy-plugin</artifactId>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>sonar-maven-plugin</artifactId>
312 <version>3.2</version>
316 <groupId>org.jacoco</groupId>
317 <artifactId>jacoco-maven-plugin</artifactId>
318 <version>0.7.7.201606060606</version>
320 <dumpOnExit>true</dumpOnExit>
324 <id>jacoco-initialize-unit-tests</id>
326 <goal>prepare-agent</goal>
329 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
331 <!-- <append>true</append> -->
343 <defaultGoal>initialize</defaultGoal>
346 <groupId>org.codehaus.mojo</groupId>
347 <artifactId>exec-maven-plugin</artifactId>
348 <version>1.3.2</version>
351 <phase>initialize</phase>
356 <includeProjectDependencies>false</includeProjectDependencies>
357 <includePluginDependencies>true</includePluginDependencies>
358 <executable>java</executable>
359 <mainClass>com.att.ajsc.runner.Runner</mainClass>
360 <executableDependency>
361 <groupId>com.att.ajsc</groupId>
362 <artifactId>ajsc-runner</artifactId>
363 </executableDependency>
364 <additionalClasspathElements>
365 <additionalClasspathElement>
366 ${basedir}/ajsc-shared-config/etc
367 </additionalClasspathElement>
368 </additionalClasspathElements>
370 <environmentVariables>
371 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
372 </environmentVariables>
374 <!-- Main AJSC System Properties below (necessary for proper startup) -->
378 <value>${runAjscHome}</value>
381 <key>CONFIG_HOME</key>
382 <value>${basedir}/appconfig-local/</value>
385 <key>AJSC_CONF_HOME</key>
386 <value>${basedir}/bundleconfig-local</value>
389 <key>logback.configurationFile</key>
390 <value>${basedir}/ajsc-shared-config/etc/logback.xml
394 <key>AJSC_SHARED_CONFIG</key>
395 <value>${basedir}/ajsc-shared-config</value>
399 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
400 <value>${basedir}/target/commonLibs</value>
403 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
404 <value>${basedir}/ajsc-shared-config/etc</value>
408 <key>AJSC_SERVICE_NAMESPACE</key>
409 <value>${module.ajsc.namespace.name}</value>
412 <key>AJSC_SERVICE_VERSION</key>
413 <value>${module.ajsc.namespace.version}</value>
416 <key>SOACLOUD_SERVICE_VERSION</key>
417 <value>${project.version}</value>
420 <key>server.port</key>
421 <value>${serverPort}</value>
425 <!-- Command Line Arguments to add to the java command. Here, you
426 can specify the port as well as the Context you want your service to run
427 in. Use context=/ to run in an unnamed Context (Root Context). The default
428 configuration of the AJSC is to run under the / Context. Setting the port
429 here can aid during the development phase of your service. However, you can
430 leave this argument out entirely, and the AJSC will default to using an Ephemeral
433 <argument>context=/</argument>
434 <argument>port=${serverPort}</argument>
435 <argument>sslport=${sslport}</argument>
441 <executable>java</executable>
445 <groupId>com.att.ajsc</groupId>
446 <artifactId>ajsc-runner</artifactId>
447 <version>${ajscRuntimeVersion}</version>
456 <dependencyManagement>
459 <groupId>org.apache.httpcomponents</groupId>
460 <artifactId>httpclient</artifactId>
461 <version>4.5</version>
464 <groupId>org.apache.httpcomponents</groupId>
465 <artifactId>httpcore</artifactId>
466 <version>4.4.1</version>
469 <groupId>org.json</groupId>
470 <artifactId>json</artifactId>
471 <version>20131018</version>
474 </dependencyManagement>
476 <distributionManagement>
478 <id>ecomp-releases</id>
479 <name>ECOMP Release Repository</name>
480 <url>${nexusproxy}/content/repositories/releases/</url>
483 <id>ecomp-snapshots</id>
484 <name>ECOMP Snapshot Repository</name>
485 <url>${nexusproxy}/content/repositories/snapshots/</url>
486 </snapshotRepository>
488 <id>ecomp-javadoc</id>
489 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
491 </distributionManagement>