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.19.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.4.1</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>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-tomcat</artifactId>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-jetty</artifactId>
81 <groupId>org.springframework.boot</groupId>
82 <artifactId>spring-boot-starter-actuator</artifactId>
86 <groupId>org.apache.camel</groupId>
87 <artifactId>camel-restlet</artifactId>
90 <groupId>commons-logging</groupId>
91 <artifactId>commons-logging</artifactId>
97 <groupId>org.apache.camel</groupId>
98 <artifactId>camel-servlet</artifactId>
101 <groupId>commons-logging</groupId>
102 <artifactId>commons-logging</artifactId>
108 <groupId>org.springframework.boot</groupId>
109 <artifactId>spring-boot-starter-logging</artifactId>
112 <groupId>ch.qos.logback</groupId>
113 <artifactId>logback-classic</artifactId>
116 <groupId>org.slf4j</groupId>
117 <artifactId>log4j-over-slf4j</artifactId>
125 <groupId>org.apache.camel</groupId>
126 <artifactId>camel-spring-boot-dependencies</artifactId>
127 <version>${camel-spring-boot.version}</version>
129 <scope>import</scope>
132 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
133 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
134 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
139 <groupId>org.apache.camel</groupId>
140 <artifactId>camel-spring-boot-starter</artifactId>
143 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
145 <groupId>org.apache.camel</groupId>
146 <artifactId>camel-restlet</artifactId>
150 <groupId>commons-io</groupId>
151 <artifactId>commons-io</artifactId>
154 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
156 <groupId>org.eclipse.jetty</groupId>
157 <artifactId>jetty-util</artifactId>
158 <scope>provided</scope>
162 <groupId>org.apache.camel</groupId>
163 <artifactId>camel-servlet-starter</artifactId>
167 <groupId>org.springframework.boot</groupId>
168 <artifactId>spring-boot-starter-actuator</artifactId>
171 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
173 <groupId>commons-cli</groupId>
174 <artifactId>commons-cli</artifactId>
175 <version>1.2</version>
178 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
182 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
183 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
184 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
185 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
186 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
187 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
188 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
191 <!-- Utility dependencies -->
194 <groupId>com.google.guava</groupId>
195 <artifactId>guava</artifactId>
196 <version>26.0-jre</version>
201 <groupId>org.onap.aai.logging-service</groupId>
202 <artifactId>common-logging</artifactId>
203 <version>1.2.2</version>
208 <groupId>org.dom4j</groupId>
209 <artifactId>dom4j</artifactId>
210 <scope>provided</scope>
211 <version>2.1.1</version>
215 <groupId>org.eclipse.persistence</groupId>
216 <artifactId>eclipselink</artifactId>
217 <version>2.6.2</version>
221 <groupId>org.slf4j</groupId>
222 <artifactId>slf4j-api</artifactId>
223 <scope>provided</scope>
227 <groupId>com.fasterxml.jackson.core</groupId>
228 <artifactId>jackson-core</artifactId>
229 <scope>provided</scope>
233 <groupId>org.onap.aai.aai-common</groupId>
234 <artifactId>aai-schema</artifactId>
235 <version>${version.aai-schema}</version>
239 <groupId>org.onap.aai.aai-common</groupId>
240 <artifactId>aai-schema-ingest</artifactId>
241 <version>${version.aai.aai-schema-ingest}</version>
244 <groupId>org.slf4j</groupId>
245 <artifactId>slf4j-log4j12</artifactId>
251 <groupId>org.onap.aai</groupId>
252 <artifactId>rest-client</artifactId>
253 <version>1.3.0</version>
256 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
258 <groupId>org.restlet.jee</groupId>
259 <artifactId>org.restlet.ext.servlet</artifactId>
260 <version>2.1.1</version>
265 <groupId>com.openpojo</groupId>
266 <artifactId>openpojo</artifactId>
267 <version>0.8.6</version>
271 <groupId>com.google.code.gson</groupId>
272 <artifactId>gson</artifactId>
273 <scope>provided</scope>
278 <groupId>org.json</groupId>
279 <artifactId>json</artifactId>
280 <scope>provided</scope>
284 <groupId>com.fasterxml.jackson.core</groupId>
285 <artifactId>jackson-databind</artifactId>
286 <scope>provided</scope>
290 <groupId>org.onap.portal.sdk</groupId>
291 <artifactId>epsdk-fw</artifactId>
292 <version>2.5.0</version>
295 <groupId>commons-logging</groupId>
296 <artifactId>commons-logging</artifactId>
299 <groupId>log4j</groupId>
300 <artifactId>log4j</artifactId>
303 <groupId>log4j</groupId>
304 <artifactId>apache-log4j-extras</artifactId>
307 <groupId>org.slf4j</groupId>
308 <artifactId>slf4j-log4j12</artifactId>
313 <!-- Test dependencies -->
316 <groupId>org.mockito</groupId>
317 <artifactId>mockito-all</artifactId>
318 <version>1.10.19</version>
323 <groupId>org.powermock</groupId>
324 <artifactId>powermock-module-junit4</artifactId>
325 <version>1.6.2</version>
329 <groupId>org.powermock</groupId>
330 <artifactId>powermock-api-mockito</artifactId>
331 <version>1.6.2</version>
335 <groupId>org.powermock</groupId>
336 <artifactId>powermock-module-javaagent</artifactId>
337 <version>1.6.2</version>
341 <groupId>org.powermock</groupId>
342 <artifactId>powermock-module-junit4-rule-agent</artifactId>
343 <version>1.6.2</version>
347 <groupId>javax.inject</groupId>
348 <artifactId>javax.inject</artifactId>
354 <groupId>org.hamcrest</groupId>
355 <artifactId>hamcrest-library</artifactId>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-compiler-plugin</artifactId>
377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-resources-plugin</artifactId>
379 <version>2.7</version>
382 <id>copy-docker-file</id>
383 <phase>package</phase>
385 <goal>copy-resources</goal>
388 <outputDirectory>target</outputDirectory>
389 <overwrite>true</overwrite>
392 <directory>${basedir}/src/main/docker</directory>
393 <filtering>true</filtering>
395 <include>**/*</include>
399 <directory>${basedir}/src/main/scripts/</directory>
413 <groupId>org.springframework.boot</groupId>
414 <artifactId>spring-boot-maven-plugin</artifactId>
419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-resources-plugin</artifactId>
421 <version>2.7</version>
424 <id>copy-docker-file</id>
425 <phase>package</phase>
427 <goal>copy-resources</goal>
430 <outputDirectory>target</outputDirectory>
431 <overwrite>true</overwrite>
434 <directory>${basedir}/src/main/docker</directory>
435 <filtering>true</filtering>
437 <include>**/*</include>
441 <directory>${basedir}/src/main/bin/</directory>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-dependency-plugin</artifactId>
452 <version>3.0.0</version>
455 <id>copy-installed</id>
456 <phase>install</phase>
463 <groupId>${frontEndGroupdId}</groupId>
464 <artifactId>${frontEndArtifactId}</artifactId>
465 <version>${frontEndVersion}</version>
467 <outputDirectory>${basedir}/target/</outputDirectory>
468 <destFileName>aai.war</destFileName>
477 <groupId>org.jacoco</groupId>
478 <artifactId>jacoco-maven-plugin</artifactId>
479 <version>${version.jacoco.maven.plugin}</version>
482 <id>prepare-agent</id>
484 <goal>prepare-agent</goal>
489 <phase>package</phase>
498 <groupId>org.codehaus.mojo</groupId>
499 <artifactId>cobertura-maven-plugin</artifactId>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-site-plugin</artifactId>
513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-checkstyle-plugin</artifactId>
515 <version>2.17</version>
519 <report>checkstyle</report>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-resources-plugin</artifactId>
531 <version>2.7</version>
534 <id>copy-docker-file</id>
535 <phase>package</phase>
537 <goal>copy-resources</goal>
540 <outputDirectory>target</outputDirectory>
541 <overwrite>true</overwrite>
544 <directory>${basedir}/src/main/docker</directory>
545 <filtering>true</filtering>
547 <include>**/*</include>
551 <directory>${basedir}/src/main/scripts/</directory>
560 <groupId>com.spotify</groupId>
561 <artifactId>docker-maven-plugin</artifactId>
562 <version>0.4.11</version>
564 <verbose>true</verbose>
565 <serverId>docker-hub</serverId>
566 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
567 <dockerDirectory>${docker.location}</dockerDirectory>
569 <imageTag>latest</imageTag>
571 <forceTags>true</forceTags>
574 <!-- license plugin -->
576 <groupId>com.mycila</groupId>
577 <artifactId>license-maven-plugin</artifactId>
578 <version>3.0</version>
580 <header>LICENSE</header>
582 <include>src/main/java/**</include>
590 <phase>process-sources</phase>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-deploy-plugin</artifactId>
598 <version>2.8.2</version>
601 <id>default-deploy</id>
607 <groupId>org.sonatype.plugins</groupId>
608 <artifactId>nexus-staging-maven-plugin</artifactId>
609 <version>1.6.7</version>
610 <extensions>true</extensions>
612 <nexusUrl>${onap.nexus.url}</nexusUrl>
613 <stagingProfileId>176c31dfe190a</stagingProfileId>
614 <serverId>ecomp-staging</serverId>
621 <distributionManagement>
623 <id>ecomp-releases</id>
624 <name>ECOMP Release Repository</name>
625 <url>${onap.nexus.url}/content/repositories/releases/</url>
628 <id>ecomp-snapshots</id>
629 <name>ECOMP Snapshot Repository</name>
630 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
631 </snapshotRepository>
634 <url>dav:${onap.nexus.url}${sitePath}</url>
636 </distributionManagement>
641 <name>Maven 2 repository 2</name>
642 <url>http://repo2.maven.org/maven2/</url>
645 <id>ecomp-releases</id>
646 <name>ECOMP Release Repository</name>
647 <url>${onap.nexus.url}/content/repositories/releases/</url>
650 <id>ecomp-staging</id>
651 <name>ECOMP Staging Repository</name>
652 <url>${onap.nexus.url}/content/repositories/staging/</url>
655 <id>ecomp-snapshots</id>
656 <name>ECOMP Snapshot Repository</name>
657 <url>${onap.nexus.url}/content/repositories/snapshots/</url>