1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <artifactId>ajsc-archetype-parent</artifactId>
7 <groupId>com.att.ajsc</groupId>
8 <version>2.1.0</version>
10 <groupId>org.onap.aai.traversal</groupId>
11 <artifactId>traversal</artifactId>
12 <version>1.1.0-SNAPSHOT</version>
13 <name>traversal</name>
14 <packaging>pom</packaging>
16 <module>aai-traversal</module>
19 <nexusproxy>https://nexus.onap.org</nexusproxy>
20 <sitePath>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</sitePath>
21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22 <maven.compiler.target>1.8</maven.compiler.target>
23 <maven.compiler.source>1.8</maven.compiler.source>
24 <module.ajsc.namespace.name>ActiveAndAvailableInventory-Traversal</module.ajsc.namespace.name>
25 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
26 <ajscRuntimeVersion>2.1.0</ajscRuntimeVersion>
27 <aai-schema.version>1.1.0-SNAPSHOT</aai-schema.version>
28 <aai.project.version>1.1.0</aai.project.version>
29 <aai.docker.version>1.1</aai.docker.version>
31 <!-- This will be the Absolute Root of the Project and should contain NO
33 <absoluteDistFilesRoot>/opt/app/aai-traversal</absoluteDistFilesRoot>
35 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot.
36 For NO Versioning, leave as is -->
37 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add
38 ${project.version} to ${runAjscHome} for running locally. -->
39 <distFilesRoot>/opt/app/${project.artifactId}</distFilesRoot>
40 <!-- <distFilesRoot>/opt/app/traversal/${project.version}</distFilesRoot> -->
41 <aaiAppHome>${basedir}</aaiAppHome>
42 <runAjscHome>${aaiAppHome}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
43 <!-- For SOA Cloud Installation -->
44 <installOwnerUser>aaiadmin</installOwnerUser>
45 <installOwnerGroup>aaiadmin</installOwnerGroup>
46 <ownerManagementGroup>org.openecomp.aai.dev</ownerManagementGroup>
48 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
49 For local testing, you may choose to hardcode this value to something like
51 <serverPort>8083</serverPort>
52 <sslport>8446</sslport>
53 <testRouteOffer>workstation</testRouteOffer>
54 <testEnv>DEV</testEnv>
56 <!-- For using CXF with Maven -->
57 <cxf.version>3.0.4</cxf.version>
58 <swmpkgversion>0.0.1</swmpkgversion>
59 <snapshot.file>int1-data.graphson</snapshot.file>
60 <aai-core.version>1.1.0-SNAPSHOT</aai-core.version>
63 <distributionManagement>
65 <id>ecomp-releases</id>
66 <name>ECOMP Release Repository</name>
67 <url>${nexusproxy}/content/repositories/releases/</url>
70 <id>ecomp-snapshots</id>
71 <name>ECOMP Snapshot Repository</name>
72 <url>${nexusproxy}/content/repositories/snapshots/</url>
76 <url>dav:${nexusproxy}${sitePath}</url>
78 </distributionManagement>
81 <id>jenkins-properties</id>
88 <swmpkgversion>${env.swmpkgversion}</swmpkgversion>
94 <defaultGoal>initialize</defaultGoal>
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>exec-maven-plugin</artifactId>
100 <version>1.3.2</version>
104 <phase>initialize</phase>
109 <!-- In order to better mimic a SOA cloud installation of AJSC (and
110 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult
111 to diagnose), within this profile used to run locally, we are NOT including
112 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars.
113 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is
114 the only dependency required by this profile to run locally. -->
115 <includeProjectDependencies>false</includeProjectDependencies>
116 <includePluginDependencies>true</includePluginDependencies>
117 <executable>java</executable>
118 <mainClass>com.att.ajsc.runner.Runner</mainClass>
119 <executableDependency>
120 <groupId>com.att.ajsc</groupId>
121 <artifactId>ajsc-runner</artifactId>
122 </executableDependency>
124 <environmentVariables>
125 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
126 </environmentVariables>
127 <additionalClasspathElements>
128 <additionalClasspathElement>${runAjscHome}/extJars/logback-access-1.1.7.jar</additionalClasspathElement>
129 <additionalClasspathElement>${runAjscHome}/extJars/logback-core-1.1.7.jar</additionalClasspathElement>
130 <additionalClasspathElement>${runAjscHome}/extJars/aai-core-${aai-core.version}.jar</additionalClasspathElement>
131 </additionalClasspathElements>
133 <!-- Main AJSC System Properties below (necessary for proper startup) -->
137 <value>${runAjscHome}</value>
141 <value>${runAjscHome}/bundleconfig/</value>
144 <key>AJSC_CONF_HOME</key>
145 <value>${aaiAppHome}/bundleconfig-local</value>
148 <key>logback.configurationFile</key>
149 <value>${aaiAppHome}/ajsc-shared-config/etc/logback.xml</value>
152 <key>AJSC_SHARED_CONFIG</key>
153 <value>${aaiAppHome}/ajsc-shared-config</value>
156 <key>file.separator</key>
160 <key>snapshot.location</key>
161 <value>${basedir}/ajsc-aai/snapshots/${snapshot.file}</value>
163 <!-- Please, NOTE: The following 2 system properties will normally
164 be set within the sys-props.properties file once deployed to a node. We are
165 setting them HERE to run locally to make more efficient use of maven variable
166 replacement for ${basedir} -->
167 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that
168 will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
170 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
171 <value>${aaiAppHome}/target/commonLibs</value>
173 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular
174 files that may need to be added to the classpath. These files will be externalized
175 on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties).
176 Failure to have these files on the classpath may result in errors thrown
177 by csm framework. -->
179 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
180 <value>${aaiAppHome}/ajsc-shared-config/etc</value>
184 <key>AJSC_SERVICE_NAMESPACE</key>
185 <value>${module.ajsc.namespace.name}</value>
188 <key>AJSC_SERVICE_VERSION</key>
189 <value>${module.ajsc.namespace.version}</value>
192 <key>SOACLOUD_SERVICE_VERSION</key>
193 <value>${project.version}</value>
196 <key>server.port</key>
197 <value>${serverPort}</value>
200 <key>aai-core.version</key>
201 <value>${aai-core.version}</value>
205 <!-- Command Line Arguments to add to the java command. Here, you
206 can specify the port as well as the Context you want your service to run
207 in. Use context=/ to run in an unnamed Context (Root Context). The default
208 configuration of the AJSC is to run under the / Context. Setting the port
209 here can aid during the development phase of your service. However, you can
210 leave this argument out entirely, and the AJSC will default to using an Ephemeral
213 <argument>context=/</argument>
214 <argument>port=${serverPort}</argument>
215 <argument>sslport=${sslport}</argument>
221 <executable>java</executable>
225 <groupId>com.att.ajsc</groupId>
226 <artifactId>ajsc-runner</artifactId>
227 <version>${ajscRuntimeVersion}</version>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-compiler-plugin</artifactId>
241 <version>3.1</version>
243 <compilerId>groovy-eclipse-compiler</compilerId>
244 <verbose>false</verbose>
250 <groupId>org.codehaus.groovy</groupId>
251 <artifactId>groovy-eclipse-compiler</artifactId>
252 <version>2.9.0-01</version>
255 <groupId>org.codehaus.groovy</groupId>
256 <artifactId>groovy-eclipse-batch</artifactId>
257 <version>2.3.4-01</version>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-deploy-plugin</artifactId>
266 <id>default-deploy</id>
272 <groupId>org.sonatype.plugins</groupId>
273 <artifactId>nexus-staging-maven-plugin</artifactId>
274 <version>1.6.7</version>
275 <extensions>true</extensions>
277 <nexusUrl>${nexusproxy}</nexusUrl>
278 <stagingProfileId>176c31dfe190a</stagingProfileId>
279 <serverId>ecomp-staging</serverId>
285 <!-- license plugin -->
287 <groupId>org.codehaus.mojo</groupId>
288 <artifactId>license-maven-plugin</artifactId>
289 <version>1.12</version>
291 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
292 <licenseName>apache_v2</licenseName>
293 <inceptionYear>2017</inceptionYear>
294 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
295 <projectName>org.openecomp.aai</projectName>
296 <canUpdateCopyright>true</canUpdateCopyright>
297 <canUpdateDescription>true</canUpdateDescription>
298 <canUpdateLicense>true</canUpdateLicense>
299 <emptyLineAfterHeader>true</emptyLineAfterHeader>
300 <processStartTag>============LICENSE_START=======================================================</processStartTag>
301 <processEndTag>============LICENSE_END=========================================================</processEndTag>
302 <sectionDelimiter>================================================================================</sectionDelimiter>
304 <include>**/*.java</include>
305 <include>**/*.ksh</include>
306 <include>**/*.sh</include>
307 <include>**/*.ftl</include>
308 <include>**/*.xsd</include>
309 <include>**/*.xjb</include>
310 <include>**/*.yml</include>
311 <include>**/*.yaml</include>
312 <include>**/aai*.xml</include>
313 <include>**/*logback*.xml</include>
314 <include>**/*aaiconfig*.properties</include>
315 <include>**/*titan*.properties</include>
322 <goal>update-file-header</goal>
324 <phase>process-sources</phase>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-site-plugin</artifactId>
331 <version>3.6</version>
334 <groupId>org.apache.maven.wagon</groupId>
335 <artifactId>wagon-webdav-jackrabbit</artifactId>
336 <version>2.10</version>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-javadoc-plugin</artifactId>
347 <version>2.10.4</version>
349 <failOnError>false</failOnError>
350 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
352 <groupId>org.umlgraph</groupId>
353 <artifactId>umlgraph</artifactId>
354 <version>5.6</version>
356 <additionalparam>-views</additionalparam>
357 <useStandardDocletOptions>true</useStandardDocletOptions>