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 <module.ajsc.namespace.name>data-router</module.ajsc.namespace.name>
16 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
17 <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion>
18 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
20 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
21 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
22 version, THIS will be used as your directory structure. If you do NOT want
23 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
25 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
26 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
28 <!-- For SOA Cloud Installation -->
29 <installOwnerUser>aaiadmin</installOwnerUser>
30 <installOwnerGroup>aaiadmin</installOwnerGroup>
31 <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
33 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
34 For local testing, you may choose to hardcode this value to something like
36 <serverPort>0</serverPort>
37 <sslport>9502</sslport>
39 <testRouteOffer>workstation</testRouteOffer>
40 <testEnv>DEV</testEnv>
41 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
42 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <groupId>dom4j</groupId>
49 <artifactId>dom4j</artifactId>
50 <version>1.6.1</version>
51 <scope>provided</scope>
55 <groupId>com.att.aft</groupId>
56 <artifactId>dme2</artifactId>
57 <version>3.1.200</version>
58 <scope>provided</scope>
62 <groupId>org.onap.aai.router-core</groupId>
63 <artifactId>router-core</artifactId>
64 <version>1.1.0-SNAPSHOT</version>
68 <groupId>org.json</groupId>
69 <artifactId>json</artifactId>
73 <groupId>com.google.code.gson</groupId>
74 <artifactId>gson</artifactId>
75 <version>2.6.2</version>
79 <groupId>org.eclipse.persistence</groupId>
80 <artifactId>eclipselink</artifactId>
81 <version>2.6.2</version>
85 <groupId>org.openecomp.aai.logging-service</groupId>
86 <artifactId>common-logging</artifactId>
87 <version>1.0.0</version>
91 <groupId>org.openecomp.aai</groupId>
92 <artifactId>rest-client</artifactId>
93 <version>1.1.0</version>
97 <groupId>ch.qos.logback</groupId>
98 <artifactId>logback-core</artifactId>
99 <version>1.1.7</version>
106 <!-- Checkstyle plugin - used to report on compliance with -->
107 <!-- the Google style guide. -->
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-site-plugin</artifactId>
111 <version>3.3</version>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-checkstyle-plugin</artifactId>
117 <version>2.17</version>
121 <report>checkstyle</report>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-resources-plugin</artifactId>
132 <version>2.7</version>
135 <id>copy-docker-file</id>
136 <phase>package</phase>
138 <goal>copy-resources</goal>
141 <outputDirectory>target</outputDirectory>
142 <overwrite>true</overwrite>
145 <directory>${basedir}/src/main/docker</directory>
146 <filtering>true</filtering>
148 <include>**/*</include>
152 <directory>${basedir}/src/main/bin/</directory>
159 <!-- license plugin -->
161 <groupId>com.mycila</groupId>
162 <artifactId>license-maven-plugin</artifactId>
163 <version>3.0</version>
165 <header>License.txt</header>
167 <include>src/main/java/**</include>
175 <phase>process-sources</phase>
186 <defaultGoal>initialize</defaultGoal>
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>exec-maven-plugin</artifactId>
191 <version>1.3.2</version>
194 <phase>initialize</phase>
199 <includeProjectDependencies>false</includeProjectDependencies>
200 <includePluginDependencies>true</includePluginDependencies>
201 <executable>java</executable>
202 <mainClass>com.att.ajsc.runner.Runner</mainClass>
203 <executableDependency>
204 <groupId>com.att.ajsc</groupId>
205 <artifactId>ajsc-runner</artifactId>
206 </executableDependency>
207 <additionalClasspathElements>
208 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
209 </additionalClasspathElements>
211 <environmentVariables>
212 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
213 </environmentVariables>
215 <!-- Main AJSC System Properties below (necessary for proper startup) -->
219 <value>${runAjscHome}</value>
223 <key>CONFIG_HOME</key>
224 <value>${basedir}/appconfig-local/</value>
228 <key>AJSC_CONF_HOME</key>
229 <value>${basedir}/bundleconfig-local</value>
232 <key>logback.configurationFile</key>
233 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
236 <key>AJSC_SHARED_CONFIG</key>
237 <value>${basedir}/ajsc-shared-config</value>
241 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
242 <value>${basedir}/target/commonLibs</value>
245 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
246 <value>${basedir}/ajsc-shared-config/etc</value>
250 <key>AJSC_SERVICE_NAMESPACE</key>
251 <value>${module.ajsc.namespace.name}</value>
254 <key>AJSC_SERVICE_VERSION</key>
255 <value>${module.ajsc.namespace.version}</value>
258 <key>SOACLOUD_SERVICE_VERSION</key>
259 <value>${project.version}</value>
262 <key>server.port</key>
263 <value>${serverPort}</value>
267 <!-- Command Line Arguments to add to the java command. Here, you
268 can specify the port as well as the Context you want your service to run
269 in. Use context=/ to run in an unnamed Context (Root Context). The default
270 configuration of the AJSC is to run under the / Context. Setting the port
271 here can aid during the development phase of your service. However, you can
272 leave this argument out entirely, and the AJSC will default to using an Ephemeral
275 <argument>context=/</argument>
276 <argument>port=${serverPort}</argument>
277 <argument>sslport=${sslport}</argument>
283 <executable>java</executable>
287 <groupId>com.att.ajsc</groupId>
288 <artifactId>ajsc-runner</artifactId>
289 <version>${ajscRuntimeVersion}</version>
297 <dependencyManagement>
300 <groupId>org.apache.httpcomponents</groupId>
301 <artifactId>httpclient</artifactId>
302 <version>4.5</version>
305 <groupId>org.apache.httpcomponents</groupId>
306 <artifactId>httpcore</artifactId>
307 <version>4.4.1</version>
310 <groupId>org.json</groupId>
311 <artifactId>json</artifactId>
312 <version>20131018</version>
315 </dependencyManagement>
316 <distributionManagement>
318 <id>ecomp-releases</id>
319 <name>ECOMP Release Repository</name>
320 <url>${nexusproxy}/content/repositories/releases/</url>
323 <id>ecomp-snapshots</id>
324 <name>ECOMP Snapshot Repository</name>
325 <url>${nexusproxy}/content/repositories/snapshots/</url>
326 </snapshotRepository>
327 </distributionManagement>