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.1-SNAPSHOT</version>
13 <name>aai-data-router</name>
16 <docker.location>${basedir}/target</docker.location>
17 <module.ajsc.namespace.name>data-router</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>
22 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
23 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
24 version, THIS will be used as your directory structure. If you do NOT want
25 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
27 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
28 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
30 <!-- For SOA Cloud Installation -->
31 <installOwnerUser>aaiadmin</installOwnerUser>
32 <installOwnerGroup>aaiadmin</installOwnerGroup>
33 <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
35 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
36 For local testing, you may choose to hardcode this value to something like
38 <serverPort>0</serverPort>
39 <sslport>9502</sslport>
41 <testRouteOffer>workstation</testRouteOffer>
42 <testEnv>DEV</testEnv>
43 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
44 <nexusproxy>https://nexus.onap.org</nexusproxy>
45 <!-- Sonar Properties -->
46 <sonar.language>java</sonar.language>
47 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
48 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
49 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
50 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
51 <sonar.projectVersion>${project.version}</sonar.projectVersion>
56 <groupId>org.powermock</groupId>
57 <artifactId>powermock-module-junit4</artifactId>
58 <version>1.6.2</version>
63 <groupId>org.powermock</groupId>
64 <artifactId>powermock-api-mockito</artifactId>
65 <version>1.6.2</version>
70 <groupId>org.powermock</groupId>
71 <artifactId>powermock-module-javaagent</artifactId>
72 <version>1.6.2</version>
77 <groupId>org.powermock</groupId>
78 <artifactId>powermock-module-junit4-rule-agent</artifactId>
79 <version>1.6.2</version>
83 <groupId>dom4j</groupId>
84 <artifactId>dom4j</artifactId>
85 <version>1.6.1</version>
86 <scope>provided</scope>
90 <groupId>com.att.aft</groupId>
91 <artifactId>dme2</artifactId>
92 <version>3.1.200</version>
93 <scope>provided</scope>
96 <groupId>org.onap.aai.aai-common</groupId>
97 <artifactId>aai-schema</artifactId>
98 <version>1.1.0</version>
101 <groupId>org.onap.aai.router-core</groupId>
102 <artifactId>router-core</artifactId>
103 <version>1.1.0</version>
107 <groupId>org.json</groupId>
108 <artifactId>json</artifactId>
112 <groupId>com.google.code.gson</groupId>
113 <artifactId>gson</artifactId>
114 <version>2.6.2</version>
118 <groupId>org.eclipse.persistence</groupId>
119 <artifactId>eclipselink</artifactId>
120 <version>2.6.2</version>
124 <groupId>org.onap.aai.logging-service</groupId>
125 <artifactId>common-logging</artifactId>
126 <version>1.1.0</version>
130 <groupId>org.onap.aai</groupId>
131 <artifactId>rest-client</artifactId>
132 <version>1.1.0</version>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-core</artifactId>
138 <version>1.1.7</version>
145 <!-- Checkstyle plugin - used to report on compliance with -->
146 <!-- the Google style guide. -->
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-site-plugin</artifactId>
150 <version>3.3</version>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-checkstyle-plugin</artifactId>
156 <version>2.17</version>
160 <report>checkstyle</report>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-resources-plugin</artifactId>
171 <version>2.7</version>
174 <id>copy-docker-file</id>
175 <phase>package</phase>
177 <goal>copy-resources</goal>
180 <outputDirectory>target</outputDirectory>
181 <overwrite>true</overwrite>
184 <directory>${basedir}/src/main/docker</directory>
185 <filtering>true</filtering>
187 <include>**/*</include>
191 <directory>${basedir}/src/main/bin/</directory>
199 <groupId>com.spotify</groupId>
200 <artifactId>docker-maven-plugin</artifactId>
201 <version>0.4.11</version>
203 <verbose>true</verbose>
204 <serverId>docker-hub</serverId>
205 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
206 <dockerDirectory>${docker.location}</dockerDirectory>
208 <imageTag>latest</imageTag>
210 <forceTags>true</forceTags>
213 <!-- license plugin -->
215 <groupId>com.mycila</groupId>
216 <artifactId>license-maven-plugin</artifactId>
217 <version>3.0</version>
219 <header>License.txt</header>
221 <include>src/main/java/**</include>
229 <phase>process-sources</phase>
234 <groupId>org.sonatype.plugins</groupId>
235 <artifactId>nexus-staging-maven-plugin</artifactId>
236 <version>1.6.7</version>
237 <extensions>true</extensions>
239 <nexusUrl>${nexusproxy}</nexusUrl>
240 <stagingProfileId>176c31dfe190a</stagingProfileId>
241 <serverId>ecomp-staging</serverId>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-deploy-plugin</artifactId>
252 <groupId>org.codehaus.mojo</groupId>
253 <artifactId>sonar-maven-plugin</artifactId>
254 <version>3.2</version>
257 <groupId>org.jacoco</groupId>
258 <artifactId>jacoco-maven-plugin</artifactId>
259 <version>0.7.7.201606060606</version>
261 <dumpOnExit>true</dumpOnExit>
265 <id>jacoco-initialize-unit-tests</id>
267 <goal>prepare-agent</goal>
270 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
284 <defaultGoal>initialize</defaultGoal>
287 <groupId>org.codehaus.mojo</groupId>
288 <artifactId>exec-maven-plugin</artifactId>
289 <version>1.3.2</version>
292 <phase>initialize</phase>
297 <includeProjectDependencies>false</includeProjectDependencies>
298 <includePluginDependencies>true</includePluginDependencies>
299 <executable>java</executable>
300 <mainClass>com.att.ajsc.runner.Runner</mainClass>
301 <executableDependency>
302 <groupId>com.att.ajsc</groupId>
303 <artifactId>ajsc-runner</artifactId>
304 </executableDependency>
305 <additionalClasspathElements>
306 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
307 </additionalClasspathElements>
309 <environmentVariables>
310 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
311 </environmentVariables>
313 <!-- Main AJSC System Properties below (necessary for proper startup) -->
317 <value>${runAjscHome}</value>
321 <key>CONFIG_HOME</key>
322 <value>${basedir}/appconfig-local/</value>
326 <key>AJSC_CONF_HOME</key>
327 <value>${basedir}/bundleconfig-local</value>
330 <key>logback.configurationFile</key>
331 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
334 <key>AJSC_SHARED_CONFIG</key>
335 <value>${basedir}/ajsc-shared-config</value>
339 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
340 <value>${basedir}/target/commonLibs</value>
343 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
344 <value>${basedir}/ajsc-shared-config/etc</value>
348 <key>AJSC_SERVICE_NAMESPACE</key>
349 <value>${module.ajsc.namespace.name}</value>
352 <key>AJSC_SERVICE_VERSION</key>
353 <value>${module.ajsc.namespace.version}</value>
356 <key>SOACLOUD_SERVICE_VERSION</key>
357 <value>${project.version}</value>
360 <key>server.port</key>
361 <value>${serverPort}</value>
365 <!-- Command Line Arguments to add to the java command. Here, you
366 can specify the port as well as the Context you want your service to run
367 in. Use context=/ to run in an unnamed Context (Root Context). The default
368 configuration of the AJSC is to run under the / Context. Setting the port
369 here can aid during the development phase of your service. However, you can
370 leave this argument out entirely, and the AJSC will default to using an Ephemeral
373 <argument>context=/</argument>
374 <argument>port=${serverPort}</argument>
375 <argument>sslport=${sslport}</argument>
381 <executable>java</executable>
385 <groupId>com.att.ajsc</groupId>
386 <artifactId>ajsc-runner</artifactId>
387 <version>${ajscRuntimeVersion}</version>
396 <dependencyManagement>
399 <groupId>org.apache.httpcomponents</groupId>
400 <artifactId>httpclient</artifactId>
401 <version>4.5</version>
404 <groupId>org.apache.httpcomponents</groupId>
405 <artifactId>httpcore</artifactId>
406 <version>4.4.1</version>
409 <groupId>org.json</groupId>
410 <artifactId>json</artifactId>
411 <version>20131018</version>
414 </dependencyManagement>
415 <distributionManagement>
417 <id>ecomp-releases</id>
418 <name>ECOMP Release Repository</name>
419 <url>${nexusproxy}/content/repositories/releases/</url>
422 <id>ecomp-snapshots</id>
423 <name>ECOMP Snapshot Repository</name>
424 <url>${nexusproxy}/content/repositories/snapshots/</url>
425 </snapshotRepository>
426 </distributionManagement>