1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.springframework.boot</groupId>
6 <artifactId>spring-boot-starter-parent</artifactId>
7 <version>1.5.15.RELEASE</version>
10 <groupId>org.onap.aai.sparky-be</groupId>
11 <artifactId>sparkybe-onap-service</artifactId>
12 <version>1.4.0-SNAPSHOT</version>
13 <packaging>jar</packaging>
16 <java.version>1.8</java.version>
17 <version.jacoco.maven.plugin>0.7.9</version.jacoco.maven.plugin>
18 <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
19 <frontEndArtifactId>sparky-fe</frontEndArtifactId>
20 <frontEndVersion>1.3.0</frontEndVersion>
21 <serverPort>9517</serverPort>
22 <sslport>8000</sslport>
23 <nexusproxy>https://nexus.onap.org</nexusproxy>
24 <camel-spring-boot.version>2.21.1</camel-spring-boot.version>
25 <config-home>${basedir}/</config-home>
26 <version.aai.aai-schema-ingest>1.3.0</version.aai.aai-schema-ingest>
27 <version.aai-schema>1.3.0</version.aai-schema>
28 <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
29 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
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>
53 </dependencyManagement>
57 some of the depedencies should probably have a scope of provided so they don't automatically become part of the final jar
63 <!-- Spring dependencies -->
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-web</artifactId>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-actuator</artifactId>
75 <groupId>org.apache.camel</groupId>
76 <artifactId>camel-restlet</artifactId>
79 <groupId>commons-logging</groupId>
80 <artifactId>commons-logging</artifactId>
86 <groupId>org.apache.camel</groupId>
87 <artifactId>camel-servlet</artifactId>
90 <groupId>commons-logging</groupId>
91 <artifactId>commons-logging</artifactId>
97 <groupId>org.springframework.boot</groupId>
98 <artifactId>spring-boot-starter-logging</artifactId>
101 <groupId>ch.qos.logback</groupId>
102 <artifactId>logback-classic</artifactId>
105 <groupId>org.slf4j</groupId>
106 <artifactId>log4j-over-slf4j</artifactId>
114 <groupId>org.apache.camel</groupId>
115 <artifactId>camel-spring-boot-dependencies</artifactId>
116 <version>${camel-spring-boot.version}</version>
118 <scope>import</scope>
121 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
122 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
123 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
128 <groupId>org.apache.camel</groupId>
129 <artifactId>camel-spring-boot-starter</artifactId>
132 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
134 <groupId>org.apache.camel</groupId>
135 <artifactId>camel-restlet</artifactId>
139 <groupId>commons-io</groupId>
140 <artifactId>commons-io</artifactId>
143 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
145 <groupId>org.eclipse.jetty</groupId>
146 <artifactId>jetty-util</artifactId>
147 <scope>provided</scope>
151 <groupId>org.apache.camel</groupId>
152 <artifactId>camel-servlet-starter</artifactId>
156 <groupId>org.springframework.boot</groupId>
157 <artifactId>spring-boot-starter-actuator</artifactId>
160 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
162 <groupId>commons-cli</groupId>
163 <artifactId>commons-cli</artifactId>
164 <version>1.2</version>
167 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
171 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
172 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
173 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
174 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
175 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
176 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
177 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
180 <!-- Utility dependencies -->
183 <groupId>com.google.guava</groupId>
184 <artifactId>guava</artifactId>
185 <version>26.0-jre</version>
190 <groupId>org.onap.aai.logging-service</groupId>
191 <artifactId>common-logging</artifactId>
192 <version>1.2.2</version>
197 <groupId>org.dom4j</groupId>
198 <artifactId>dom4j</artifactId>
199 <scope>provided</scope>
200 <version>2.1.1</version>
204 <groupId>org.eclipse.persistence</groupId>
205 <artifactId>eclipselink</artifactId>
206 <version>2.6.2</version>
210 <groupId>org.slf4j</groupId>
211 <artifactId>slf4j-api</artifactId>
212 <scope>provided</scope>
216 <groupId>com.fasterxml.jackson.core</groupId>
217 <artifactId>jackson-core</artifactId>
218 <scope>provided</scope>
222 <groupId>org.onap.aai.aai-common</groupId>
223 <artifactId>aai-schema</artifactId>
224 <version>${version.aai-schema}</version>
228 <groupId>org.onap.aai.aai-common</groupId>
229 <artifactId>aai-schema-ingest</artifactId>
230 <version>${version.aai.aai-schema-ingest}</version>
233 <groupId>org.slf4j</groupId>
234 <artifactId>slf4j-log4j12</artifactId>
240 <groupId>org.onap.aai</groupId>
241 <artifactId>rest-client</artifactId>
242 <version>1.3.0</version>
245 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
247 <groupId>org.restlet.jee</groupId>
248 <artifactId>org.restlet.ext.servlet</artifactId>
249 <version>2.1.1</version>
254 <groupId>com.openpojo</groupId>
255 <artifactId>openpojo</artifactId>
256 <version>0.8.6</version>
260 <groupId>com.google.code.gson</groupId>
261 <artifactId>gson</artifactId>
262 <scope>provided</scope>
267 <groupId>org.json</groupId>
268 <artifactId>json</artifactId>
269 <scope>provided</scope>
273 <groupId>com.fasterxml.jackson.core</groupId>
274 <artifactId>jackson-databind</artifactId>
275 <scope>provided</scope>
279 <groupId>org.onap.portal.sdk</groupId>
280 <artifactId>epsdk-fw</artifactId>
281 <version>1.3.0</version>
284 <groupId>commons-logging</groupId>
285 <artifactId>commons-logging</artifactId>
288 <groupId>log4j</groupId>
289 <artifactId>log4j</artifactId>
292 <groupId>log4j</groupId>
293 <artifactId>apache-log4j-extras</artifactId>
296 <groupId>org.slf4j</groupId>
297 <artifactId>slf4j-log4j12</artifactId>
302 <!-- Test dependencies -->
305 <groupId>org.mockito</groupId>
306 <artifactId>mockito-all</artifactId>
307 <version>1.10.19</version>
312 <groupId>org.powermock</groupId>
313 <artifactId>powermock-module-junit4</artifactId>
314 <version>1.6.2</version>
318 <groupId>org.powermock</groupId>
319 <artifactId>powermock-api-mockito</artifactId>
320 <version>1.6.2</version>
324 <groupId>org.powermock</groupId>
325 <artifactId>powermock-module-javaagent</artifactId>
326 <version>1.6.2</version>
330 <groupId>org.powermock</groupId>
331 <artifactId>powermock-module-junit4-rule-agent</artifactId>
332 <version>1.6.2</version>
336 <groupId>javax.inject</groupId>
337 <artifactId>javax.inject</artifactId>
343 <groupId>org.hamcrest</groupId>
344 <artifactId>hamcrest-library</artifactId>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-compiler-plugin</artifactId>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-resources-plugin</artifactId>
368 <version>2.7</version>
371 <id>copy-docker-file</id>
372 <phase>package</phase>
374 <goal>copy-resources</goal>
377 <outputDirectory>target</outputDirectory>
378 <overwrite>true</overwrite>
381 <directory>${basedir}/src/main/docker</directory>
382 <filtering>true</filtering>
384 <include>**/*</include>
388 <directory>${basedir}/src/main/scripts/</directory>
402 <groupId>org.springframework.boot</groupId>
403 <artifactId>spring-boot-maven-plugin</artifactId>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-resources-plugin</artifactId>
410 <version>2.7</version>
413 <id>copy-docker-file</id>
414 <phase>package</phase>
416 <goal>copy-resources</goal>
419 <outputDirectory>target</outputDirectory>
420 <overwrite>true</overwrite>
423 <directory>${basedir}/src/main/docker</directory>
424 <filtering>true</filtering>
426 <include>**/*</include>
430 <directory>${basedir}/src/main/bin/</directory>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-dependency-plugin</artifactId>
441 <version>3.0.0</version>
444 <id>copy-installed</id>
445 <phase>install</phase>
452 <groupId>${frontEndGroupdId}</groupId>
453 <artifactId>${frontEndArtifactId}</artifactId>
454 <version>${frontEndVersion}</version>
456 <outputDirectory>${basedir}/target/</outputDirectory>
457 <destFileName>aai.war</destFileName>
466 <groupId>org.jacoco</groupId>
467 <artifactId>jacoco-maven-plugin</artifactId>
468 <version>${version.jacoco.maven.plugin}</version>
471 <id>prepare-agent</id>
473 <goal>prepare-agent</goal>
478 <phase>package</phase>
487 <groupId>org.codehaus.mojo</groupId>
488 <artifactId>cobertura-maven-plugin</artifactId>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-site-plugin</artifactId>
502 <groupId>org.apache.maven.plugins</groupId>
503 <artifactId>maven-checkstyle-plugin</artifactId>
504 <version>2.17</version>
508 <report>checkstyle</report>
518 <groupId>org.apache.maven.plugins</groupId>
519 <artifactId>maven-resources-plugin</artifactId>
520 <version>2.7</version>
523 <id>copy-docker-file</id>
524 <phase>package</phase>
526 <goal>copy-resources</goal>
529 <outputDirectory>target</outputDirectory>
530 <overwrite>true</overwrite>
533 <directory>${basedir}/src/main/docker</directory>
534 <filtering>true</filtering>
536 <include>**/*</include>
540 <directory>${basedir}/src/main/scripts/</directory>
549 <groupId>com.spotify</groupId>
550 <artifactId>docker-maven-plugin</artifactId>
551 <version>0.4.11</version>
553 <verbose>true</verbose>
554 <serverId>docker-hub</serverId>
555 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
556 <dockerDirectory>${docker.location}</dockerDirectory>
558 <imageTag>latest</imageTag>
560 <forceTags>true</forceTags>
563 <!-- license plugin -->
565 <groupId>com.mycila</groupId>
566 <artifactId>license-maven-plugin</artifactId>
567 <version>3.0</version>
569 <header>LICENSE</header>
571 <include>src/main/java/**</include>
579 <phase>process-sources</phase>
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-deploy-plugin</artifactId>
587 <version>2.8.2</version>
590 <id>default-deploy</id>
596 <groupId>org.sonatype.plugins</groupId>
597 <artifactId>nexus-staging-maven-plugin</artifactId>
598 <version>1.6.7</version>
599 <extensions>true</extensions>
601 <nexusUrl>${onap.nexus.url}</nexusUrl>
602 <stagingProfileId>176c31dfe190a</stagingProfileId>
603 <serverId>ecomp-staging</serverId>
610 <distributionManagement>
612 <id>ecomp-releases</id>
613 <name>ECOMP Release Repository</name>
614 <url>${onap.nexus.url}/content/repositories/releases/</url>
617 <id>ecomp-snapshots</id>
618 <name>ECOMP Snapshot Repository</name>
619 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
620 </snapshotRepository>
623 <url>dav:${onap.nexus.url}${sitePath}</url>
625 </distributionManagement>
630 <name>Maven 2 repository 2</name>
631 <url>http://repo2.maven.org/maven2/</url>
634 <id>ecomp-releases</id>
635 <name>ECOMP Release Repository</name>
636 <url>${onap.nexus.url}/content/repositories/releases/</url>
639 <id>ecomp-staging</id>
640 <name>ECOMP Staging Repository</name>
641 <url>${onap.nexus.url}/content/repositories/staging/</url>
644 <id>ecomp-snapshots</id>
645 <name>ECOMP Snapshot Repository</name>
646 <url>${onap.nexus.url}/content/repositories/snapshots/</url>