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.12.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 <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
30 <nexusproxy>https://nexus.onap.org</nexusproxy>
33 <dependencyManagement>
38 <groupId>org.apache.camel</groupId>
39 <artifactId>camel-spring-boot-dependencies</artifactId>
40 <version>${camel-spring-boot.version}</version>
46 <groupId>ch.qos.logback</groupId>
47 <artifactId>logback-classic</artifactId>
48 <version>1.2.1</version>
53 </dependencyManagement>
57 <!-- Spring dependencies -->
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-web</artifactId>
64 <groupId>org.springframework.boot</groupId>
65 <artifactId>spring-boot-starter-actuator</artifactId>
69 <groupId>org.apache.camel</groupId>
70 <artifactId>camel-restlet</artifactId>
73 <groupId>commons-logging</groupId>
74 <artifactId>commons-logging</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-logging</artifactId>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-classic</artifactId>
91 <groupId>org.apache.camel</groupId>
92 <artifactId>camel-servlet</artifactId>
95 <groupId>commons-logging</groupId>
96 <artifactId>commons-logging</artifactId>
103 <groupId>org.apache.camel</groupId>
104 <artifactId>camel-spring-boot-dependencies</artifactId>
105 <version>${camel-spring-boot.version}</version>
107 <scope>import</scope>
110 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
111 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
112 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
117 <groupId>org.apache.camel</groupId>
118 <artifactId>camel-spring-boot-starter</artifactId>
121 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
123 <groupId>org.apache.camel</groupId>
124 <artifactId>camel-restlet</artifactId>
128 <groupId>commons-io</groupId>
129 <artifactId>commons-io</artifactId>
132 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
134 <groupId>org.eclipse.jetty</groupId>
135 <artifactId>jetty-util</artifactId>
136 <scope>provided</scope>
140 <groupId>org.apache.camel</groupId>
141 <artifactId>camel-servlet-starter</artifactId>
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-starter-actuator</artifactId>
150 <groupId>org.onap.aai.sparky-be</groupId>
151 <artifactId>sparkybe-onap-service</artifactId>
152 <version>1.3.0-SNAPSHOT</version>
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>
189 <groupId>org.onap.aai.logging-service</groupId>
190 <artifactId>common-logging</artifactId>
191 <version>1.2.2</version>
195 <groupId>dom4j</groupId>
196 <artifactId>dom4j</artifactId>
197 <scope>provided</scope>
201 <groupId>org.eclipse.persistence</groupId>
202 <artifactId>eclipselink</artifactId>
203 <version>2.6.2</version>
207 <groupId>org.slf4j</groupId>
208 <artifactId>slf4j-api</artifactId>
209 <scope>provided</scope>
213 <groupId>com.fasterxml.jackson.core</groupId>
214 <artifactId>jackson-core</artifactId>
215 <scope>provided</scope>
219 <groupId>org.onap.aai.aai-common</groupId>
220 <artifactId>aai-schema</artifactId>
221 <version>1.3.0-SNAPSHOT</version>
225 <groupId>org.onap.aai</groupId>
226 <artifactId>rest-client</artifactId>
227 <version>1.3.0-SNAPSHOT</version>
230 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
232 <groupId>org.restlet.jee</groupId>
233 <artifactId>org.restlet.ext.servlet</artifactId>
234 <version>2.1.1</version>
239 <groupId>com.openpojo</groupId>
240 <artifactId>openpojo</artifactId>
241 <version>0.8.6</version>
245 <groupId>com.google.code.gson</groupId>
246 <artifactId>gson</artifactId>
247 <scope>provided</scope>
252 <groupId>org.json</groupId>
253 <artifactId>json</artifactId>
254 <scope>provided</scope>
258 <groupId>com.fasterxml.jackson.core</groupId>
259 <artifactId>jackson-databind</artifactId>
260 <scope>provided</scope>
264 <groupId>org.onap.portal.sdk</groupId>
265 <artifactId>epsdk-fw</artifactId>
266 <version>1.3.0 </version>
269 <groupId>commons-logging</groupId>
270 <artifactId>commons-logging</artifactId>
273 <groupId>log4j</groupId>
274 <artifactId>log4j</artifactId>
277 <groupId>log4j</groupId>
278 <artifactId>apache-log4j-extras</artifactId>
281 <groupId>org.slf4j</groupId>
282 <artifactId>slf4j-log4j12</artifactId>
287 <!-- Test dependencies -->
290 <groupId>org.mockito</groupId>
291 <artifactId>mockito-all</artifactId>
292 <version>1.10.19</version>
297 <groupId>org.powermock</groupId>
298 <artifactId>powermock-module-junit4</artifactId>
299 <version>1.6.2</version>
303 <groupId>org.powermock</groupId>
304 <artifactId>powermock-api-mockito</artifactId>
305 <version>1.6.2</version>
309 <groupId>org.powermock</groupId>
310 <artifactId>powermock-module-javaagent</artifactId>
311 <version>1.6.2</version>
315 <groupId>org.powermock</groupId>
316 <artifactId>powermock-module-junit4-rule-agent</artifactId>
317 <version>1.6.2</version>
322 <groupId>org.hamcrest</groupId>
323 <artifactId>hamcrest-library</artifactId>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-compiler-plugin</artifactId>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-resources-plugin</artifactId>
347 <version>2.7</version>
350 <id>copy-docker-file</id>
351 <phase>package</phase>
353 <goal>copy-resources</goal>
356 <outputDirectory>target</outputDirectory>
357 <overwrite>true</overwrite>
360 <directory>${basedir}/src/main/docker</directory>
361 <filtering>true</filtering>
363 <include>**/*</include>
367 <directory>${basedir}/src/main/scripts/</directory>
381 <groupId>org.springframework.boot</groupId>
382 <artifactId>spring-boot-maven-plugin</artifactId>
386 ${CONFIG_HOME}/portal/
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-resources-plugin</artifactId>
395 <version>2.7</version>
398 <id>copy-docker-file-to-target</id>
399 <phase>package</phase>
401 <goal>copy-resources</goal>
404 <outputDirectory>target</outputDirectory>
405 <overwrite>true</overwrite>
408 <directory>${basedir}/src/main/docker</directory>
409 <filtering>true</filtering>
411 <include>**/*</include>
421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-resources-plugin</artifactId>
423 <version>2.7</version>
426 <id>copy-scripts-to-target</id>
427 <phase>package</phase>
429 <goal>copy-resources</goal>
432 <outputDirectory>target/scripts</outputDirectory>
433 <overwrite>true</overwrite>
436 <directory>${basedir}/src/main/scripts</directory>
437 <filtering>true</filtering>
439 <include>**/*</include>
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-dependency-plugin</artifactId>
451 <version>3.0.0</version>
454 <id>copy-war-to-target</id>
455 <phase>install</phase>
462 <groupId>${frontEndGroupdId}</groupId>
463 <artifactId>${frontEndArtifactId}</artifactId>
464 <version>${frontEndVersion}</version>
466 <outputDirectory>${basedir}/target/static/services/aai/webapp/</outputDirectory>
475 <groupId>org.jacoco</groupId>
476 <artifactId>jacoco-maven-plugin</artifactId>
477 <version>${version.jacoco.maven.plugin}</version>
480 <id>prepare-agent</id>
482 <goal>prepare-agent</goal>
487 <phase>package</phase>
496 <groupId>org.codehaus.mojo</groupId>
497 <artifactId>cobertura-maven-plugin</artifactId>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-site-plugin</artifactId>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-checkstyle-plugin</artifactId>
513 <version>2.17</version>
517 <report>checkstyle</report>
526 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
527 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
528 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
529 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
530 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
531 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
532 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
534 <groupId>com.spotify</groupId>
535 <artifactId>docker-maven-plugin</artifactId>
536 <version>0.4.11</version>
539 <groupId>com.github.jnr</groupId>
540 <artifactId>jnr-unixsocket</artifactId>
541 <version>0.13</version>
545 <verbose>true</verbose>
546 <serverId>docker-hub</serverId>
547 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
548 <dockerDirectory>${docker.location}</dockerDirectory>
550 <imageTag>latest</imageTag>
552 <forceTags>true</forceTags>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-deploy-plugin</artifactId>
559 <version>2.8.2</version>
562 <id>default-deploy</id>
568 <groupId>org.sonatype.plugins</groupId>
569 <artifactId>nexus-staging-maven-plugin</artifactId>
570 <version>1.6.7</version>
571 <extensions>true</extensions>
573 <nexusUrl>${nexusproxy}</nexusUrl>
574 <stagingProfileId>176c31dfe190a</stagingProfileId>
575 <serverId>ecomp-staging</serverId>
579 <!-- license plugin -->
580 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
581 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
582 <include>src/main/java/**</include> </includes> </configuration> <executions>
583 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
584 </execution> </executions> </plugin> -->
589 <distributionManagement>
591 <id>ecomp-releases</id>
592 <name>ECOMP Release Repository</name>
593 <url>${nexusproxy}/content/repositories/releases/</url>
596 <id>ecomp-snapshots</id>
597 <name>ECOMP Snapshot Repository</name>
598 <url>${nexusproxy}/content/repositories/snapshots/</url>
599 </snapshotRepository>
600 </distributionManagement>
605 <name>Maven 2 repository 2</name>
606 <url>http://repo2.maven.org/maven2/</url>
609 <id>ecomp-releases</id>
610 <name>ECOMP Release Repository</name>
611 <url>${nexusproxy}/content/repositories/releases/</url>
614 <id>ecomp-staging</id>
615 <name>ECOMP Staging Repository</name>
616 <url>${nexusproxy}/content/repositories/staging/</url>
619 <id>ecomp-snapshots</id>
620 <name>ECOMP Snapshot Repository</name>
621 <url>${nexusproxy}/content/repositories/snapshots/</url>