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.20.RELEASE</version>
11 <groupId>org.onap.aai.sparky-be</groupId>
12 <artifactId>sparkybe-onap-application</artifactId>
13 <version>1.5.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.5.0</frontEndVersion>
22 <serverPort>9517</serverPort>
23 <sslport>8000</sslport>
24 <nexusproxy>https://nexus.onap.org</nexusproxy>
25 <camel-spring-boot.version>2.21.1</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.5.0</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>
32 <shemaUnpackVersion>onap</shemaUnpackVersion>
35 <dependencyManagement>
40 <groupId>org.apache.camel</groupId>
41 <artifactId>camel-spring-boot-dependencies</artifactId>
42 <version>${camel-spring-boot.version}</version>
48 <groupId>ch.qos.logback</groupId>
49 <artifactId>logback-classic</artifactId>
50 <version>1.2.3</version>
57 </dependencyManagement>
61 <!-- Spring dependencies -->
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-web</artifactId>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-tomcat</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-jetty</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-actuator</artifactId>
84 <groupId>org.apache.camel</groupId>
85 <artifactId>camel-restlet</artifactId>
88 <groupId>commons-logging</groupId>
89 <artifactId>commons-logging</artifactId>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-starter-logging</artifactId>
99 <groupId>ch.qos.logback</groupId>
100 <artifactId>logback-classic</artifactId>
103 <groupId>org.slf4j</groupId>
104 <artifactId>log4j-over-slf4j</artifactId>
110 <groupId>org.apache.camel</groupId>
111 <artifactId>camel-servlet</artifactId>
114 <groupId>commons-logging</groupId>
115 <artifactId>commons-logging</artifactId>
122 <groupId>org.apache.camel</groupId>
123 <artifactId>camel-spring-boot-dependencies</artifactId>
124 <version>${camel-spring-boot.version}</version>
126 <scope>import</scope>
129 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
130 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
131 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
136 <groupId>org.apache.camel</groupId>
137 <artifactId>camel-spring-boot-starter</artifactId>
140 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
142 <groupId>org.apache.camel</groupId>
143 <artifactId>camel-restlet</artifactId>
147 <groupId>commons-io</groupId>
148 <artifactId>commons-io</artifactId>
151 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-util</artifactId>
155 <scope>provided</scope>
159 <groupId>org.apache.camel</groupId>
160 <artifactId>camel-servlet-starter</artifactId>
164 <groupId>org.springframework.boot</groupId>
165 <artifactId>spring-boot-starter-actuator</artifactId>
169 <groupId>org.onap.aai.sparky-be</groupId>
170 <artifactId>sparkybe-onap-service</artifactId>
171 <version>1.5.0-SNAPSHOT</version>
179 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
181 <groupId>commons-cli</groupId>
182 <artifactId>commons-cli</artifactId>
183 <version>1.2</version>
186 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
190 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
191 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
192 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
193 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
194 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
195 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
196 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
199 <!-- Utility dependencies -->
202 <groupId>com.google.guava</groupId>
203 <artifactId>guava</artifactId>
204 <version>26.0-jre</version>
208 <groupId>org.onap.aai.logging-service</groupId>
209 <artifactId>common-logging</artifactId>
210 <version>1.5.0</version>
214 <groupId>org.dom4j</groupId>
215 <artifactId>dom4j</artifactId>
216 <scope>provided</scope>
217 <version>2.1.1</version>
221 <groupId>org.eclipse.persistence</groupId>
222 <artifactId>eclipselink</artifactId>
223 <version>2.6.2</version>
227 <groupId>org.slf4j</groupId>
228 <artifactId>slf4j-api</artifactId>
229 <scope>provided</scope>
233 <groupId>com.fasterxml.jackson.core</groupId>
234 <artifactId>jackson-core</artifactId>
235 <scope>provided</scope>
239 <groupId>org.onap.aai.schema-service</groupId>
240 <artifactId>aai-schema</artifactId>
241 <version>${version.aai-schema}</version>
245 <groupId>org.onap.aai</groupId>
246 <artifactId>rest-client</artifactId>
247 <version>1.5.0</version>
250 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
252 <groupId>org.restlet.jee</groupId>
253 <artifactId>org.restlet.ext.servlet</artifactId>
254 <version>2.1.1</version>
259 <groupId>com.openpojo</groupId>
260 <artifactId>openpojo</artifactId>
261 <version>0.8.6</version>
265 <groupId>com.google.code.gson</groupId>
266 <artifactId>gson</artifactId>
267 <scope>provided</scope>
272 <groupId>org.json</groupId>
273 <artifactId>json</artifactId>
274 <scope>provided</scope>
278 <groupId>com.fasterxml.jackson.core</groupId>
279 <artifactId>jackson-databind</artifactId>
280 <scope>provided</scope>
284 <groupId>org.onap.portal.sdk</groupId>
285 <artifactId>epsdk-fw</artifactId>
286 <version>2.5.0</version>
289 <groupId>commons-logging</groupId>
290 <artifactId>commons-logging</artifactId>
293 <groupId>log4j</groupId>
294 <artifactId>log4j</artifactId>
297 <groupId>log4j</groupId>
298 <artifactId>apache-log4j-extras</artifactId>
301 <groupId>org.slf4j</groupId>
302 <artifactId>slf4j-log4j12</artifactId>
307 <!-- Test dependencies -->
310 <groupId>org.mockito</groupId>
311 <artifactId>mockito-all</artifactId>
312 <version>1.10.19</version>
317 <groupId>org.powermock</groupId>
318 <artifactId>powermock-module-junit4</artifactId>
319 <version>1.6.2</version>
323 <groupId>org.powermock</groupId>
324 <artifactId>powermock-api-mockito</artifactId>
325 <version>1.6.2</version>
329 <groupId>org.powermock</groupId>
330 <artifactId>powermock-module-javaagent</artifactId>
331 <version>1.6.2</version>
335 <groupId>org.powermock</groupId>
336 <artifactId>powermock-module-junit4-rule-agent</artifactId>
337 <version>1.6.2</version>
342 <groupId>org.hamcrest</groupId>
343 <artifactId>hamcrest-library</artifactId>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-compiler-plugin</artifactId>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-resources-plugin</artifactId>
367 <version>2.7</version>
370 <id>copy-docker-file</id>
371 <phase>package</phase>
373 <goal>copy-resources</goal>
376 <outputDirectory>target</outputDirectory>
377 <overwrite>true</overwrite>
380 <directory>${basedir}/src/main/docker</directory>
381 <filtering>true</filtering>
383 <include>**/*</include>
387 <directory>${basedir}/src/main/scripts/</directory>
401 <groupId>org.springframework.boot</groupId>
402 <artifactId>spring-boot-maven-plugin</artifactId>
406 ${CONFIG_HOME}/portal/BOOT-INF/classes/
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-resources-plugin</artifactId>
415 <version>2.7</version>
418 <id>copy-docker-file-to-target</id>
419 <phase>package</phase>
421 <goal>copy-resources</goal>
424 <outputDirectory>target</outputDirectory>
425 <overwrite>true</overwrite>
428 <directory>${basedir}/src/main/docker</directory>
429 <filtering>true</filtering>
431 <include>**/*</include>
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-resources-plugin</artifactId>
443 <version>2.7</version>
446 <id>copy-scripts-to-target</id>
447 <phase>package</phase>
449 <goal>copy-resources</goal>
452 <outputDirectory>target/scripts</outputDirectory>
453 <overwrite>true</overwrite>
456 <directory>${basedir}/src/main/scripts</directory>
457 <filtering>true</filtering>
459 <include>**/*</include>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-resources-plugin</artifactId>
473 <id>copy-config-to-target</id>
474 <phase>package</phase>
476 <goal>copy-resources</goal>
479 <outputDirectory>target/config</outputDirectory>
480 <overwrite>true</overwrite>
483 <directory>${basedir}/config</directory>
484 <filtering>true</filtering>
486 <include>**/*</include>
489 <exclude>**/auth/*</exclude>
500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-dependency-plugin</artifactId>
502 <version>3.0.0</version>
505 <id>copy-war-to-target</id>
506 <phase>install</phase>
513 <groupId>${frontEndGroupdId}</groupId>
514 <artifactId>${frontEndArtifactId}</artifactId>
515 <version>${frontEndVersion}</version>
517 <outputDirectory>${basedir}/target/static/services/aai/webapp/</outputDirectory>
526 <groupId>org.jacoco</groupId>
527 <artifactId>jacoco-maven-plugin</artifactId>
528 <version>${version.jacoco.maven.plugin}</version>
531 <id>prepare-agent</id>
533 <goal>prepare-agent</goal>
538 <phase>package</phase>
547 <groupId>org.codehaus.mojo</groupId>
548 <artifactId>cobertura-maven-plugin</artifactId>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-site-plugin</artifactId>
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-checkstyle-plugin</artifactId>
564 <version>2.17</version>
568 <report>checkstyle</report>
577 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
578 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
579 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
580 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
581 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
582 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
583 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
585 <groupId>com.spotify</groupId>
586 <artifactId>docker-maven-plugin</artifactId>
587 <version>0.4.11</version>
589 <verbose>true</verbose>
590 <serverId>docker-hub</serverId>
591 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
592 <dockerDirectory>${docker.location}</dockerDirectory>
594 <imageTag>latest</imageTag>
596 <forceTags>true</forceTags>
600 <groupId>org.apache.maven.plugins</groupId>
601 <artifactId>maven-deploy-plugin</artifactId>
602 <version>2.8.2</version>
605 <id>default-deploy</id>
611 <groupId>org.sonatype.plugins</groupId>
612 <artifactId>nexus-staging-maven-plugin</artifactId>
613 <version>1.6.7</version>
614 <extensions>true</extensions>
616 <nexusUrl>${nexusproxy}</nexusUrl>
617 <stagingProfileId>176c31dfe190a</stagingProfileId>
618 <serverId>ecomp-staging</serverId>
622 <!-- license plugin -->
623 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
624 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
625 <include>src/main/java/**</include> </includes> </configuration> <executions>
626 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
627 </execution> </executions> </plugin> -->
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-dependency-plugin</artifactId>
635 <phase>prepare-package</phase>
642 <groupId>org.onap.aai.schema-service</groupId>
643 <artifactId>aai-schema</artifactId>
644 <version>${version.aai-schema}</version>
646 <includes>/${shemaUnpackVersion}/oxm/</includes>
647 <outputDirectory>${project.build.directory}/oxm</outputDirectory>
658 <distributionManagement>
660 <id>ecomp-releases</id>
661 <name>ECOMP Release Repository</name>
662 <url>${nexusproxy}/content/repositories/releases/</url>
665 <id>ecomp-snapshots</id>
666 <name>ECOMP Snapshot Repository</name>
667 <url>${nexusproxy}/content/repositories/snapshots/</url>
668 </snapshotRepository>
669 </distributionManagement>
674 <name>Maven 2 repository 2</name>
675 <url>http://repo2.maven.org/maven2/</url>
678 <id>ecomp-releases</id>
679 <name>ECOMP Release Repository</name>
680 <url>${nexusproxy}/content/repositories/releases/</url>
683 <id>ecomp-staging</id>
684 <name>ECOMP Staging Repository</name>
685 <url>${nexusproxy}/content/repositories/staging/</url>
688 <id>ecomp-snapshots</id>
689 <name>ECOMP Snapshot Repository</name>
690 <url>${nexusproxy}/content/repositories/snapshots/</url>