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.2.0-SNAPSHOT</version>
14 <name>aai-gizmo</name>
17 <docker.location>${basedir}/target</docker.location>
18 <module.ajsc.namespace.name>crud-api</module.ajsc.namespace.name>
19 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
20 <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion>
21 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
22 <nexusproxy>https://nexus.onap.org</nexusproxy>
24 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
25 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
26 version, THIS will be used as your directory structure. If you do NOT want
27 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
29 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
30 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
32 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
33 For local testing, you may choose to hardcode this value to something like
35 <serverPort>0</serverPort>
36 <sslport>9520</sslport>
38 <testRouteOffer>workstation</testRouteOffer>
39 <testEnv>DEV</testEnv>
40 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
42 <sonar.language>java</sonar.language>
43 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
44 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
45 </sonar.surefire.reportsPath>
46 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec
47 </sonar.jacoco.reportPath>
48 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
49 <sonar.projectVersion>${project.version}</sonar.projectVersion>
55 <groupId>dom4j</groupId>
56 <artifactId>dom4j</artifactId>
57 <version>1.6.1</version>
58 <scope>provided</scope>
62 <groupId>com.att.aft</groupId>
63 <artifactId>dme2</artifactId>
64 <version>3.1.200</version>
65 <scope>provided</scope>
68 <groupId>commons-io</groupId>
69 <artifactId>commons-io</artifactId>
70 <version>2.4</version>
74 <groupId>com.google.code.gson</groupId>
75 <artifactId>gson</artifactId>
76 <version>2.6.2</version>
79 <!-- Common logging framework -->
81 <groupId>org.onap.aai.logging-service</groupId>
82 <artifactId>common-logging</artifactId>
83 <version>1.1.0</version>
86 <groupId>org.glassfish.jersey.core</groupId>
87 <artifactId>jersey-client</artifactId>
88 <version>2.23</version>
91 <groupId>ch.qos.logback</groupId>
92 <artifactId>logback-core</artifactId>
93 <version>1.1.7</version>
96 <groupId>org.onap.aai.event-client</groupId>
97 <artifactId>event-client-dmaap</artifactId>
98 <version>1.2.0</version>
101 <groupId>org.onap.aai.aai-common</groupId>
102 <artifactId>aai-schema</artifactId>
103 <version>1.2.1-SNAPSHOT</version>
106 <groupId>org.onap.aai.aai-common</groupId>
107 <artifactId>aai-utils</artifactId>
108 <version>1.2.0</version>
111 <groupId>org.onap.aai.aai-common</groupId>
112 <artifactId>aai-core</artifactId>
113 <version>1.2.1-SNAPSHOT</version>
117 <artifactId>*</artifactId>
123 <groupId>org.onap.aai.aai-common</groupId>
124 <artifactId>aai-auth</artifactId>
125 <version>1.2.0</version>
129 <groupId>org.eclipse.persistence</groupId>
130 <artifactId>eclipselink</artifactId>
131 <version>2.6.2</version>
135 <groupId>org.onap.aai</groupId>
136 <artifactId>rest-client</artifactId>
137 <version>1.1.0</version>
140 <groupId>net.dongliu</groupId>
141 <artifactId>gson-java8-datatype</artifactId>
142 <version>1.0.3</version>
145 <groupId>com.jayway.jsonpath</groupId>
146 <artifactId>json-path</artifactId>
147 <version>2.2.0</version>
150 <!-- AAI-CORE specific dependencies -->
152 <groupId>org.apache.tinkerpop</groupId>
153 <artifactId>gremlin-core</artifactId>
154 <version>3.2.3</version>
155 <scope>provided</scope>
158 <groupId>org.slf4j</groupId>
159 <artifactId>slf4j-log4j12</artifactId>
162 <groupId>org.slf4j</groupId>
163 <artifactId>jcl-over-slf4j</artifactId>
169 <groupId>org.apache.tinkerpop</groupId>
170 <artifactId>tinkergraph-gremlin</artifactId>
171 <version>3.2.3</version>
172 <scope>provided</scope>
176 <groupId>org.json</groupId>
177 <artifactId>json</artifactId>
178 <version>20160212</version>
181 <groupId>junit</groupId>
182 <artifactId>junit</artifactId>
191 <name>Maven 2 repository 2</name>
192 <url>http://repo2.maven.org/maven2/</url>
195 <id>ecomp-releases</id>
196 <name>ECOMP Release Repository</name>
197 <url>${nexusproxy}/content/repositories/releases/</url>
200 <id>ecomp-snapshots</id>
201 <name>ECOMP Snapshot Repository</name>
202 <url>${nexusproxy}/content/repositories/snapshots/</url>
205 <id>ecomp-staging</id>
206 <name>ECOMP Staging Repository</name>
207 <url>${nexusproxy}/content/repositories/staging/</url>
213 <finalName>${project.artifactId}</finalName>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-resources-plugin</artifactId>
218 <version>2.7</version>
221 <id>copy-docker-file</id>
222 <phase>package</phase>
224 <goal>copy-resources</goal>
227 <outputDirectory>target</outputDirectory>
228 <overwrite>true</overwrite>
231 <directory>${basedir}/src/main/docker</directory>
232 <filtering>true</filtering>
234 <include>**/*</include>
238 <directory>${basedir}/src/main/bin/</directory>
247 <groupId>com.spotify</groupId>
248 <artifactId>docker-maven-plugin</artifactId>
249 <version>0.4.11</version>
251 <verbose>true</verbose>
252 <serverId>docker-hub</serverId>
253 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
254 <dockerDirectory>${docker.location}</dockerDirectory>
256 <imageTag>latest</imageTag>
258 <forceTags>true</forceTags>
262 <!-- license plugin -->
264 <groupId>com.mycila</groupId>
265 <artifactId>license-maven-plugin</artifactId>
266 <version>3.0</version>
268 <header>License.txt</header>
270 <include>src/main/java/**</include>
278 <phase>process-sources</phase>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-site-plugin</artifactId>
286 <version>3.3</version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-checkstyle-plugin</artifactId>
292 <version>2.17</version>
296 <report>checkstyle</report>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-deploy-plugin</artifactId>
314 <groupId>org.codehaus.mojo</groupId>
315 <artifactId>sonar-maven-plugin</artifactId>
316 <version>3.2</version>
320 <groupId>org.jacoco</groupId>
321 <artifactId>jacoco-maven-plugin</artifactId>
322 <version>0.7.7.201606060606</version>
324 <dumpOnExit>true</dumpOnExit>
328 <id>jacoco-initialize-unit-tests</id>
330 <goal>prepare-agent</goal>
333 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
335 <!-- <append>true</append> -->
347 <defaultGoal>initialize</defaultGoal>
350 <groupId>org.codehaus.mojo</groupId>
351 <artifactId>exec-maven-plugin</artifactId>
352 <version>1.3.2</version>
355 <phase>initialize</phase>
360 <includeProjectDependencies>false</includeProjectDependencies>
361 <includePluginDependencies>true</includePluginDependencies>
362 <executable>java</executable>
363 <mainClass>com.att.ajsc.runner.Runner</mainClass>
364 <executableDependency>
365 <groupId>com.att.ajsc</groupId>
366 <artifactId>ajsc-runner</artifactId>
367 </executableDependency>
368 <additionalClasspathElements>
369 <additionalClasspathElement>
370 ${basedir}/ajsc-shared-config/etc
371 </additionalClasspathElement>
372 </additionalClasspathElements>
374 <environmentVariables>
375 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
376 </environmentVariables>
378 <!-- Main AJSC System Properties below (necessary for proper startup) -->
382 <value>${runAjscHome}</value>
385 <key>CONFIG_HOME</key>
386 <value>${basedir}/appconfig-local/</value>
389 <key>AJSC_CONF_HOME</key>
390 <value>${basedir}/bundleconfig-local</value>
393 <key>logback.configurationFile</key>
394 <value>${basedir}/ajsc-shared-config/etc/logback.xml
398 <key>AJSC_SHARED_CONFIG</key>
399 <value>${basedir}/ajsc-shared-config</value>
403 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
404 <value>${basedir}/target/commonLibs</value>
407 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
408 <value>${basedir}/ajsc-shared-config/etc</value>
412 <key>AJSC_SERVICE_NAMESPACE</key>
413 <value>${module.ajsc.namespace.name}</value>
416 <key>AJSC_SERVICE_VERSION</key>
417 <value>${module.ajsc.namespace.version}</value>
420 <key>SOACLOUD_SERVICE_VERSION</key>
421 <value>${project.version}</value>
424 <key>server.port</key>
425 <value>${serverPort}</value>
429 <!-- Command Line Arguments to add to the java command. Here, you
430 can specify the port as well as the Context you want your service to run
431 in. Use context=/ to run in an unnamed Context (Root Context). The default
432 configuration of the AJSC is to run under the / Context. Setting the port
433 here can aid during the development phase of your service. However, you can
434 leave this argument out entirely, and the AJSC will default to using an Ephemeral
437 <argument>context=/</argument>
438 <argument>port=${serverPort}</argument>
439 <argument>sslport=${sslport}</argument>
445 <executable>java</executable>
449 <groupId>com.att.ajsc</groupId>
450 <artifactId>ajsc-runner</artifactId>
451 <version>${ajscRuntimeVersion}</version>
460 <dependencyManagement>
463 <groupId>org.apache.httpcomponents</groupId>
464 <artifactId>httpclient</artifactId>
465 <version>4.5</version>
468 <groupId>org.apache.httpcomponents</groupId>
469 <artifactId>httpcore</artifactId>
470 <version>4.4.1</version>
473 <groupId>org.json</groupId>
474 <artifactId>json</artifactId>
475 <version>20131018</version>
478 </dependencyManagement>
480 <distributionManagement>
482 <id>ecomp-releases</id>
483 <name>ECOMP Release Repository</name>
484 <url>${nexusproxy}/content/repositories/releases/</url>
487 <id>ecomp-snapshots</id>
488 <name>ECOMP Snapshot Repository</name>
489 <url>${nexusproxy}/content/repositories/snapshots/</url>
490 </snapshotRepository>
492 <id>ecomp-javadoc</id>
493 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
495 </distributionManagement>