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 <groupId>org.springframework.boot</groupId>
7 <artifactId>spring-boot-starter-parent</artifactId>
8 <version>1.5.15.RELEASE</version>
11 <groupId>org.onap.aai.sparky-be</groupId>
12 <artifactId>sparkybe-onap-application</artifactId>
13 <version>1.3.0-SNAPSHOT</version>
14 <packaging>jar</packaging>
17 <java.version>1.8</java.version>
18 <version.jacoco.maven.plugin>0.7.9</version.jacoco.maven.plugin>
19 <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
20 <frontEndArtifactId>sparky-fe</frontEndArtifactId>
21 <frontEndVersion>1.3.0-SNAPSHOT</frontEndVersion>
22 <serverPort>9517</serverPort>
23 <sslport>8000</sslport>
24 <nexusproxy>https://nexus.onap.org</nexusproxy>
25 <camel-spring-boot.version>2.20.0</camel-spring-boot.version>
26 <config-home>${basedir}/</config-home>
27 <docker.location>${basedir}/target</docker.location>
28 <docker.image.name>sparky-be</docker.image.name>
29 <version.aai-schema>1.2.4</version.aai-schema>
30 <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
31 <nexusproxy>https://nexus.onap.org</nexusproxy>
34 <dependencyManagement>
39 <groupId>org.apache.camel</groupId>
40 <artifactId>camel-spring-boot-dependencies</artifactId>
41 <version>${camel-spring-boot.version}</version>
47 <groupId>ch.qos.logback</groupId>
48 <artifactId>logback-classic</artifactId>
49 <version>1.2.1</version>
56 </dependencyManagement>
60 <!-- Spring dependencies -->
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-web</artifactId>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-actuator</artifactId>
72 <groupId>org.apache.camel</groupId>
73 <artifactId>camel-restlet</artifactId>
76 <groupId>commons-logging</groupId>
77 <artifactId>commons-logging</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-logging</artifactId>
87 <groupId>ch.qos.logback</groupId>
88 <artifactId>logback-classic</artifactId>
91 <groupId>org.slf4j</groupId>
92 <artifactId>log4j-over-slf4j</artifactId>
98 <groupId>org.apache.camel</groupId>
99 <artifactId>camel-servlet</artifactId>
102 <groupId>commons-logging</groupId>
103 <artifactId>commons-logging</artifactId>
110 <groupId>org.apache.camel</groupId>
111 <artifactId>camel-spring-boot-dependencies</artifactId>
112 <version>${camel-spring-boot.version}</version>
114 <scope>import</scope>
117 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
118 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
119 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
124 <groupId>org.apache.camel</groupId>
125 <artifactId>camel-spring-boot-starter</artifactId>
128 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
130 <groupId>org.apache.camel</groupId>
131 <artifactId>camel-restlet</artifactId>
135 <groupId>commons-io</groupId>
136 <artifactId>commons-io</artifactId>
139 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
141 <groupId>org.eclipse.jetty</groupId>
142 <artifactId>jetty-util</artifactId>
143 <scope>provided</scope>
147 <groupId>org.apache.camel</groupId>
148 <artifactId>camel-servlet-starter</artifactId>
152 <groupId>org.springframework.boot</groupId>
153 <artifactId>spring-boot-starter-actuator</artifactId>
157 <groupId>org.onap.aai.sparky-be</groupId>
158 <artifactId>sparkybe-onap-service</artifactId>
159 <version>1.3.0-SNAPSHOT</version>
167 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
169 <groupId>commons-cli</groupId>
170 <artifactId>commons-cli</artifactId>
171 <version>1.2</version>
174 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
178 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
179 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
180 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
181 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
182 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
183 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
184 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
187 <!-- Utility dependencies -->
190 <groupId>com.google.guava</groupId>
191 <artifactId>guava</artifactId>
192 <version>19.0</version>
196 <groupId>org.onap.aai.logging-service</groupId>
197 <artifactId>common-logging</artifactId>
198 <version>1.2.2</version>
202 <groupId>dom4j</groupId>
203 <artifactId>dom4j</artifactId>
204 <scope>provided</scope>
208 <groupId>org.eclipse.persistence</groupId>
209 <artifactId>eclipselink</artifactId>
210 <version>2.6.2</version>
214 <groupId>org.slf4j</groupId>
215 <artifactId>slf4j-api</artifactId>
216 <scope>provided</scope>
220 <groupId>com.fasterxml.jackson.core</groupId>
221 <artifactId>jackson-core</artifactId>
222 <scope>provided</scope>
226 <groupId>org.onap.aai.aai-common</groupId>
227 <artifactId>aai-schema</artifactId>
228 <version>${version.aai-schema}</version>
232 <groupId>org.onap.aai</groupId>
233 <artifactId>rest-client</artifactId>
234 <version>1.3.0-SNAPSHOT</version>
237 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
239 <groupId>org.restlet.jee</groupId>
240 <artifactId>org.restlet.ext.servlet</artifactId>
241 <version>2.1.1</version>
246 <groupId>com.openpojo</groupId>
247 <artifactId>openpojo</artifactId>
248 <version>0.8.6</version>
252 <groupId>com.google.code.gson</groupId>
253 <artifactId>gson</artifactId>
254 <scope>provided</scope>
259 <groupId>org.json</groupId>
260 <artifactId>json</artifactId>
261 <scope>provided</scope>
265 <groupId>com.fasterxml.jackson.core</groupId>
266 <artifactId>jackson-databind</artifactId>
267 <scope>provided</scope>
271 <groupId>org.onap.portal.sdk</groupId>
272 <artifactId>epsdk-fw</artifactId>
273 <version>1.3.0 </version>
276 <groupId>commons-logging</groupId>
277 <artifactId>commons-logging</artifactId>
280 <groupId>log4j</groupId>
281 <artifactId>log4j</artifactId>
284 <groupId>log4j</groupId>
285 <artifactId>apache-log4j-extras</artifactId>
288 <groupId>org.slf4j</groupId>
289 <artifactId>slf4j-log4j12</artifactId>
294 <!-- Test dependencies -->
297 <groupId>org.mockito</groupId>
298 <artifactId>mockito-all</artifactId>
299 <version>1.10.19</version>
304 <groupId>org.powermock</groupId>
305 <artifactId>powermock-module-junit4</artifactId>
306 <version>1.6.2</version>
310 <groupId>org.powermock</groupId>
311 <artifactId>powermock-api-mockito</artifactId>
312 <version>1.6.2</version>
316 <groupId>org.powermock</groupId>
317 <artifactId>powermock-module-javaagent</artifactId>
318 <version>1.6.2</version>
322 <groupId>org.powermock</groupId>
323 <artifactId>powermock-module-junit4-rule-agent</artifactId>
324 <version>1.6.2</version>
329 <groupId>org.hamcrest</groupId>
330 <artifactId>hamcrest-library</artifactId>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-compiler-plugin</artifactId>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-resources-plugin</artifactId>
354 <version>2.7</version>
357 <id>copy-docker-file</id>
358 <phase>package</phase>
360 <goal>copy-resources</goal>
363 <outputDirectory>target</outputDirectory>
364 <overwrite>true</overwrite>
367 <directory>${basedir}/src/main/docker</directory>
368 <filtering>true</filtering>
370 <include>**/*</include>
374 <directory>${basedir}/src/main/scripts/</directory>
388 <groupId>org.springframework.boot</groupId>
389 <artifactId>spring-boot-maven-plugin</artifactId>
393 ${CONFIG_HOME}/portal/
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-resources-plugin</artifactId>
402 <version>2.7</version>
405 <id>copy-docker-file-to-target</id>
406 <phase>package</phase>
408 <goal>copy-resources</goal>
411 <outputDirectory>target</outputDirectory>
412 <overwrite>true</overwrite>
415 <directory>${basedir}/src/main/docker</directory>
416 <filtering>true</filtering>
418 <include>**/*</include>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-resources-plugin</artifactId>
430 <version>2.7</version>
433 <id>copy-scripts-to-target</id>
434 <phase>package</phase>
436 <goal>copy-resources</goal>
439 <outputDirectory>target/scripts</outputDirectory>
440 <overwrite>true</overwrite>
443 <directory>${basedir}/src/main/scripts</directory>
444 <filtering>true</filtering>
446 <include>**/*</include>
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-resources-plugin</artifactId>
460 <id>copy-config-to-target</id>
461 <phase>package</phase>
463 <goal>copy-resources</goal>
466 <outputDirectory>target/config</outputDirectory>
467 <overwrite>true</overwrite>
470 <directory>${basedir}/config</directory>
471 <filtering>true</filtering>
473 <include>**/*</include>
476 <exclude>**/auth/*</exclude>
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-dependency-plugin</artifactId>
489 <version>3.0.0</version>
492 <id>copy-war-to-target</id>
493 <phase>install</phase>
500 <groupId>${frontEndGroupdId}</groupId>
501 <artifactId>${frontEndArtifactId}</artifactId>
502 <version>${frontEndVersion}</version>
504 <outputDirectory>${basedir}/target/static/services/aai/webapp/</outputDirectory>
513 <groupId>org.jacoco</groupId>
514 <artifactId>jacoco-maven-plugin</artifactId>
515 <version>${version.jacoco.maven.plugin}</version>
518 <id>prepare-agent</id>
520 <goal>prepare-agent</goal>
525 <phase>package</phase>
534 <groupId>org.codehaus.mojo</groupId>
535 <artifactId>cobertura-maven-plugin</artifactId>
544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-site-plugin</artifactId>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-checkstyle-plugin</artifactId>
551 <version>2.17</version>
555 <report>checkstyle</report>
564 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
565 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
566 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
567 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
568 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
569 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
570 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
572 <groupId>com.spotify</groupId>
573 <artifactId>docker-maven-plugin</artifactId>
574 <version>0.4.11</version>
576 <verbose>true</verbose>
577 <serverId>docker-hub</serverId>
578 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
579 <dockerDirectory>${docker.location}</dockerDirectory>
581 <imageTag>latest</imageTag>
583 <forceTags>true</forceTags>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-deploy-plugin</artifactId>
589 <version>2.8.2</version>
592 <id>default-deploy</id>
598 <groupId>org.sonatype.plugins</groupId>
599 <artifactId>nexus-staging-maven-plugin</artifactId>
600 <version>1.6.7</version>
601 <extensions>true</extensions>
603 <nexusUrl>${nexusproxy}</nexusUrl>
604 <stagingProfileId>176c31dfe190a</stagingProfileId>
605 <serverId>ecomp-staging</serverId>
609 <!-- license plugin -->
610 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
611 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
612 <include>src/main/java/**</include> </includes> </configuration> <executions>
613 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
614 </execution> </executions> </plugin> -->
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-dependency-plugin</artifactId>
622 <phase>prepare-package</phase>
629 <groupId>org.onap.aai.aai-common</groupId>
630 <artifactId>aai-schema</artifactId>
631 <version>${version.aai-schema}</version>
633 <includes>oxm/</includes>
634 <outputDirectory>${project.build.directory}/</outputDirectory>
645 <distributionManagement>
647 <id>ecomp-releases</id>
648 <name>ECOMP Release Repository</name>
649 <url>${nexusproxy}/content/repositories/releases/</url>
652 <id>ecomp-snapshots</id>
653 <name>ECOMP Snapshot Repository</name>
654 <url>${nexusproxy}/content/repositories/snapshots/</url>
655 </snapshotRepository>
656 </distributionManagement>
661 <name>Maven 2 repository 2</name>
662 <url>http://repo2.maven.org/maven2/</url>
665 <id>ecomp-releases</id>
666 <name>ECOMP Release Repository</name>
667 <url>${nexusproxy}/content/repositories/releases/</url>
670 <id>ecomp-staging</id>
671 <name>ECOMP Staging Repository</name>
672 <url>${nexusproxy}/content/repositories/staging/</url>
675 <id>ecomp-snapshots</id>
676 <name>ECOMP Snapshot Repository</name>
677 <url>${nexusproxy}/content/repositories/snapshots/</url>