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</groupId>
11 <artifactId>babel</artifactId>
12 <version>1.0.0-SNAPSHOT</version>
15 <module.ajsc.namespace.name>babel-service</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>9515</serverPort>
37 <sslport>9516</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>
44 <!-- Dependency Versions -->
45 <aai.artifact.generator.version>1.1.0</aai.artifact.generator.version>
46 <apache.lang3.version>3.6</apache.lang3.version>
47 <commons-compress.version>1.14</commons-compress.version>
48 <common.logging.version>1.1.0</common.logging.version>
49 <dom4j.version>1.6.1</dom4j.version>
50 <fasterxml.version>2.8.1</fasterxml.version>
51 <hamcrest.version>1.3</hamcrest.version>
52 <javaassist.version>3.21.0-GA</javaassist.version>
53 <logback.version>1.1.9</logback.version>
54 <mockito.version>1.10.19</mockito.version>
55 <powermock.version>1.6.2</powermock.version>
56 <sdc.distribution.client.version>1.1.32-SNAPSHOT</sdc.distribution.client.version>
57 <snakeyamle.version>1.18</snakeyamle.version>
58 <jacoco.version>0.7.9</jacoco.version>
63 <groupId>javax.ws.rs</groupId>
64 <artifactId>javax.ws.rs-api</artifactId>
65 <version>2.0.1</version>
68 <groupId>dom4j</groupId>
69 <artifactId>dom4j</artifactId>
70 <version>${dom4j.version}</version>
71 <scope>provided</scope>
74 <!-- Common logging framework -->
76 <groupId>org.onap.aai.logging-service</groupId>
77 <artifactId>common-logging</artifactId>
78 <version>${common.logging.version}</version>
81 <groupId>org.hamcrest</groupId>
82 <artifactId>hamcrest-library</artifactId>
83 <version>1.3</version>
87 <groupId>com.google.code.gson</groupId>
88 <artifactId>gson</artifactId>
89 <version>2.8.1</version>
92 <groupId>ch.qos.logback</groupId>
93 <artifactId>logback-core</artifactId>
94 <version>${logback.version}</version>
97 <!-- apache commons -->
99 <groupId>org.apache.commons</groupId>
100 <artifactId>commons-compress</artifactId>
101 <version>${commons-compress.version}</version>
104 <groupId>commons-io</groupId>
105 <artifactId>commons-io</artifactId>
108 <groupId>org.apache.commons</groupId>
109 <artifactId>commons-lang3</artifactId>
110 <version>${apache.lang3.version}</version>
113 <!-- Artifact generation -->
115 <groupId>org.openecomp.sdc.common</groupId>
116 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
117 <version>${aai.artifact.generator.version}</version>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-core</artifactId>
122 <version>${fasterxml.version}</version>
127 <groupId>org.mockito</groupId>
128 <artifactId>mockito-core</artifactId>
129 <version>${mockito.version}</version>
133 <groupId>org.powermock</groupId>
134 <artifactId>powermock-module-junit4</artifactId>
135 <version>${powermock.version}</version>
139 <groupId>org.powermock</groupId>
140 <artifactId>powermock-api-mockito</artifactId>
141 <version>${powermock.version}</version>
145 <groupId>org.powermock</groupId>
146 <artifactId>powermock-module-javaagent</artifactId>
147 <version>${powermock.version}</version>
151 <groupId>org.powermock</groupId>
152 <artifactId>powermock-module-junit4-rule-agent</artifactId>
153 <version>${powermock.version}</version>
157 <groupId>org.javassist</groupId>
158 <artifactId>javassist</artifactId>
159 <version>${javaassist.version}</version>
162 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
163 <artifactId>sdc-distribution-client</artifactId>
164 <version>${sdc.distribution.client.version}</version>
167 <groupId>xmlunit</groupId>
168 <artifactId>xmlunit</artifactId>
169 <version>1.6</version>
178 <groupId>org.codehaus.mojo</groupId>
179 <artifactId>cobertura-maven-plugin</artifactId>
180 <version>2.7</version>
189 <groupId>org.jacoco</groupId>
190 <artifactId>jacoco-maven-plugin</artifactId>
191 <version>${jacoco.version}</version>
195 <id>prepare-agent</id>
197 <goal>prepare-agent</goal>
203 <phase>package</phase>
213 <groupId>org.codehaus.groovy</groupId>
214 <artifactId>groovy-eclipse-compiler</artifactId>
215 <version>2.9.2-01</version>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-resources-plugin</artifactId>
220 <version>3.0.2</version>
223 <id>copy-docker-file</id>
224 <phase>package</phase>
226 <goal>copy-resources</goal>
229 <outputDirectory>target</outputDirectory>
230 <overwrite>true</overwrite>
233 <directory>${basedir}/src/main/docker</directory>
234 <filtering>true</filtering>
236 <include>**/*</include>
240 <directory>${basedir}/src/main/bin/</directory>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-jar-plugin</artifactId>
250 <version>3.0.2</version>
253 <phase>package</phase>
258 <classifier>client</classifier>
260 <include>**/babel/service/data/*</include>
267 <!-- license plugin -->
269 <groupId>com.mycila</groupId>
270 <artifactId>license-maven-plugin</artifactId>
271 <version>3.0</version>
273 <header>License.txt</header>
275 <include>src/main/java/**</include>
276 <include>src/test/java/**</include>
284 <phase>process-sources</phase>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-deploy-plugin</artifactId>
293 <classifier>client</classifier>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-site-plugin</artifactId>
300 <version>3.3</version>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-checkstyle-plugin</artifactId>
306 <version>2.17</version>
310 <report>checkstyle</report>
318 <!-- Strong recommendation to use forkCount and reuseForks parameters as forkMode is deprecated since v2.14 -->
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-surefire-plugin</artifactId>
323 <reuseForks>false</reuseForks>
324 <forkCount>1</forkCount>
330 <!-- Added to fix build warnings caused by parent pom and bom -->
336 <defaultGoal>initialize</defaultGoal>
339 <groupId>org.codehaus.mojo</groupId>
340 <artifactId>exec-maven-plugin</artifactId>
341 <version>1.3.2</version>
344 <phase>initialize</phase>
349 <includeProjectDependencies>false</includeProjectDependencies>
350 <includePluginDependencies>true</includePluginDependencies>
351 <executable>java</executable>
352 <mainClass>com.att.ajsc.runner.Runner</mainClass>
353 <executableDependency>
354 <groupId>com.att.ajsc</groupId>
355 <artifactId>ajsc-runner</artifactId>
356 </executableDependency>
357 <additionalClasspathElements>
358 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
359 </additionalClasspathElements>
361 <environmentVariables>
362 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
363 </environmentVariables>
365 <!-- Main AJSC System Properties below (necessary for proper startup) -->
369 <value>${runAjscHome}</value>
373 <value>${runAjscHome}</value>
376 <key>AJSC_CONF_HOME</key>
377 <value>${basedir}/bundleconfig-local</value>
380 <key>logback.configurationFile</key>
381 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
384 <key>AJSC_SHARED_CONFIG</key>
385 <value>${basedir}/ajsc-shared-config</value>
388 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
389 <value>${basedir}/target/commonLibs</value>
392 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
393 <value>${basedir}/ajsc-shared-config/etc</value>
397 <key>AJSC_SERVICE_NAMESPACE</key>
398 <value>${module.ajsc.namespace.name}</value>
401 <key>AJSC_SERVICE_VERSION</key>
402 <value>${module.ajsc.namespace.version}</value>
405 <key>SOACLOUD_SERVICE_VERSION</key>
406 <value>${project.version}</value>
409 <key>server.port</key>
410 <value>${serverPort}</value>
413 <key>CONFIG_HOME</key>
414 <value>${basedir}/appconfig-local</value>
417 <key>artifactgenerator.config</key>
418 <value>${basedir}/appconfig-local/artifact-generator.properties</value>
422 <!-- Command Line Arguments to add to the java command. Here, you
423 can specify the port as well as the Context you want your service to run
424 in. Use context=/ to run in an unnamed Context (Root Context). The default
425 configuration of the AJSC is to run under the / Context. Setting the port
426 here can aid during the development phase of your service. However, you can
427 leave this argument out entirely, and the AJSC will default to using an Ephemeral
430 <argument>context=/</argument>
431 <argument>port=${serverPort}</argument>
432 <argument>sslport=${sslport}</argument>
438 <executable>java</executable>
442 <groupId>com.att.ajsc</groupId>
443 <artifactId>ajsc-runner</artifactId>
444 <version>${ajscRuntimeVersion}</version>