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.onap.aai.logging-service</groupId>
81 <artifactId>common-logging</artifactId>
82 <version>1.1.0</version>
85 <groupId>org.glassfish.jersey.core</groupId>
86 <artifactId>jersey-client</artifactId>
87 <version>2.23</version>
90 <groupId>ch.qos.logback</groupId>
91 <artifactId>logback-core</artifactId>
92 <version>1.1.7</version>
96 <groupId>org.onap.aai.aai-common</groupId>
97 <artifactId>aai-schema</artifactId>
98 <version>1.1.0-SNAPSHOT</version>
101 <groupId>org.onap.aai.aai-common</groupId>
102 <artifactId>aai-utils</artifactId>
103 <version>1.1.0-SNAPSHOT</version>
106 <groupId>org.onap.aai.aai-common</groupId>
107 <artifactId>aai-core</artifactId>
108 <version>1.1.0-SNAPSHOT</version>
112 <artifactId>*</artifactId>
118 <groupId>org.onap.aai.aai-common</groupId>
119 <artifactId>aai-auth</artifactId>
120 <version>1.2.0-SNAPSHOT</version>
124 <groupId>org.eclipse.persistence</groupId>
125 <artifactId>eclipselink</artifactId>
126 <version>2.6.2</version>
130 <groupId>org.onap.aai</groupId>
131 <artifactId>rest-client</artifactId>
132 <version>1.1.0</version>
135 <groupId>net.dongliu</groupId>
136 <artifactId>gson-java8-datatype</artifactId>
137 <version>1.0.3</version>
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>20160212</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>
208 <finalName>${project.artifactId}</finalName>
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}/onap/${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>