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>
97 <groupId>org.onap.aai.aai-common</groupId>
98 <artifactId>aai-core</artifactId>
99 <version>1.1.0-SNAPSHOT</version>
103 <artifactId>*</artifactId>
109 <groupId>org.onap.aai.aai-common</groupId>
110 <artifactId>aai-auth</artifactId>
111 <version>1.1.0-SNAPSHOT</version>
115 <groupId>org.eclipse.persistence</groupId>
116 <artifactId>eclipselink</artifactId>
117 <version>2.6.2</version>
120 <!-- Champ graph database library. -->
122 <groupId>org.openecomp.aai</groupId>
123 <artifactId>champ</artifactId>
124 <version>1.1.0-SNAPSHOT</version>
125 <scope>compile</scope>
128 <groupId>org.apache.hbase</groupId>
129 <artifactId>hbase-client</artifactId>
134 <!-- TEST Dependencies -->
137 <groupId>org.apache.tinkerpop</groupId>
138 <artifactId>tinkergraph-gremlin</artifactId>
139 <version>3.2.3</version>
144 <groupId>org.apache.tinkerpop</groupId>
145 <artifactId>gremlin-core</artifactId>
146 <version>3.2.3</version>
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-log4j12</artifactId>
154 <groupId>org.slf4j</groupId>
155 <artifactId>jcl-over-slf4j</artifactId>
161 <groupId>org.json</groupId>
162 <artifactId>json</artifactId>
163 <version>20131018</version>
166 <groupId>junit</groupId>
167 <artifactId>junit</artifactId>
176 <name>Maven 2 repository 2</name>
177 <url>http://repo2.maven.org/maven2/</url>
180 <id>ecomp-releases</id>
181 <name>ECOMP Release Repository</name>
182 <url>${nexusproxy}/content/repositories/releases/</url>
185 <id>ecomp-snapshots</id>
186 <name>ECOMP Snapshot Repository</name>
187 <url>${nexusproxy}/content/repositories/snapshots/</url>
190 <id>ecomp-staging</id>
191 <name>ECOMP Staging Repository</name>
192 <url>${nexusproxy}/content/repositories/staging/</url>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-resources-plugin</artifactId>
202 <version>2.7</version>
205 <id>copy-docker-file</id>
206 <phase>package</phase>
208 <goal>copy-resources</goal>
211 <outputDirectory>target</outputDirectory>
212 <overwrite>true</overwrite>
215 <directory>${basedir}/src/main/docker</directory>
216 <filtering>true</filtering>
218 <include>**/*</include>
222 <directory>${basedir}/src/main/bin/</directory>
231 <groupId>com.spotify</groupId>
232 <artifactId>docker-maven-plugin</artifactId>
233 <version>0.4.11</version>
235 <verbose>true</verbose>
236 <serverId>docker-hub</serverId>
237 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
238 <dockerDirectory>${docker.location}</dockerDirectory>
240 <imageTag>latest</imageTag>
242 <forceTags>true</forceTags>
246 <!-- license plugin -->
248 <groupId>com.mycila</groupId>
249 <artifactId>license-maven-plugin</artifactId>
250 <version>3.0</version>
252 <header>License.txt</header>
254 <include>src/main/java/**</include>
262 <phase>process-sources</phase>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-site-plugin</artifactId>
270 <version>3.3</version>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-checkstyle-plugin</artifactId>
276 <version>2.17</version>
280 <report>checkstyle</report>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-deploy-plugin</artifactId>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>sonar-maven-plugin</artifactId>
300 <version>3.2</version>
304 <groupId>org.jacoco</groupId>
305 <artifactId>jacoco-maven-plugin</artifactId>
306 <version>0.7.7.201606060606</version>
308 <dumpOnExit>true</dumpOnExit>
312 <id>jacoco-initialize-unit-tests</id>
314 <goal>prepare-agent</goal>
317 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
319 <!-- <append>true</append> -->
331 <defaultGoal>initialize</defaultGoal>
334 <groupId>org.codehaus.mojo</groupId>
335 <artifactId>exec-maven-plugin</artifactId>
336 <version>1.3.2</version>
339 <phase>initialize</phase>
344 <includeProjectDependencies>false</includeProjectDependencies>
345 <includePluginDependencies>true</includePluginDependencies>
346 <executable>java</executable>
347 <mainClass>com.att.ajsc.runner.Runner</mainClass>
348 <executableDependency>
349 <groupId>com.att.ajsc</groupId>
350 <artifactId>ajsc-runner</artifactId>
351 </executableDependency>
352 <additionalClasspathElements>
353 <additionalClasspathElement>
354 ${basedir}/ajsc-shared-config/etc
355 </additionalClasspathElement>
356 </additionalClasspathElements>
358 <environmentVariables>
359 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
360 </environmentVariables>
362 <!-- Main AJSC System Properties below (necessary for proper startup) -->
366 <value>${runAjscHome}</value>
369 <key>CONFIG_HOME</key>
370 <value>${basedir}/appconfig-local/</value>
373 <key>AJSC_CONF_HOME</key>
374 <value>${basedir}/bundleconfig-local</value>
377 <key>logback.configurationFile</key>
378 <value>${basedir}/ajsc-shared-config/etc/logback.xml
382 <key>AJSC_SHARED_CONFIG</key>
383 <value>${basedir}/ajsc-shared-config</value>
387 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
388 <value>${basedir}/target/commonLibs</value>
391 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
392 <value>${basedir}/ajsc-shared-config/etc</value>
396 <key>AJSC_SERVICE_NAMESPACE</key>
397 <value>${module.ajsc.namespace.name}</value>
400 <key>AJSC_SERVICE_VERSION</key>
401 <value>${module.ajsc.namespace.version}</value>
404 <key>SOACLOUD_SERVICE_VERSION</key>
405 <value>${project.version}</value>
408 <key>server.port</key>
409 <value>${serverPort}</value>
413 <!-- Command Line Arguments to add to the java command. Here, you
414 can specify the port as well as the Context you want your service to run
415 in. Use context=/ to run in an unnamed Context (Root Context). The default
416 configuration of the AJSC is to run under the / Context. Setting the port
417 here can aid during the development phase of your service. However, you can
418 leave this argument out entirely, and the AJSC will default to using an Ephemeral
421 <argument>context=/</argument>
422 <argument>port=${serverPort}</argument>
423 <argument>sslport=${sslport}</argument>
429 <executable>java</executable>
433 <groupId>com.att.ajsc</groupId>
434 <artifactId>ajsc-runner</artifactId>
435 <version>${ajscRuntimeVersion}</version>
444 <dependencyManagement>
447 <groupId>org.apache.httpcomponents</groupId>
448 <artifactId>httpclient</artifactId>
449 <version>4.5</version>
452 <groupId>org.apache.httpcomponents</groupId>
453 <artifactId>httpcore</artifactId>
454 <version>4.4.1</version>
457 <groupId>org.json</groupId>
458 <artifactId>json</artifactId>
459 <version>20131018</version>
462 </dependencyManagement>
464 <distributionManagement>
466 <id>ecomp-releases</id>
467 <name>ECOMP Release Repository</name>
468 <url>${nexusproxy}/content/repositories/releases/</url>
471 <id>ecomp-snapshots</id>
472 <name>ECOMP Snapshot Repository</name>
473 <url>${nexusproxy}/content/repositories/snapshots/</url>
474 </snapshotRepository>
476 <id>ecomp-javadoc</id>
477 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
479 </distributionManagement>