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.3.0-SNAPSHOT</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.1</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.0-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>19.0</version>
197 <groupId>org.onap.aai.logging-service</groupId>
198 <artifactId>common-logging</artifactId>
199 <version>1.2.2</version>
203 <groupId>dom4j</groupId>
204 <artifactId>dom4j</artifactId>
205 <scope>provided</scope>
209 <groupId>org.eclipse.persistence</groupId>
210 <artifactId>eclipselink</artifactId>
211 <version>2.6.2</version>
215 <groupId>org.slf4j</groupId>
216 <artifactId>slf4j-api</artifactId>
217 <scope>provided</scope>
221 <groupId>com.fasterxml.jackson.core</groupId>
222 <artifactId>jackson-core</artifactId>
223 <scope>provided</scope>
227 <groupId>org.onap.aai.aai-common</groupId>
228 <artifactId>aai-schema</artifactId>
229 <version>${version.aai-schema}</version>
233 <groupId>org.onap.aai</groupId>
234 <artifactId>rest-client</artifactId>
235 <version>1.3.0-SNAPSHOT</version>
238 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
240 <groupId>org.restlet.jee</groupId>
241 <artifactId>org.restlet.ext.servlet</artifactId>
242 <version>2.1.1</version>
247 <groupId>com.openpojo</groupId>
248 <artifactId>openpojo</artifactId>
249 <version>0.8.6</version>
253 <groupId>com.google.code.gson</groupId>
254 <artifactId>gson</artifactId>
255 <scope>provided</scope>
260 <groupId>org.json</groupId>
261 <artifactId>json</artifactId>
262 <scope>provided</scope>
266 <groupId>com.fasterxml.jackson.core</groupId>
267 <artifactId>jackson-databind</artifactId>
268 <scope>provided</scope>
272 <groupId>org.onap.portal.sdk</groupId>
273 <artifactId>epsdk-fw</artifactId>
274 <version>1.3.0 </version>
277 <groupId>commons-logging</groupId>
278 <artifactId>commons-logging</artifactId>
281 <groupId>log4j</groupId>
282 <artifactId>log4j</artifactId>
285 <groupId>log4j</groupId>
286 <artifactId>apache-log4j-extras</artifactId>
289 <groupId>org.slf4j</groupId>
290 <artifactId>slf4j-log4j12</artifactId>
295 <!-- Test dependencies -->
298 <groupId>org.mockito</groupId>
299 <artifactId>mockito-all</artifactId>
300 <version>1.10.19</version>
305 <groupId>org.powermock</groupId>
306 <artifactId>powermock-module-junit4</artifactId>
307 <version>1.6.2</version>
311 <groupId>org.powermock</groupId>
312 <artifactId>powermock-api-mockito</artifactId>
313 <version>1.6.2</version>
317 <groupId>org.powermock</groupId>
318 <artifactId>powermock-module-javaagent</artifactId>
319 <version>1.6.2</version>
323 <groupId>org.powermock</groupId>
324 <artifactId>powermock-module-junit4-rule-agent</artifactId>
325 <version>1.6.2</version>
330 <groupId>org.hamcrest</groupId>
331 <artifactId>hamcrest-library</artifactId>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-compiler-plugin</artifactId>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-resources-plugin</artifactId>
355 <version>2.7</version>
358 <id>copy-docker-file</id>
359 <phase>package</phase>
361 <goal>copy-resources</goal>
364 <outputDirectory>target</outputDirectory>
365 <overwrite>true</overwrite>
368 <directory>${basedir}/src/main/docker</directory>
369 <filtering>true</filtering>
371 <include>**/*</include>
375 <directory>${basedir}/src/main/scripts/</directory>
389 <groupId>org.springframework.boot</groupId>
390 <artifactId>spring-boot-maven-plugin</artifactId>
394 ${CONFIG_HOME}/portal/
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-resources-plugin</artifactId>
403 <version>2.7</version>
406 <id>copy-docker-file-to-target</id>
407 <phase>package</phase>
409 <goal>copy-resources</goal>
412 <outputDirectory>target</outputDirectory>
413 <overwrite>true</overwrite>
416 <directory>${basedir}/src/main/docker</directory>
417 <filtering>true</filtering>
419 <include>**/*</include>
429 <groupId>org.apache.maven.plugins</groupId>
430 <artifactId>maven-resources-plugin</artifactId>
431 <version>2.7</version>
434 <id>copy-scripts-to-target</id>
435 <phase>package</phase>
437 <goal>copy-resources</goal>
440 <outputDirectory>target/scripts</outputDirectory>
441 <overwrite>true</overwrite>
444 <directory>${basedir}/src/main/scripts</directory>
445 <filtering>true</filtering>
447 <include>**/*</include>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-resources-plugin</artifactId>
461 <id>copy-config-to-target</id>
462 <phase>package</phase>
464 <goal>copy-resources</goal>
467 <outputDirectory>target/config</outputDirectory>
468 <overwrite>true</overwrite>
471 <directory>${basedir}/config</directory>
472 <filtering>true</filtering>
474 <include>**/*</include>
477 <exclude>**/auth/*</exclude>
488 <groupId>org.apache.maven.plugins</groupId>
489 <artifactId>maven-dependency-plugin</artifactId>
490 <version>3.0.0</version>
493 <id>copy-war-to-target</id>
494 <phase>install</phase>
501 <groupId>${frontEndGroupdId}</groupId>
502 <artifactId>${frontEndArtifactId}</artifactId>
503 <version>${frontEndVersion}</version>
505 <outputDirectory>${basedir}/target/static/services/aai/webapp/</outputDirectory>
514 <groupId>org.jacoco</groupId>
515 <artifactId>jacoco-maven-plugin</artifactId>
516 <version>${version.jacoco.maven.plugin}</version>
519 <id>prepare-agent</id>
521 <goal>prepare-agent</goal>
526 <phase>package</phase>
535 <groupId>org.codehaus.mojo</groupId>
536 <artifactId>cobertura-maven-plugin</artifactId>
545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-site-plugin</artifactId>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-checkstyle-plugin</artifactId>
552 <version>2.17</version>
556 <report>checkstyle</report>
565 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
566 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
567 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
568 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
569 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
570 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
571 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
573 <groupId>com.spotify</groupId>
574 <artifactId>docker-maven-plugin</artifactId>
575 <version>0.4.11</version>
577 <verbose>true</verbose>
578 <serverId>docker-hub</serverId>
579 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
580 <dockerDirectory>${docker.location}</dockerDirectory>
582 <imageTag>latest</imageTag>
584 <forceTags>true</forceTags>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-deploy-plugin</artifactId>
590 <version>2.8.2</version>
593 <id>default-deploy</id>
599 <groupId>org.sonatype.plugins</groupId>
600 <artifactId>nexus-staging-maven-plugin</artifactId>
601 <version>1.6.7</version>
602 <extensions>true</extensions>
604 <nexusUrl>${nexusproxy}</nexusUrl>
605 <stagingProfileId>176c31dfe190a</stagingProfileId>
606 <serverId>ecomp-staging</serverId>
610 <!-- license plugin -->
611 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
612 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
613 <include>src/main/java/**</include> </includes> </configuration> <executions>
614 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
615 </execution> </executions> </plugin> -->
618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-dependency-plugin</artifactId>
623 <phase>prepare-package</phase>
630 <groupId>org.onap.aai.aai-common</groupId>
631 <artifactId>aai-schema</artifactId>
632 <version>${version.aai-schema}</version>
634 <includes>/${shemaUnpackVersion}/oxm/</includes>
635 <outputDirectory>${project.build.directory}/oxm</outputDirectory>
646 <distributionManagement>
648 <id>ecomp-releases</id>
649 <name>ECOMP Release Repository</name>
650 <url>${nexusproxy}/content/repositories/releases/</url>
653 <id>ecomp-snapshots</id>
654 <name>ECOMP Snapshot Repository</name>
655 <url>${nexusproxy}/content/repositories/snapshots/</url>
656 </snapshotRepository>
657 </distributionManagement>
662 <name>Maven 2 repository 2</name>
663 <url>http://repo2.maven.org/maven2/</url>
666 <id>ecomp-releases</id>
667 <name>ECOMP Release Repository</name>
668 <url>${nexusproxy}/content/repositories/releases/</url>
671 <id>ecomp-staging</id>
672 <name>ECOMP Staging Repository</name>
673 <url>${nexusproxy}/content/repositories/staging/</url>
676 <id>ecomp-snapshots</id>
677 <name>ECOMP Snapshot Repository</name>
678 <url>${nexusproxy}/content/repositories/snapshots/</url>