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>
77 <!-- Common logging framework -->
79 <groupId>org.openecomp.aai.logging-service</groupId>
80 <artifactId>common-logging</artifactId>
81 <version>1.0.0</version>
85 <groupId>ch.qos.logback</groupId>
86 <artifactId>logback-core</artifactId>
87 <version>1.1.7</version>
91 <groupId>org.onap.aai.aai-common</groupId>
92 <artifactId>aai-schema</artifactId>
93 <version>1.1.0-SNAPSHOT</version>
96 <groupId>org.onap.aai.aai-common</groupId>
97 <artifactId>aai-utils</artifactId>
98 <version>1.1.0-SNAPSHOT</version>
101 <groupId>org.onap.aai.aai-common</groupId>
102 <artifactId>aai-core</artifactId>
103 <version>1.1.0-SNAPSHOT</version>
107 <artifactId>*</artifactId>
113 <groupId>org.onap.aai.aai-common</groupId>
114 <artifactId>aai-auth</artifactId>
115 <version>1.1.0-SNAPSHOT</version>
119 <groupId>org.eclipse.persistence</groupId>
120 <artifactId>eclipselink</artifactId>
121 <version>2.6.2</version>
124 <!-- Champ graph database library. -->
126 <groupId>org.openecomp.aai</groupId>
127 <artifactId>champ</artifactId>
128 <version>1.1.0-SNAPSHOT</version>
129 <scope>compile</scope>
132 <groupId>org.apache.hbase</groupId>
133 <artifactId>hbase-client</artifactId>
139 <groupId>com.jayway.jsonpath</groupId>
140 <artifactId>json-path</artifactId>
141 <version>2.2.0</version>
145 <groupId>org.apache.tinkerpop</groupId>
146 <artifactId>gremlin-core</artifactId>
147 <version>3.1.0-incubating</version>
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-log4j12</artifactId>
154 <groupId>org.slf4j</groupId>
155 <artifactId>jcl-over-slf4j</artifactId>
160 <!-- TEST Dependencies -->
163 <groupId>org.apache.tinkerpop</groupId>
164 <artifactId>tinkergraph-gremlin</artifactId>
165 <version>3.2.3</version>
172 <groupId>org.json</groupId>
173 <artifactId>json</artifactId>
174 <version>20131018</version>
177 <groupId>junit</groupId>
178 <artifactId>junit</artifactId>
187 <name>Maven 2 repository 2</name>
188 <url>http://repo2.maven.org/maven2/</url>
191 <id>ecomp-releases</id>
192 <name>ECOMP Release Repository</name>
193 <url>${nexusproxy}/content/repositories/releases/</url>
196 <id>ecomp-snapshots</id>
197 <name>ECOMP Snapshot Repository</name>
198 <url>${nexusproxy}/content/repositories/snapshots/</url>
201 <id>ecomp-staging</id>
202 <name>ECOMP Staging Repository</name>
203 <url>${nexusproxy}/content/repositories/staging/</url>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-resources-plugin</artifactId>
213 <version>2.7</version>
216 <id>copy-docker-file</id>
217 <phase>package</phase>
219 <goal>copy-resources</goal>
222 <outputDirectory>target</outputDirectory>
223 <overwrite>true</overwrite>
226 <directory>${basedir}/src/main/docker</directory>
227 <filtering>true</filtering>
229 <include>**/*</include>
233 <directory>${basedir}/src/main/bin/</directory>
242 <groupId>com.spotify</groupId>
243 <artifactId>docker-maven-plugin</artifactId>
244 <version>0.4.11</version>
246 <verbose>true</verbose>
247 <serverId>docker-hub</serverId>
248 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
249 <dockerDirectory>${docker.location}</dockerDirectory>
251 <imageTag>latest</imageTag>
253 <forceTags>true</forceTags>
257 <!-- license plugin -->
259 <groupId>com.mycila</groupId>
260 <artifactId>license-maven-plugin</artifactId>
261 <version>3.0</version>
263 <header>License.txt</header>
265 <include>src/main/java/**</include>
273 <phase>process-sources</phase>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-site-plugin</artifactId>
281 <version>3.3</version>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-checkstyle-plugin</artifactId>
287 <version>2.17</version>
291 <report>checkstyle</report>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-deploy-plugin</artifactId>
309 <groupId>org.codehaus.mojo</groupId>
310 <artifactId>sonar-maven-plugin</artifactId>
311 <version>3.2</version>
315 <groupId>org.jacoco</groupId>
316 <artifactId>jacoco-maven-plugin</artifactId>
317 <version>0.7.7.201606060606</version>
319 <dumpOnExit>true</dumpOnExit>
323 <id>jacoco-initialize-unit-tests</id>
325 <goal>prepare-agent</goal>
328 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
330 <!-- <append>true</append> -->
342 <defaultGoal>initialize</defaultGoal>
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>exec-maven-plugin</artifactId>
347 <version>1.3.2</version>
350 <phase>initialize</phase>
355 <includeProjectDependencies>false</includeProjectDependencies>
356 <includePluginDependencies>true</includePluginDependencies>
357 <executable>java</executable>
358 <mainClass>com.att.ajsc.runner.Runner</mainClass>
359 <executableDependency>
360 <groupId>com.att.ajsc</groupId>
361 <artifactId>ajsc-runner</artifactId>
362 </executableDependency>
363 <additionalClasspathElements>
364 <additionalClasspathElement>
365 ${basedir}/ajsc-shared-config/etc
366 </additionalClasspathElement>
367 </additionalClasspathElements>
369 <environmentVariables>
370 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
371 </environmentVariables>
373 <!-- Main AJSC System Properties below (necessary for proper startup) -->
377 <value>${runAjscHome}</value>
380 <key>CONFIG_HOME</key>
381 <value>${basedir}/appconfig-local/</value>
384 <key>AJSC_CONF_HOME</key>
385 <value>${basedir}/bundleconfig-local</value>
388 <key>logback.configurationFile</key>
389 <value>${basedir}/ajsc-shared-config/etc/logback.xml
393 <key>AJSC_SHARED_CONFIG</key>
394 <value>${basedir}/ajsc-shared-config</value>
398 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
399 <value>${basedir}/target/commonLibs</value>
402 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
403 <value>${basedir}/ajsc-shared-config/etc</value>
407 <key>AJSC_SERVICE_NAMESPACE</key>
408 <value>${module.ajsc.namespace.name}</value>
411 <key>AJSC_SERVICE_VERSION</key>
412 <value>${module.ajsc.namespace.version}</value>
415 <key>SOACLOUD_SERVICE_VERSION</key>
416 <value>${project.version}</value>
419 <key>server.port</key>
420 <value>${serverPort}</value>
424 <!-- Command Line Arguments to add to the java command. Here, you
425 can specify the port as well as the Context you want your service to run
426 in. Use context=/ to run in an unnamed Context (Root Context). The default
427 configuration of the AJSC is to run under the / Context. Setting the port
428 here can aid during the development phase of your service. However, you can
429 leave this argument out entirely, and the AJSC will default to using an Ephemeral
432 <argument>context=/</argument>
433 <argument>port=${serverPort}</argument>
434 <argument>sslport=${sslport}</argument>
440 <executable>java</executable>
444 <groupId>com.att.ajsc</groupId>
445 <artifactId>ajsc-runner</artifactId>
446 <version>${ajscRuntimeVersion}</version>
455 <dependencyManagement>
458 <groupId>org.apache.httpcomponents</groupId>
459 <artifactId>httpclient</artifactId>
460 <version>4.5</version>
463 <groupId>org.apache.httpcomponents</groupId>
464 <artifactId>httpcore</artifactId>
465 <version>4.4.1</version>
468 <groupId>org.json</groupId>
469 <artifactId>json</artifactId>
470 <version>20131018</version>
473 </dependencyManagement>
475 <distributionManagement>
477 <id>ecomp-releases</id>
478 <name>ECOMP Release Repository</name>
479 <url>${nexusproxy}/content/repositories/releases/</url>
482 <id>ecomp-snapshots</id>
483 <name>ECOMP Snapshot Repository</name>
484 <url>${nexusproxy}/content/repositories/snapshots/</url>
485 </snapshotRepository>
487 <id>ecomp-javadoc</id>
488 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
490 </distributionManagement>