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.12.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.20.0</camel-spring-boot.version>
25 <config-home>${basedir}/</config-home>
26 <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
27 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
30 <dependencyManagement>
35 <groupId>org.apache.camel</groupId>
36 <artifactId>camel-spring-boot-dependencies</artifactId>
37 <version>${camel-spring-boot.version}</version>
43 <groupId>ch.qos.logback</groupId>
44 <artifactId>logback-classic</artifactId>
45 <version>1.2.1</version>
50 </dependencyManagement>
54 some of the depedencies should probably have a scope of provided so they don't automatically become part of the final jar
60 <!-- Spring dependencies -->
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-web</artifactId>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-actuator</artifactId>
72 <groupId>org.apache.camel</groupId>
73 <artifactId>camel-restlet</artifactId>
76 <groupId>commons-logging</groupId>
77 <artifactId>commons-logging</artifactId>
83 <groupId>org.apache.camel</groupId>
84 <artifactId>camel-servlet</artifactId>
87 <groupId>commons-logging</groupId>
88 <artifactId>commons-logging</artifactId>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-logging</artifactId>
98 <groupId>ch.qos.logback</groupId>
99 <artifactId>logback-classic</artifactId>
107 <groupId>org.apache.camel</groupId>
108 <artifactId>camel-spring-boot-dependencies</artifactId>
109 <version>${camel-spring-boot.version}</version>
111 <scope>import</scope>
114 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
115 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
116 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
121 <groupId>org.apache.camel</groupId>
122 <artifactId>camel-spring-boot-starter</artifactId>
125 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
127 <groupId>org.apache.camel</groupId>
128 <artifactId>camel-restlet</artifactId>
132 <groupId>commons-io</groupId>
133 <artifactId>commons-io</artifactId>
136 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
138 <groupId>org.eclipse.jetty</groupId>
139 <artifactId>jetty-util</artifactId>
140 <scope>provided</scope>
144 <groupId>org.apache.camel</groupId>
145 <artifactId>camel-servlet-starter</artifactId>
149 <groupId>org.springframework.boot</groupId>
150 <artifactId>spring-boot-starter-actuator</artifactId>
153 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
155 <groupId>commons-cli</groupId>
156 <artifactId>commons-cli</artifactId>
157 <version>1.2</version>
160 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
164 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
165 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
166 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
167 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
168 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
169 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
170 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
173 <!-- Utility dependencies -->
176 <groupId>com.google.guava</groupId>
177 <artifactId>guava</artifactId>
178 <version>19.0</version>
183 <groupId>org.onap.aai.logging-service</groupId>
184 <artifactId>common-logging</artifactId>
185 <version>1.2.2</version>
190 <groupId>dom4j</groupId>
191 <artifactId>dom4j</artifactId>
192 <scope>provided</scope>
196 <groupId>org.eclipse.persistence</groupId>
197 <artifactId>eclipselink</artifactId>
198 <version>2.6.2</version>
202 <groupId>org.slf4j</groupId>
203 <artifactId>slf4j-api</artifactId>
204 <scope>provided</scope>
208 <groupId>com.fasterxml.jackson.core</groupId>
209 <artifactId>jackson-core</artifactId>
210 <scope>provided</scope>
214 <groupId>org.onap.aai.aai-common</groupId>
215 <artifactId>aai-schema</artifactId>
216 <version>1.3.0-SNAPSHOT</version>
220 <groupId>org.onap.aai</groupId>
221 <artifactId>rest-client</artifactId>
222 <version>1.2.1</version>
225 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
227 <groupId>org.restlet.jee</groupId>
228 <artifactId>org.restlet.ext.servlet</artifactId>
229 <version>2.1.1</version>
234 <groupId>com.openpojo</groupId>
235 <artifactId>openpojo</artifactId>
236 <version>0.8.6</version>
240 <groupId>com.google.code.gson</groupId>
241 <artifactId>gson</artifactId>
242 <scope>provided</scope>
247 <groupId>org.json</groupId>
248 <artifactId>json</artifactId>
249 <scope>provided</scope>
253 <groupId>com.fasterxml.jackson.core</groupId>
254 <artifactId>jackson-databind</artifactId>
255 <scope>provided</scope>
259 <groupId>org.onap.portal.sdk</groupId>
260 <artifactId>epsdk-fw</artifactId>
261 <version>1.3.0</version>
264 <groupId>commons-logging</groupId>
265 <artifactId>commons-logging</artifactId>
268 <groupId>log4j</groupId>
269 <artifactId>log4j</artifactId>
272 <groupId>log4j</groupId>
273 <artifactId>apache-log4j-extras</artifactId>
276 <groupId>org.slf4j</groupId>
277 <artifactId>slf4j-log4j12</artifactId>
282 <!-- Test dependencies -->
285 <groupId>org.mockito</groupId>
286 <artifactId>mockito-all</artifactId>
287 <version>1.10.19</version>
292 <groupId>org.powermock</groupId>
293 <artifactId>powermock-module-junit4</artifactId>
294 <version>1.6.2</version>
298 <groupId>org.powermock</groupId>
299 <artifactId>powermock-api-mockito</artifactId>
300 <version>1.6.2</version>
304 <groupId>org.powermock</groupId>
305 <artifactId>powermock-module-javaagent</artifactId>
306 <version>1.6.2</version>
310 <groupId>org.powermock</groupId>
311 <artifactId>powermock-module-junit4-rule-agent</artifactId>
312 <version>1.6.2</version>
317 <groupId>org.hamcrest</groupId>
318 <artifactId>hamcrest-library</artifactId>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-compiler-plugin</artifactId>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-resources-plugin</artifactId>
342 <version>2.7</version>
345 <id>copy-docker-file</id>
346 <phase>package</phase>
348 <goal>copy-resources</goal>
351 <outputDirectory>target</outputDirectory>
352 <overwrite>true</overwrite>
355 <directory>${basedir}/src/main/docker</directory>
356 <filtering>true</filtering>
358 <include>**/*</include>
362 <directory>${basedir}/src/main/scripts/</directory>
376 <groupId>org.springframework.boot</groupId>
377 <artifactId>spring-boot-maven-plugin</artifactId>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-resources-plugin</artifactId>
384 <version>2.7</version>
387 <id>copy-docker-file</id>
388 <phase>package</phase>
390 <goal>copy-resources</goal>
393 <outputDirectory>target</outputDirectory>
394 <overwrite>true</overwrite>
397 <directory>${basedir}/src/main/docker</directory>
398 <filtering>true</filtering>
400 <include>**/*</include>
404 <directory>${basedir}/src/main/bin/</directory>
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-dependency-plugin</artifactId>
415 <version>3.0.0</version>
418 <id>copy-installed</id>
419 <phase>install</phase>
426 <groupId>${frontEndGroupdId}</groupId>
427 <artifactId>${frontEndArtifactId}</artifactId>
428 <version>${frontEndVersion}</version>
430 <outputDirectory>${basedir}/target/</outputDirectory>
431 <destFileName>aai.war</destFileName>
440 <groupId>org.jacoco</groupId>
441 <artifactId>jacoco-maven-plugin</artifactId>
442 <version>${version.jacoco.maven.plugin}</version>
445 <id>prepare-agent</id>
447 <goal>prepare-agent</goal>
452 <phase>package</phase>
461 <groupId>org.codehaus.mojo</groupId>
462 <artifactId>cobertura-maven-plugin</artifactId>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-site-plugin</artifactId>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-checkstyle-plugin</artifactId>
478 <version>2.17</version>
482 <report>checkstyle</report>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-resources-plugin</artifactId>
494 <version>2.7</version>
497 <id>copy-docker-file</id>
498 <phase>package</phase>
500 <goal>copy-resources</goal>
503 <outputDirectory>target</outputDirectory>
504 <overwrite>true</overwrite>
507 <directory>${basedir}/src/main/docker</directory>
508 <filtering>true</filtering>
510 <include>**/*</include>
514 <directory>${basedir}/src/main/scripts/</directory>
523 <groupId>com.spotify</groupId>
524 <artifactId>docker-maven-plugin</artifactId>
525 <version>0.4.11</version>
527 <verbose>true</verbose>
528 <serverId>docker-hub</serverId>
529 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
530 <dockerDirectory>${docker.location}</dockerDirectory>
532 <imageTag>latest</imageTag>
534 <forceTags>true</forceTags>
537 <!-- license plugin -->
539 <groupId>com.mycila</groupId>
540 <artifactId>license-maven-plugin</artifactId>
541 <version>3.0</version>
543 <header>LICENSE</header>
545 <include>src/main/java/**</include>
553 <phase>process-sources</phase>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-deploy-plugin</artifactId>
561 <version>2.8.2</version>
564 <id>default-deploy</id>
570 <groupId>org.sonatype.plugins</groupId>
571 <artifactId>nexus-staging-maven-plugin</artifactId>
572 <version>1.6.7</version>
573 <extensions>true</extensions>
575 <nexusUrl>${onap.nexus.url}</nexusUrl>
576 <stagingProfileId>176c31dfe190a</stagingProfileId>
577 <serverId>ecomp-staging</serverId>
584 <distributionManagement>
586 <id>ecomp-releases</id>
587 <name>ECOMP Release Repository</name>
588 <url>${onap.nexus.url}/content/repositories/releases/</url>
591 <id>ecomp-snapshots</id>
592 <name>ECOMP Snapshot Repository</name>
593 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
594 </snapshotRepository>
597 <url>dav:${onap.nexus.url}${sitePath}</url>
599 </distributionManagement>
604 <name>Maven 2 repository 2</name>
605 <url>http://repo2.maven.org/maven2/</url>
608 <id>ecomp-releases</id>
609 <name>ECOMP Release Repository</name>
610 <url>${onap.nexus.url}/content/repositories/releases/</url>
613 <id>ecomp-staging</id>
614 <name>ECOMP Staging Repository</name>
615 <url>${onap.nexus.url}/content/repositories/staging/</url>
618 <id>ecomp-snapshots</id>
619 <name>ECOMP Snapshot Repository</name>
620 <url>${onap.nexus.url}/content/repositories/snapshots/</url>