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.3.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-SNAPSHOT</frontEndVersion>
21 <serverPort>9517</serverPort>
22 <sslport>8000</sslport>
23 <nexusproxy>https://nexus.onap.org</nexusproxy>
24 <camel-spring-boot.version>2.22.0</camel-spring-boot.version>
25 <config-home>${basedir}/</config-home>
26 <version.aai.aai-schema-ingest>1.3.0-SNAPSHOT</version.aai.aai-schema-ingest>
27 <version.aai-schema>1.3.0-SNAPSHOT</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>19.0</version>
190 <groupId>org.onap.aai.logging-service</groupId>
191 <artifactId>common-logging</artifactId>
192 <version>1.2.2</version>
197 <groupId>dom4j</groupId>
198 <artifactId>dom4j</artifactId>
199 <scope>provided</scope>
203 <groupId>org.eclipse.persistence</groupId>
204 <artifactId>eclipselink</artifactId>
205 <version>2.6.2</version>
209 <groupId>org.slf4j</groupId>
210 <artifactId>slf4j-api</artifactId>
211 <scope>provided</scope>
215 <groupId>com.fasterxml.jackson.core</groupId>
216 <artifactId>jackson-core</artifactId>
217 <scope>provided</scope>
221 <groupId>org.onap.aai.aai-common</groupId>
222 <artifactId>aai-schema</artifactId>
223 <version>${version.aai-schema}</version>
227 <groupId>org.onap.aai.aai-common</groupId>
228 <artifactId>aai-schema-ingest</artifactId>
229 <version>${version.aai.aai-schema-ingest}</version>
232 <groupId>org.slf4j</groupId>
233 <artifactId>slf4j-log4j12</artifactId>
239 <groupId>org.onap.aai</groupId>
240 <artifactId>rest-client</artifactId>
241 <version>1.3.0-SNAPSHOT</version>
244 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
246 <groupId>org.restlet.jee</groupId>
247 <artifactId>org.restlet.ext.servlet</artifactId>
248 <version>2.1.1</version>
253 <groupId>com.openpojo</groupId>
254 <artifactId>openpojo</artifactId>
255 <version>0.8.6</version>
259 <groupId>com.google.code.gson</groupId>
260 <artifactId>gson</artifactId>
261 <scope>provided</scope>
266 <groupId>org.json</groupId>
267 <artifactId>json</artifactId>
268 <scope>provided</scope>
272 <groupId>com.fasterxml.jackson.core</groupId>
273 <artifactId>jackson-databind</artifactId>
274 <scope>provided</scope>
278 <groupId>org.onap.portal.sdk</groupId>
279 <artifactId>epsdk-fw</artifactId>
280 <version>1.3.0</version>
283 <groupId>commons-logging</groupId>
284 <artifactId>commons-logging</artifactId>
287 <groupId>log4j</groupId>
288 <artifactId>log4j</artifactId>
291 <groupId>log4j</groupId>
292 <artifactId>apache-log4j-extras</artifactId>
295 <groupId>org.slf4j</groupId>
296 <artifactId>slf4j-log4j12</artifactId>
301 <!-- Test dependencies -->
304 <groupId>org.mockito</groupId>
305 <artifactId>mockito-all</artifactId>
306 <version>1.10.19</version>
311 <groupId>org.powermock</groupId>
312 <artifactId>powermock-module-junit4</artifactId>
313 <version>1.6.2</version>
317 <groupId>org.powermock</groupId>
318 <artifactId>powermock-api-mockito</artifactId>
319 <version>1.6.2</version>
323 <groupId>org.powermock</groupId>
324 <artifactId>powermock-module-javaagent</artifactId>
325 <version>1.6.2</version>
329 <groupId>org.powermock</groupId>
330 <artifactId>powermock-module-junit4-rule-agent</artifactId>
331 <version>1.6.2</version>
335 <groupId>javax.inject</groupId>
336 <artifactId>javax.inject</artifactId>
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>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-resources-plugin</artifactId>
409 <version>2.7</version>
412 <id>copy-docker-file</id>
413 <phase>package</phase>
415 <goal>copy-resources</goal>
418 <outputDirectory>target</outputDirectory>
419 <overwrite>true</overwrite>
422 <directory>${basedir}/src/main/docker</directory>
423 <filtering>true</filtering>
425 <include>**/*</include>
429 <directory>${basedir}/src/main/bin/</directory>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-dependency-plugin</artifactId>
440 <version>3.0.0</version>
443 <id>copy-installed</id>
444 <phase>install</phase>
451 <groupId>${frontEndGroupdId}</groupId>
452 <artifactId>${frontEndArtifactId}</artifactId>
453 <version>${frontEndVersion}</version>
455 <outputDirectory>${basedir}/target/</outputDirectory>
456 <destFileName>aai.war</destFileName>
465 <groupId>org.jacoco</groupId>
466 <artifactId>jacoco-maven-plugin</artifactId>
467 <version>${version.jacoco.maven.plugin}</version>
470 <id>prepare-agent</id>
472 <goal>prepare-agent</goal>
477 <phase>package</phase>
486 <groupId>org.codehaus.mojo</groupId>
487 <artifactId>cobertura-maven-plugin</artifactId>
496 <groupId>org.apache.maven.plugins</groupId>
497 <artifactId>maven-site-plugin</artifactId>
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-checkstyle-plugin</artifactId>
503 <version>2.17</version>
507 <report>checkstyle</report>
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-resources-plugin</artifactId>
519 <version>2.7</version>
522 <id>copy-docker-file</id>
523 <phase>package</phase>
525 <goal>copy-resources</goal>
528 <outputDirectory>target</outputDirectory>
529 <overwrite>true</overwrite>
532 <directory>${basedir}/src/main/docker</directory>
533 <filtering>true</filtering>
535 <include>**/*</include>
539 <directory>${basedir}/src/main/scripts/</directory>
548 <groupId>com.spotify</groupId>
549 <artifactId>docker-maven-plugin</artifactId>
550 <version>0.4.11</version>
552 <verbose>true</verbose>
553 <serverId>docker-hub</serverId>
554 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
555 <dockerDirectory>${docker.location}</dockerDirectory>
557 <imageTag>latest</imageTag>
559 <forceTags>true</forceTags>
562 <!-- license plugin -->
564 <groupId>com.mycila</groupId>
565 <artifactId>license-maven-plugin</artifactId>
566 <version>3.0</version>
568 <header>LICENSE</header>
570 <include>src/main/java/**</include>
578 <phase>process-sources</phase>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-deploy-plugin</artifactId>
586 <version>2.8.2</version>
589 <id>default-deploy</id>
595 <groupId>org.sonatype.plugins</groupId>
596 <artifactId>nexus-staging-maven-plugin</artifactId>
597 <version>1.6.7</version>
598 <extensions>true</extensions>
600 <nexusUrl>${onap.nexus.url}</nexusUrl>
601 <stagingProfileId>176c31dfe190a</stagingProfileId>
602 <serverId>ecomp-staging</serverId>
609 <distributionManagement>
611 <id>ecomp-releases</id>
612 <name>ECOMP Release Repository</name>
613 <url>${onap.nexus.url}/content/repositories/releases/</url>
616 <id>ecomp-snapshots</id>
617 <name>ECOMP Snapshot Repository</name>
618 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
619 </snapshotRepository>
622 <url>dav:${onap.nexus.url}${sitePath}</url>
624 </distributionManagement>
629 <name>Maven 2 repository 2</name>
630 <url>http://repo2.maven.org/maven2/</url>
633 <id>ecomp-releases</id>
634 <name>ECOMP Release Repository</name>
635 <url>${onap.nexus.url}/content/repositories/releases/</url>
638 <id>ecomp-staging</id>
639 <name>ECOMP Staging Repository</name>
640 <url>${onap.nexus.url}/content/repositories/staging/</url>
643 <id>ecomp-snapshots</id>
644 <name>ECOMP Snapshot Repository</name>
645 <url>${onap.nexus.url}/content/repositories/snapshots/</url>