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.2-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</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.3.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>
68 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-starter-actuator</artifactId>
73 <groupId>org.apache.camel</groupId>
74 <artifactId>camel-restlet</artifactId>
77 <groupId>commons-logging</groupId>
78 <artifactId>commons-logging</artifactId>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-logging</artifactId>
88 <groupId>ch.qos.logback</groupId>
89 <artifactId>logback-classic</artifactId>
92 <groupId>org.slf4j</groupId>
93 <artifactId>log4j-over-slf4j</artifactId>
99 <groupId>org.apache.camel</groupId>
100 <artifactId>camel-servlet</artifactId>
103 <groupId>commons-logging</groupId>
104 <artifactId>commons-logging</artifactId>
111 <groupId>org.apache.camel</groupId>
112 <artifactId>camel-spring-boot-dependencies</artifactId>
113 <version>${camel-spring-boot.version}</version>
115 <scope>import</scope>
118 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
119 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
120 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
125 <groupId>org.apache.camel</groupId>
126 <artifactId>camel-spring-boot-starter</artifactId>
129 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
131 <groupId>org.apache.camel</groupId>
132 <artifactId>camel-restlet</artifactId>
136 <groupId>commons-io</groupId>
137 <artifactId>commons-io</artifactId>
140 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
142 <groupId>org.eclipse.jetty</groupId>
143 <artifactId>jetty-util</artifactId>
144 <scope>provided</scope>
148 <groupId>org.apache.camel</groupId>
149 <artifactId>camel-servlet-starter</artifactId>
153 <groupId>org.springframework.boot</groupId>
154 <artifactId>spring-boot-starter-actuator</artifactId>
158 <groupId>org.onap.aai.sparky-be</groupId>
159 <artifactId>sparkybe-onap-service</artifactId>
160 <version>1.3.2-SNAPSHOT</version>
168 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
170 <groupId>commons-cli</groupId>
171 <artifactId>commons-cli</artifactId>
172 <version>1.2</version>
175 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
179 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
180 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
181 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
182 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
183 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
184 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
185 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
188 <!-- Utility dependencies -->
191 <groupId>com.google.guava</groupId>
192 <artifactId>guava</artifactId>
193 <version>26.0-jre</version>
197 <groupId>org.onap.aai.logging-service</groupId>
198 <artifactId>common-logging</artifactId>
199 <version>1.2.2</version>
203 <groupId>org.dom4j</groupId>
204 <artifactId>dom4j</artifactId>
205 <scope>provided</scope>
206 <version>2.1.1</version>
210 <groupId>org.eclipse.persistence</groupId>
211 <artifactId>eclipselink</artifactId>
212 <version>2.6.2</version>
216 <groupId>org.slf4j</groupId>
217 <artifactId>slf4j-api</artifactId>
218 <scope>provided</scope>
222 <groupId>com.fasterxml.jackson.core</groupId>
223 <artifactId>jackson-core</artifactId>
224 <scope>provided</scope>
228 <groupId>org.onap.aai.aai-common</groupId>
229 <artifactId>aai-schema</artifactId>
230 <version>${version.aai-schema}</version>
234 <groupId>org.onap.aai</groupId>
235 <artifactId>rest-client</artifactId>
236 <version>1.3.0</version>
239 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
241 <groupId>org.restlet.jee</groupId>
242 <artifactId>org.restlet.ext.servlet</artifactId>
243 <version>2.1.1</version>
248 <groupId>com.openpojo</groupId>
249 <artifactId>openpojo</artifactId>
250 <version>0.8.6</version>
254 <groupId>com.google.code.gson</groupId>
255 <artifactId>gson</artifactId>
256 <scope>provided</scope>
261 <groupId>org.json</groupId>
262 <artifactId>json</artifactId>
263 <scope>provided</scope>
267 <groupId>com.fasterxml.jackson.core</groupId>
268 <artifactId>jackson-databind</artifactId>
269 <scope>provided</scope>
273 <groupId>org.onap.portal.sdk</groupId>
274 <artifactId>epsdk-fw</artifactId>
275 <version>1.3.0 </version>
278 <groupId>commons-logging</groupId>
279 <artifactId>commons-logging</artifactId>
282 <groupId>log4j</groupId>
283 <artifactId>log4j</artifactId>
286 <groupId>log4j</groupId>
287 <artifactId>apache-log4j-extras</artifactId>
290 <groupId>org.slf4j</groupId>
291 <artifactId>slf4j-log4j12</artifactId>
296 <!-- Test dependencies -->
299 <groupId>org.mockito</groupId>
300 <artifactId>mockito-all</artifactId>
301 <version>1.10.19</version>
306 <groupId>org.powermock</groupId>
307 <artifactId>powermock-module-junit4</artifactId>
308 <version>1.6.2</version>
312 <groupId>org.powermock</groupId>
313 <artifactId>powermock-api-mockito</artifactId>
314 <version>1.6.2</version>
318 <groupId>org.powermock</groupId>
319 <artifactId>powermock-module-javaagent</artifactId>
320 <version>1.6.2</version>
324 <groupId>org.powermock</groupId>
325 <artifactId>powermock-module-junit4-rule-agent</artifactId>
326 <version>1.6.2</version>
331 <groupId>org.hamcrest</groupId>
332 <artifactId>hamcrest-library</artifactId>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-compiler-plugin</artifactId>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-resources-plugin</artifactId>
356 <version>2.7</version>
359 <id>copy-docker-file</id>
360 <phase>package</phase>
362 <goal>copy-resources</goal>
365 <outputDirectory>target</outputDirectory>
366 <overwrite>true</overwrite>
369 <directory>${basedir}/src/main/docker</directory>
370 <filtering>true</filtering>
372 <include>**/*</include>
376 <directory>${basedir}/src/main/scripts/</directory>
390 <groupId>org.springframework.boot</groupId>
391 <artifactId>spring-boot-maven-plugin</artifactId>
395 ${CONFIG_HOME}/portal/
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-resources-plugin</artifactId>
404 <version>2.7</version>
407 <id>copy-docker-file-to-target</id>
408 <phase>package</phase>
410 <goal>copy-resources</goal>
413 <outputDirectory>target</outputDirectory>
414 <overwrite>true</overwrite>
417 <directory>${basedir}/src/main/docker</directory>
418 <filtering>true</filtering>
420 <include>**/*</include>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-resources-plugin</artifactId>
432 <version>2.7</version>
435 <id>copy-scripts-to-target</id>
436 <phase>package</phase>
438 <goal>copy-resources</goal>
441 <outputDirectory>target/scripts</outputDirectory>
442 <overwrite>true</overwrite>
445 <directory>${basedir}/src/main/scripts</directory>
446 <filtering>true</filtering>
448 <include>**/*</include>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-resources-plugin</artifactId>
462 <id>copy-config-to-target</id>
463 <phase>package</phase>
465 <goal>copy-resources</goal>
468 <outputDirectory>target/config</outputDirectory>
469 <overwrite>true</overwrite>
472 <directory>${basedir}/config</directory>
473 <filtering>true</filtering>
475 <include>**/*</include>
478 <exclude>**/auth/*</exclude>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-dependency-plugin</artifactId>
491 <version>3.0.0</version>
494 <id>copy-war-to-target</id>
495 <phase>install</phase>
502 <groupId>${frontEndGroupdId}</groupId>
503 <artifactId>${frontEndArtifactId}</artifactId>
504 <version>${frontEndVersion}</version>
506 <outputDirectory>${basedir}/target/static/services/aai/webapp/</outputDirectory>
515 <groupId>org.jacoco</groupId>
516 <artifactId>jacoco-maven-plugin</artifactId>
517 <version>${version.jacoco.maven.plugin}</version>
520 <id>prepare-agent</id>
522 <goal>prepare-agent</goal>
527 <phase>package</phase>
536 <groupId>org.codehaus.mojo</groupId>
537 <artifactId>cobertura-maven-plugin</artifactId>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-site-plugin</artifactId>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-checkstyle-plugin</artifactId>
553 <version>2.17</version>
557 <report>checkstyle</report>
566 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
567 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
568 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
569 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
570 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
571 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
572 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
574 <groupId>com.spotify</groupId>
575 <artifactId>docker-maven-plugin</artifactId>
576 <version>0.4.11</version>
578 <verbose>true</verbose>
579 <serverId>docker-hub</serverId>
580 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
581 <dockerDirectory>${docker.location}</dockerDirectory>
583 <imageTag>latest</imageTag>
585 <forceTags>true</forceTags>
589 <groupId>org.apache.maven.plugins</groupId>
590 <artifactId>maven-deploy-plugin</artifactId>
591 <version>2.8.2</version>
594 <id>default-deploy</id>
600 <groupId>org.sonatype.plugins</groupId>
601 <artifactId>nexus-staging-maven-plugin</artifactId>
602 <version>1.6.7</version>
603 <extensions>true</extensions>
605 <nexusUrl>${nexusproxy}</nexusUrl>
606 <stagingProfileId>176c31dfe190a</stagingProfileId>
607 <serverId>ecomp-staging</serverId>
611 <!-- license plugin -->
612 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
613 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
614 <include>src/main/java/**</include> </includes> </configuration> <executions>
615 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
616 </execution> </executions> </plugin> -->
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-dependency-plugin</artifactId>
624 <phase>prepare-package</phase>
631 <groupId>org.onap.aai.aai-common</groupId>
632 <artifactId>aai-schema</artifactId>
633 <version>${version.aai-schema}</version>
635 <includes>/${shemaUnpackVersion}/oxm/</includes>
636 <outputDirectory>${project.build.directory}/oxm</outputDirectory>
647 <distributionManagement>
649 <id>ecomp-releases</id>
650 <name>ECOMP Release Repository</name>
651 <url>${nexusproxy}/content/repositories/releases/</url>
654 <id>ecomp-snapshots</id>
655 <name>ECOMP Snapshot Repository</name>
656 <url>${nexusproxy}/content/repositories/snapshots/</url>
657 </snapshotRepository>
658 </distributionManagement>
663 <name>Maven 2 repository 2</name>
664 <url>http://repo2.maven.org/maven2/</url>
667 <id>ecomp-releases</id>
668 <name>ECOMP Release Repository</name>
669 <url>${nexusproxy}/content/repositories/releases/</url>
672 <id>ecomp-staging</id>
673 <name>ECOMP Staging Repository</name>
674 <url>${nexusproxy}/content/repositories/staging/</url>
677 <id>ecomp-snapshots</id>
678 <name>ECOMP Snapshot Repository</name>
679 <url>${nexusproxy}/content/repositories/snapshots/</url>