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.sparky-be</groupId>
11 <artifactId>sparky-be</artifactId>
12 <version>1.2.0-SNAPSHOT</version>
13 <name>aai-sparky-be</name>
16 <docker.location>${basedir}/target</docker.location>
17 <module.ajsc.namespace.name>inventory-ui-service</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>
21 <frontEndGroupdId>org.amdocs.aaiee</frontEndGroupdId>
22 <frontEndArtifactId>sparky-fe</frontEndArtifactId>
23 <frontEndVersion>1.1.0-SNAPSHOT</frontEndVersion>
25 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
26 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
27 version, THIS will be used as your directory structure. If you do NOT want
28 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
30 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
31 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
33 <!-- For SOA Cloud Installation -->
34 <installOwnerUser>aaiadmin</installOwnerUser>
35 <installOwnerGroup>aaiadmin</installOwnerGroup>
36 <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
38 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
39 For local testing, you may choose to hardcode this value to something like
41 <serverPort>9517</serverPort>
42 <sslport>8000</sslport>
44 <testRouteOffer>workstation</testRouteOffer>
45 <testEnv>DEV</testEnv>
46 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
49 <!-- Sonar Configuration -->
50 <sonar.language>java</sonar.language>
51 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
52 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
53 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
54 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
55 <sonar.projectVersion>${project.version}</sonar.projectVersion>
61 <groupId>org.mockito</groupId>
62 <artifactId>mockito-all</artifactId>
63 <version>1.10.19</version>
67 <groupId>org.powermock</groupId>
68 <artifactId>powermock-module-junit4</artifactId>
69 <version>1.6.2</version>
73 <groupId>org.powermock</groupId>
74 <artifactId>powermock-api-mockito</artifactId>
75 <version>1.6.2</version>
79 <groupId>org.powermock</groupId>
80 <artifactId>powermock-module-javaagent</artifactId>
81 <version>1.6.2</version>
85 <groupId>org.powermock</groupId>
86 <artifactId>powermock-module-junit4-rule-agent</artifactId>
87 <version>1.6.2</version>
93 <groupId>dom4j</groupId>
94 <artifactId>dom4j</artifactId>
95 <version>1.6.1</version>
96 <scope>provided</scope>
99 <groupId>com.att.aft</groupId>
100 <artifactId>dme2</artifactId>
101 <version>3.1.200</version>
102 <scope>provided</scope>
106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-api</artifactId>
108 <version>1.7.20</version>
112 <groupId>org.hamcrest</groupId>
113 <artifactId>hamcrest-library</artifactId>
114 <version>1.3</version>
118 <!-- <dependency> <groupId>com.att.csp</groupId> <artifactId>gatekeeper</artifactId>
119 <version>1.0</version> <scope>system</scope> <systemPath>${project.basedir}/local-repository/gatekeeper-1.0.jar</systemPath>
120 </dependency> <dependency> <groupId>com.att.csp</groupId> <artifactId>PSE_Lite</artifactId>
121 <version>1.0</version> <scope>system</scope> <systemPath>${project.basedir}/local-repository/PSE_Lite-1.0.jar</systemPath>
125 <groupId>org.eclipse.persistence</groupId>
126 <artifactId>eclipselink</artifactId>
127 <version>2.6.2</version>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-core</artifactId>
133 <version>2.7.4</version>
137 <groupId>org.json</groupId>
138 <artifactId>json</artifactId>
139 <version>20131018</version>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-databind</artifactId>
145 <version>2.7.4</version>
149 <groupId>org.onap.aai.logging-service</groupId>
150 <artifactId>common-logging</artifactId>
151 <version>1.2.0-SNAPSHOT</version>
155 <groupId>org.onap.aai.aai-common</groupId>
156 <artifactId>aai-schema</artifactId>
157 <version>1.2.0-SNAPSHOT</version>
161 <groupId>org.onap.aai</groupId>
162 <artifactId>rest-client</artifactId>
163 <version>1.2.0-SNAPSHOT</version>
167 <groupId>com.google.code.gson</groupId>
168 <artifactId>gson</artifactId>
169 <version>2.6.2</version>
173 <groupId>ch.qos.logback</groupId>
174 <artifactId>logback-classic</artifactId>
175 <version>1.1.7</version>
179 <groupId>ch.qos.logback</groupId>
180 <artifactId>logback-core</artifactId>
181 <version>1.1.7</version>
185 <groupId>commons-io</groupId>
186 <artifactId>commons-io</artifactId>
187 <version>2.4</version>
191 <groupId>log4j</groupId>
192 <artifactId>log4j</artifactId>
193 <version>1.2.17</version>
197 <groupId>com.openpojo</groupId>
198 <artifactId>openpojo</artifactId>
199 <version>0.8.6</version>
203 <groupId>org.onap.portal.sdk</groupId>
204 <artifactId>epsdk-fw</artifactId>
205 <version>1.3.0 </version>
208 <groupId>commons-logging</groupId>
209 <artifactId>commons-logging</artifactId>
212 <groupId>log4j</groupId>
213 <artifactId>log4j</artifactId>
216 <groupId>log4j</groupId>
217 <artifactId>apache-log4j-extras</artifactId>
220 <groupId>org.slf4j</groupId>
221 <artifactId>slf4j-log4j12</artifactId>
232 <defaultGoal>initialize</defaultGoal>
236 <groupId>org.codehaus.mojo</groupId>
237 <artifactId>exec-maven-plugin</artifactId>
238 <version>1.3.2</version>
241 <phase>initialize</phase>
246 <includeProjectDependencies>false</includeProjectDependencies>
247 <includePluginDependencies>true</includePluginDependencies>
248 <executable>java</executable>
249 <mainClass>com.att.ajsc.runner.Runner</mainClass>
250 <executableDependency>
251 <groupId>com.att.ajsc</groupId>
252 <artifactId>ajsc-runner</artifactId>
253 </executableDependency>
254 <additionalClasspathElements>
255 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
256 </additionalClasspathElements>
258 <environmentVariables>
259 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
260 </environmentVariables>
262 <!-- Main AJSC System Properties below (necessary for proper startup) -->
266 <value>${runAjscHome}</value>
269 <key>CONFIG_HOME</key>
270 <value>${basedir}/appconfig-local/</value>
273 <key>AJSC_CONF_HOME</key>
274 <value>${basedir}/bundleconfig-local</value>
277 <key>logback.configurationFile</key>
278 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
281 <key>AJSC_SHARED_CONFIG</key>
282 <value>${basedir}/ajsc-shared-config</value>
286 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
287 <value>${basedir}/target/commonLibs</value>
290 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
291 <value>${basedir}/ajsc-shared-config/etc</value>
295 <key>AJSC_SERVICE_NAMESPACE</key>
296 <value>${module.ajsc.namespace.name}</value>
299 <key>AJSC_SERVICE_VERSION</key>
300 <value>${module.ajsc.namespace.version}</value>
303 <key>SOACLOUD_SERVICE_VERSION</key>
304 <value>${project.version}</value>
307 <key>server.port</key>
308 <value>${serverPort}</value>
312 <!-- Command Line Arguments to add to the java command. Here, you
313 can specify the port as well as the Context you want your service to run
314 in. Use context=/ to run in an unnamed Context (Root Context). The default
315 configuration of the AJSC is to run under the / Context. Setting the port
316 here can aid during the development phase of your service. However, you can
317 leave this argument out entirely, and the AJSC will default to using an Ephemeral
320 <argument>context=/</argument>
321 <argument>port=${serverPort}</argument>
322 <argument>sslport=${sslport}</argument>
328 <executable>java</executable>
332 <groupId>com.att.ajsc</groupId>
333 <artifactId>ajsc-runner</artifactId>
334 <version>${ajscRuntimeVersion}</version>
346 <!-- purposely disable cobertura from parent pom as it is very broken
347 Java1.8 code. It can't handle lamdas and comes apart with a bunch of errors -->
350 <groupId>org.codehaus.mojo</groupId>
351 <artifactId>cobertura-maven-plugin</artifactId>
352 <version>2.7</version>
359 <!--This plugin's configuration is used to store Eclipse m2e settings
360 only. It has no influence on the Maven build itself. -->
362 <groupId>org.eclipse.m2e</groupId>
363 <artifactId>lifecycle-mapping</artifactId>
364 <version>1.0.0</version>
366 <lifecycleMappingMetadata>
369 <pluginExecutionFilter>
374 properties-maven-plugin
381 write-project-properties
384 </pluginExecutionFilter>
390 </lifecycleMappingMetadata>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-dependency-plugin</artifactId>
397 <version>3.0.0</version>
400 <id>copy-installed</id>
401 <phase>install</phase>
408 <groupId>org.onap.aai.sparky-fe</groupId>
409 <artifactId>sparky-fe</artifactId>
410 <version>1.1.0-SNAPSHOT</version>
412 <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extApps/</outputDirectory>
413 <destFileName>aai.war</destFileName>
422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-compiler-plugin</artifactId>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-resources-plugin</artifactId>
434 <version>2.7</version>
437 <id>copy-docker-file</id>
438 <phase>package</phase>
440 <goal>copy-resources</goal>
443 <outputDirectory>target</outputDirectory>
444 <overwrite>true</overwrite>
447 <directory>${basedir}/src/main/docker</directory>
448 <filtering>true</filtering>
450 <include>**/*</include>
454 <directory>${basedir}/src/main/scripts/</directory>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-site-plugin</artifactId>
470 <version>3.3</version>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-checkstyle-plugin</artifactId>
476 <version>2.17</version>
480 <report>checkstyle</report>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-resources-plugin</artifactId>
491 <version>2.7</version>
494 <id>copy-docker-file</id>
495 <phase>package</phase>
497 <goal>copy-resources</goal>
500 <outputDirectory>target</outputDirectory>
501 <overwrite>true</overwrite>
504 <directory>${basedir}/src/main/docker</directory>
505 <filtering>true</filtering>
507 <include>**/*</include>
511 <directory>${basedir}/src/main/scripts/</directory>
519 <groupId>com.spotify</groupId>
520 <artifactId>docker-maven-plugin</artifactId>
521 <version>0.4.11</version>
523 <verbose>true</verbose>
524 <serverId>docker-hub</serverId>
525 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
526 <dockerDirectory>${docker.location}</dockerDirectory>
528 <imageTag>latest</imageTag>
530 <forceTags>true</forceTags>
533 <!-- license plugin -->
535 <groupId>com.mycila</groupId>
536 <artifactId>license-maven-plugin</artifactId>
537 <version>3.0</version>
539 <header>LICENSE</header>
541 <include>src/main/java/**</include>
549 <phase>process-sources</phase>
554 <groupId>org.sonatype.plugins</groupId>
555 <artifactId>nexus-staging-maven-plugin</artifactId>
556 <version>1.6.7</version>
557 <extensions>true</extensions>
559 <nexusUrl>${nexusproxy}</nexusUrl>
560 <stagingProfileId>176c31dfe190a</stagingProfileId>
561 <serverId>ecomp-staging</serverId>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-deploy-plugin</artifactId>
572 <groupId>org.codehaus.mojo</groupId>
573 <artifactId>sonar-maven-plugin</artifactId>
574 <version>3.2</version>
577 <groupId>org.jacoco</groupId>
578 <artifactId>jacoco-maven-plugin</artifactId>
579 <version>0.7.7.201606060606</version>
581 <dumpOnExit>true</dumpOnExit>
585 <id>jacoco-initialize-unit-tests</id>
587 <goal>prepare-agent</goal>
590 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
591 <!-- <append>true</append> -->
599 <distributionManagement>
601 <id>ecomp-releases</id>
602 <name>ECOMP Release Repository</name>
603 <url>${nexusproxy}/content/repositories/releases/</url>
606 <id>ecomp-snapshots</id>
607 <name>ECOMP Snapshot Repository</name>
608 <url>${nexusproxy}/content/repositories/snapshots/</url>
609 </snapshotRepository>
610 </distributionManagement>