1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 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.0.0</version>
10 <groupId>org.onap.aai.data-router</groupId>
11 <artifactId>data-router</artifactId>
12 <version>1.1.0-SNAPSHOT</version>
15 <docker.location>${basedir}/target</docker.location>
16 <module.ajsc.namespace.name>data-router</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>
21 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
22 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
23 version, THIS will be used as your directory structure. If you do NOT want
24 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
26 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
27 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
29 <!-- For SOA Cloud Installation -->
30 <installOwnerUser>aaiadmin</installOwnerUser>
31 <installOwnerGroup>aaiadmin</installOwnerGroup>
32 <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
34 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
35 For local testing, you may choose to hardcode this value to something like
37 <serverPort>0</serverPort>
38 <sslport>9502</sslport>
40 <testRouteOffer>workstation</testRouteOffer>
41 <testEnv>DEV</testEnv>
42 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
49 <groupId>dom4j</groupId>
50 <artifactId>dom4j</artifactId>
51 <version>1.6.1</version>
52 <scope>provided</scope>
56 <groupId>com.att.aft</groupId>
57 <artifactId>dme2</artifactId>
58 <version>3.1.200</version>
59 <scope>provided</scope>
63 <groupId>org.onap.aai.router-core</groupId>
64 <artifactId>router-core</artifactId>
65 <version>1.1.0-SNAPSHOT</version>
69 <groupId>org.json</groupId>
70 <artifactId>json</artifactId>
74 <groupId>com.google.code.gson</groupId>
75 <artifactId>gson</artifactId>
76 <version>2.6.2</version>
80 <groupId>org.eclipse.persistence</groupId>
81 <artifactId>eclipselink</artifactId>
82 <version>2.6.2</version>
86 <groupId>org.openecomp.aai.logging-service</groupId>
87 <artifactId>common-logging</artifactId>
88 <version>1.0.0</version>
92 <groupId>org.openecomp.aai</groupId>
93 <artifactId>rest-client</artifactId>
94 <version>1.1.0</version>
98 <groupId>ch.qos.logback</groupId>
99 <artifactId>logback-core</artifactId>
100 <version>1.1.7</version>
107 <!-- Checkstyle plugin - used to report on compliance with -->
108 <!-- the Google style guide. -->
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-site-plugin</artifactId>
112 <version>3.3</version>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-checkstyle-plugin</artifactId>
118 <version>2.17</version>
122 <report>checkstyle</report>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-resources-plugin</artifactId>
133 <version>2.7</version>
136 <id>copy-docker-file</id>
137 <phase>package</phase>
139 <goal>copy-resources</goal>
142 <outputDirectory>target</outputDirectory>
143 <overwrite>true</overwrite>
146 <directory>${basedir}/src/main/docker</directory>
147 <filtering>true</filtering>
149 <include>**/*</include>
153 <directory>${basedir}/src/main/bin/</directory>
161 <groupId>com.spotify</groupId>
162 <artifactId>docker-maven-plugin</artifactId>
163 <version>0.4.11</version>
165 <verbose>true</verbose>
166 <serverId>docker-hub</serverId>
167 <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
168 <dockerDirectory>${docker.location}</dockerDirectory>
170 <imageTag>latest</imageTag>
172 <forceTags>true</forceTags>
175 <!-- license plugin -->
177 <groupId>com.mycila</groupId>
178 <artifactId>license-maven-plugin</artifactId>
179 <version>3.0</version>
181 <header>License.txt</header>
183 <include>src/main/java/**</include>
191 <phase>process-sources</phase>
196 <groupId>org.sonatype.plugins</groupId>
197 <artifactId>nexus-staging-maven-plugin</artifactId>
198 <version>1.6.7</version>
199 <extensions>true</extensions>
201 <nexusUrl>${nexusproxy}</nexusUrl>
202 <stagingProfileId>176c31dfe190a</stagingProfileId>
203 <serverId>ecomp-staging</serverId>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-deploy-plugin</artifactId>
214 <groupId>org.codehaus.mojo</groupId>
215 <artifactId>sonar-maven-plugin</artifactId>
216 <version>3.2</version>
219 <groupId>org.jacoco</groupId>
220 <artifactId>jacoco-maven-plugin</artifactId>
221 <version>0.7.7.201606060606</version>
223 <dumpOnExit>true</dumpOnExit>
227 <id>jacoco-initialize-unit-tests</id>
229 <goal>prepare-agent</goal>
232 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
245 <defaultGoal>initialize</defaultGoal>
248 <groupId>org.codehaus.mojo</groupId>
249 <artifactId>exec-maven-plugin</artifactId>
250 <version>1.3.2</version>
253 <phase>initialize</phase>
258 <includeProjectDependencies>false</includeProjectDependencies>
259 <includePluginDependencies>true</includePluginDependencies>
260 <executable>java</executable>
261 <mainClass>com.att.ajsc.runner.Runner</mainClass>
262 <executableDependency>
263 <groupId>com.att.ajsc</groupId>
264 <artifactId>ajsc-runner</artifactId>
265 </executableDependency>
266 <additionalClasspathElements>
267 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
268 </additionalClasspathElements>
270 <environmentVariables>
271 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
272 </environmentVariables>
274 <!-- Main AJSC System Properties below (necessary for proper startup) -->
278 <value>${runAjscHome}</value>
282 <key>CONFIG_HOME</key>
283 <value>${basedir}/appconfig-local/</value>
287 <key>AJSC_CONF_HOME</key>
288 <value>${basedir}/bundleconfig-local</value>
291 <key>logback.configurationFile</key>
292 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
295 <key>AJSC_SHARED_CONFIG</key>
296 <value>${basedir}/ajsc-shared-config</value>
300 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
301 <value>${basedir}/target/commonLibs</value>
304 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
305 <value>${basedir}/ajsc-shared-config/etc</value>
309 <key>AJSC_SERVICE_NAMESPACE</key>
310 <value>${module.ajsc.namespace.name}</value>
313 <key>AJSC_SERVICE_VERSION</key>
314 <value>${module.ajsc.namespace.version}</value>
317 <key>SOACLOUD_SERVICE_VERSION</key>
318 <value>${project.version}</value>
321 <key>server.port</key>
322 <value>${serverPort}</value>
326 <!-- Command Line Arguments to add to the java command. Here, you
327 can specify the port as well as the Context you want your service to run
328 in. Use context=/ to run in an unnamed Context (Root Context). The default
329 configuration of the AJSC is to run under the / Context. Setting the port
330 here can aid during the development phase of your service. However, you can
331 leave this argument out entirely, and the AJSC will default to using an Ephemeral
334 <argument>context=/</argument>
335 <argument>port=${serverPort}</argument>
336 <argument>sslport=${sslport}</argument>
342 <executable>java</executable>
346 <groupId>com.att.ajsc</groupId>
347 <artifactId>ajsc-runner</artifactId>
348 <version>${ajscRuntimeVersion}</version>
356 <dependencyManagement>
359 <groupId>org.apache.httpcomponents</groupId>
360 <artifactId>httpclient</artifactId>
361 <version>4.5</version>
364 <groupId>org.apache.httpcomponents</groupId>
365 <artifactId>httpcore</artifactId>
366 <version>4.4.1</version>
369 <groupId>org.json</groupId>
370 <artifactId>json</artifactId>
371 <version>20131018</version>
374 </dependencyManagement>
375 <distributionManagement>
377 <id>ecomp-releases</id>
378 <name>ECOMP Release Repository</name>
379 <url>${nexusproxy}/content/repositories/releases/</url>
382 <id>ecomp-snapshots</id>
383 <name>ECOMP Snapshot Repository</name>
384 <url>${nexusproxy}/content/repositories/snapshots/</url>
385 </snapshotRepository>
386 </distributionManagement>