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>
145 <!-- AAI-CORE specific dependencies -->
147 <groupId>org.apache.tinkerpop</groupId>
148 <artifactId>gremlin-core</artifactId>
149 <version>3.2.3</version>
150 <scope>provided</scope>
153 <groupId>org.slf4j</groupId>
154 <artifactId>slf4j-log4j12</artifactId>
157 <groupId>org.slf4j</groupId>
158 <artifactId>jcl-over-slf4j</artifactId>
164 <groupId>org.apache.tinkerpop</groupId>
165 <artifactId>tinkergraph-gremlin</artifactId>
166 <version>3.2.3</version>
167 <scope>provided</scope>
171 <groupId>org.json</groupId>
172 <artifactId>json</artifactId>
173 <version>20131018</version>
176 <groupId>junit</groupId>
177 <artifactId>junit</artifactId>
186 <name>Maven 2 repository 2</name>
187 <url>http://repo2.maven.org/maven2/</url>
190 <id>ecomp-releases</id>
191 <name>ECOMP Release Repository</name>
192 <url>${nexusproxy}/content/repositories/releases/</url>
195 <id>ecomp-snapshots</id>
196 <name>ECOMP Snapshot Repository</name>
197 <url>${nexusproxy}/content/repositories/snapshots/</url>
200 <id>ecomp-staging</id>
201 <name>ECOMP Staging Repository</name>
202 <url>${nexusproxy}/content/repositories/staging/</url>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-resources-plugin</artifactId>
212 <version>2.7</version>
215 <id>copy-docker-file</id>
216 <phase>package</phase>
218 <goal>copy-resources</goal>
221 <outputDirectory>target</outputDirectory>
222 <overwrite>true</overwrite>
225 <directory>${basedir}/src/main/docker</directory>
226 <filtering>true</filtering>
228 <include>**/*</include>
232 <directory>${basedir}/src/main/bin/</directory>
241 <groupId>com.spotify</groupId>
242 <artifactId>docker-maven-plugin</artifactId>
243 <version>0.4.11</version>
245 <verbose>true</verbose>
246 <serverId>docker-hub</serverId>
247 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
248 <dockerDirectory>${docker.location}</dockerDirectory>
250 <imageTag>latest</imageTag>
252 <forceTags>true</forceTags>
256 <!-- license plugin -->
258 <groupId>com.mycila</groupId>
259 <artifactId>license-maven-plugin</artifactId>
260 <version>3.0</version>
262 <header>License.txt</header>
264 <include>src/main/java/**</include>
272 <phase>process-sources</phase>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-site-plugin</artifactId>
280 <version>3.3</version>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-checkstyle-plugin</artifactId>
286 <version>2.17</version>
290 <report>checkstyle</report>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-deploy-plugin</artifactId>
308 <groupId>org.codehaus.mojo</groupId>
309 <artifactId>sonar-maven-plugin</artifactId>
310 <version>3.2</version>
314 <groupId>org.jacoco</groupId>
315 <artifactId>jacoco-maven-plugin</artifactId>
316 <version>0.7.7.201606060606</version>
318 <dumpOnExit>true</dumpOnExit>
322 <id>jacoco-initialize-unit-tests</id>
324 <goal>prepare-agent</goal>
327 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
329 <!-- <append>true</append> -->
341 <defaultGoal>initialize</defaultGoal>
344 <groupId>org.codehaus.mojo</groupId>
345 <artifactId>exec-maven-plugin</artifactId>
346 <version>1.3.2</version>
349 <phase>initialize</phase>
354 <includeProjectDependencies>false</includeProjectDependencies>
355 <includePluginDependencies>true</includePluginDependencies>
356 <executable>java</executable>
357 <mainClass>com.att.ajsc.runner.Runner</mainClass>
358 <executableDependency>
359 <groupId>com.att.ajsc</groupId>
360 <artifactId>ajsc-runner</artifactId>
361 </executableDependency>
362 <additionalClasspathElements>
363 <additionalClasspathElement>
364 ${basedir}/ajsc-shared-config/etc
365 </additionalClasspathElement>
366 </additionalClasspathElements>
368 <environmentVariables>
369 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
370 </environmentVariables>
372 <!-- Main AJSC System Properties below (necessary for proper startup) -->
376 <value>${runAjscHome}</value>
379 <key>CONFIG_HOME</key>
380 <value>${basedir}/appconfig-local/</value>
383 <key>AJSC_CONF_HOME</key>
384 <value>${basedir}/bundleconfig-local</value>
387 <key>logback.configurationFile</key>
388 <value>${basedir}/ajsc-shared-config/etc/logback.xml
392 <key>AJSC_SHARED_CONFIG</key>
393 <value>${basedir}/ajsc-shared-config</value>
397 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
398 <value>${basedir}/target/commonLibs</value>
401 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
402 <value>${basedir}/ajsc-shared-config/etc</value>
406 <key>AJSC_SERVICE_NAMESPACE</key>
407 <value>${module.ajsc.namespace.name}</value>
410 <key>AJSC_SERVICE_VERSION</key>
411 <value>${module.ajsc.namespace.version}</value>
414 <key>SOACLOUD_SERVICE_VERSION</key>
415 <value>${project.version}</value>
418 <key>server.port</key>
419 <value>${serverPort}</value>
423 <!-- Command Line Arguments to add to the java command. Here, you
424 can specify the port as well as the Context you want your service to run
425 in. Use context=/ to run in an unnamed Context (Root Context). The default
426 configuration of the AJSC is to run under the / Context. Setting the port
427 here can aid during the development phase of your service. However, you can
428 leave this argument out entirely, and the AJSC will default to using an Ephemeral
431 <argument>context=/</argument>
432 <argument>port=${serverPort}</argument>
433 <argument>sslport=${sslport}</argument>
439 <executable>java</executable>
443 <groupId>com.att.ajsc</groupId>
444 <artifactId>ajsc-runner</artifactId>
445 <version>${ajscRuntimeVersion}</version>
454 <dependencyManagement>
457 <groupId>org.apache.httpcomponents</groupId>
458 <artifactId>httpclient</artifactId>
459 <version>4.5</version>
462 <groupId>org.apache.httpcomponents</groupId>
463 <artifactId>httpcore</artifactId>
464 <version>4.4.1</version>
467 <groupId>org.json</groupId>
468 <artifactId>json</artifactId>
469 <version>20131018</version>
472 </dependencyManagement>
474 <distributionManagement>
476 <id>ecomp-releases</id>
477 <name>ECOMP Release Repository</name>
478 <url>${nexusproxy}/content/repositories/releases/</url>
481 <id>ecomp-snapshots</id>
482 <name>ECOMP Snapshot Repository</name>
483 <url>${nexusproxy}/content/repositories/snapshots/</url>
484 </snapshotRepository>
486 <id>ecomp-javadoc</id>
487 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
489 </distributionManagement>