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 <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>
95 <groupId>org.onap.aai.event-client</groupId>
96 <artifactId>event-client-dmaap</artifactId>
97 <version>1.2.0</version>
100 <groupId>org.onap.aai.aai-common</groupId>
101 <artifactId>aai-schema</artifactId>
102 <version>1.2.0</version>
105 <groupId>org.onap.aai.aai-common</groupId>
106 <artifactId>aai-utils</artifactId>
107 <version>1.2.0</version>
110 <groupId>org.onap.aai.aai-common</groupId>
111 <artifactId>aai-core</artifactId>
112 <version>1.2.0</version>
116 <artifactId>*</artifactId>
122 <groupId>org.onap.aai.aai-common</groupId>
123 <artifactId>aai-auth</artifactId>
124 <version>1.2.0</version>
128 <groupId>org.eclipse.persistence</groupId>
129 <artifactId>eclipselink</artifactId>
130 <version>2.6.2</version>
134 <groupId>org.onap.aai</groupId>
135 <artifactId>rest-client</artifactId>
136 <version>1.1.0</version>
139 <groupId>net.dongliu</groupId>
140 <artifactId>gson-java8-datatype</artifactId>
141 <version>1.0.3</version>
144 <groupId>com.jayway.jsonpath</groupId>
145 <artifactId>json-path</artifactId>
146 <version>2.2.0</version>
149 <!-- AAI-CORE specific dependencies -->
151 <groupId>org.apache.tinkerpop</groupId>
152 <artifactId>gremlin-core</artifactId>
153 <version>3.2.3</version>
154 <scope>provided</scope>
157 <groupId>org.slf4j</groupId>
158 <artifactId>slf4j-log4j12</artifactId>
161 <groupId>org.slf4j</groupId>
162 <artifactId>jcl-over-slf4j</artifactId>
168 <groupId>org.apache.tinkerpop</groupId>
169 <artifactId>tinkergraph-gremlin</artifactId>
170 <version>3.2.3</version>
171 <scope>provided</scope>
175 <groupId>org.json</groupId>
176 <artifactId>json</artifactId>
177 <version>20160212</version>
180 <groupId>junit</groupId>
181 <artifactId>junit</artifactId>
190 <name>Maven 2 repository 2</name>
191 <url>http://repo2.maven.org/maven2/</url>
194 <id>ecomp-releases</id>
195 <name>ECOMP Release Repository</name>
196 <url>${nexusproxy}/content/repositories/releases/</url>
199 <id>ecomp-snapshots</id>
200 <name>ECOMP Snapshot Repository</name>
201 <url>${nexusproxy}/content/repositories/snapshots/</url>
204 <id>ecomp-staging</id>
205 <name>ECOMP Staging Repository</name>
206 <url>${nexusproxy}/content/repositories/staging/</url>
212 <finalName>${project.artifactId}</finalName>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-resources-plugin</artifactId>
217 <version>2.7</version>
220 <id>copy-docker-file</id>
221 <phase>package</phase>
223 <goal>copy-resources</goal>
226 <outputDirectory>target</outputDirectory>
227 <overwrite>true</overwrite>
230 <directory>${basedir}/src/main/docker</directory>
231 <filtering>true</filtering>
233 <include>**/*</include>
237 <directory>${basedir}/src/main/bin/</directory>
246 <groupId>com.spotify</groupId>
247 <artifactId>docker-maven-plugin</artifactId>
248 <version>0.4.11</version>
250 <verbose>true</verbose>
251 <serverId>docker-hub</serverId>
252 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
253 <dockerDirectory>${docker.location}</dockerDirectory>
255 <imageTag>latest</imageTag>
257 <forceTags>true</forceTags>
261 <!-- license plugin -->
263 <groupId>com.mycila</groupId>
264 <artifactId>license-maven-plugin</artifactId>
265 <version>3.0</version>
267 <header>License.txt</header>
269 <include>src/main/java/**</include>
277 <phase>process-sources</phase>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-site-plugin</artifactId>
285 <version>3.3</version>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-checkstyle-plugin</artifactId>
291 <version>2.17</version>
295 <report>checkstyle</report>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-deploy-plugin</artifactId>
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>sonar-maven-plugin</artifactId>
315 <version>3.2</version>
319 <groupId>org.jacoco</groupId>
320 <artifactId>jacoco-maven-plugin</artifactId>
321 <version>0.7.7.201606060606</version>
323 <dumpOnExit>true</dumpOnExit>
327 <id>jacoco-initialize-unit-tests</id>
329 <goal>prepare-agent</goal>
332 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
334 <!-- <append>true</append> -->
346 <defaultGoal>initialize</defaultGoal>
349 <groupId>org.codehaus.mojo</groupId>
350 <artifactId>exec-maven-plugin</artifactId>
351 <version>1.3.2</version>
354 <phase>initialize</phase>
359 <includeProjectDependencies>false</includeProjectDependencies>
360 <includePluginDependencies>true</includePluginDependencies>
361 <executable>java</executable>
362 <mainClass>com.att.ajsc.runner.Runner</mainClass>
363 <executableDependency>
364 <groupId>com.att.ajsc</groupId>
365 <artifactId>ajsc-runner</artifactId>
366 </executableDependency>
367 <additionalClasspathElements>
368 <additionalClasspathElement>
369 ${basedir}/ajsc-shared-config/etc
370 </additionalClasspathElement>
371 </additionalClasspathElements>
373 <environmentVariables>
374 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
375 </environmentVariables>
377 <!-- Main AJSC System Properties below (necessary for proper startup) -->
381 <value>${runAjscHome}</value>
384 <key>CONFIG_HOME</key>
385 <value>${basedir}/appconfig-local/</value>
388 <key>AJSC_CONF_HOME</key>
389 <value>${basedir}/bundleconfig-local</value>
392 <key>logback.configurationFile</key>
393 <value>${basedir}/ajsc-shared-config/etc/logback.xml
397 <key>AJSC_SHARED_CONFIG</key>
398 <value>${basedir}/ajsc-shared-config</value>
402 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
403 <value>${basedir}/target/commonLibs</value>
406 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
407 <value>${basedir}/ajsc-shared-config/etc</value>
411 <key>AJSC_SERVICE_NAMESPACE</key>
412 <value>${module.ajsc.namespace.name}</value>
415 <key>AJSC_SERVICE_VERSION</key>
416 <value>${module.ajsc.namespace.version}</value>
419 <key>SOACLOUD_SERVICE_VERSION</key>
420 <value>${project.version}</value>
423 <key>server.port</key>
424 <value>${serverPort}</value>
428 <!-- Command Line Arguments to add to the java command. Here, you
429 can specify the port as well as the Context you want your service to run
430 in. Use context=/ to run in an unnamed Context (Root Context). The default
431 configuration of the AJSC is to run under the / Context. Setting the port
432 here can aid during the development phase of your service. However, you can
433 leave this argument out entirely, and the AJSC will default to using an Ephemeral
436 <argument>context=/</argument>
437 <argument>port=${serverPort}</argument>
438 <argument>sslport=${sslport}</argument>
444 <executable>java</executable>
448 <groupId>com.att.ajsc</groupId>
449 <artifactId>ajsc-runner</artifactId>
450 <version>${ajscRuntimeVersion}</version>
459 <dependencyManagement>
462 <groupId>org.apache.httpcomponents</groupId>
463 <artifactId>httpclient</artifactId>
464 <version>4.5</version>
467 <groupId>org.apache.httpcomponents</groupId>
468 <artifactId>httpcore</artifactId>
469 <version>4.4.1</version>
472 <groupId>org.json</groupId>
473 <artifactId>json</artifactId>
474 <version>20131018</version>
477 </dependencyManagement>
479 <distributionManagement>
481 <id>ecomp-releases</id>
482 <name>ECOMP Release Repository</name>
483 <url>${nexusproxy}/content/repositories/releases/</url>
486 <id>ecomp-snapshots</id>
487 <name>ECOMP Snapshot Repository</name>
488 <url>${nexusproxy}/content/repositories/snapshots/</url>
489 </snapshotRepository>
491 <id>ecomp-javadoc</id>
492 <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
494 </distributionManagement>