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.10.RELEASE</version>
11 <groupId>org.onap.aai.sparky-be</groupId>
12 <artifactId>sparkybe-onap-application</artifactId>
13 <version>1.2.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.2.0</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>
34 <dependencyManagement>
39 <groupId>org.apache.camel</groupId>
40 <artifactId>camel-spring-boot-dependencies</artifactId>
41 <version>${camel-spring-boot.version}</version>
47 <groupId>ch.qos.logback</groupId>
48 <artifactId>logback-classic</artifactId>
49 <version>1.2.1</version>
54 </dependencyManagement>
58 <!-- Spring dependencies -->
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-web</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-actuator</artifactId>
70 <groupId>org.apache.camel</groupId>
71 <artifactId>camel-restlet</artifactId>
74 <groupId>commons-logging</groupId>
75 <artifactId>commons-logging</artifactId>
81 <groupId>org.springframework.boot</groupId>
82 <artifactId>spring-boot-starter-logging</artifactId>
85 <groupId>ch.qos.logback</groupId>
86 <artifactId>logback-classic</artifactId>
92 <groupId>org.apache.camel</groupId>
93 <artifactId>camel-servlet</artifactId>
96 <groupId>commons-logging</groupId>
97 <artifactId>commons-logging</artifactId>
104 <groupId>org.apache.camel</groupId>
105 <artifactId>camel-spring-boot-dependencies</artifactId>
106 <version>${camel-spring-boot.version}</version>
108 <scope>import</scope>
111 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
112 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
113 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
118 <groupId>org.apache.camel</groupId>
119 <artifactId>camel-spring-boot-starter</artifactId>
122 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
124 <groupId>org.apache.camel</groupId>
125 <artifactId>camel-restlet</artifactId>
129 <groupId>commons-io</groupId>
130 <artifactId>commons-io</artifactId>
133 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
135 <groupId>org.eclipse.jetty</groupId>
136 <artifactId>jetty-util</artifactId>
137 <scope>provided</scope>
141 <groupId>org.apache.camel</groupId>
142 <artifactId>camel-servlet-starter</artifactId>
146 <groupId>org.springframework.boot</groupId>
147 <artifactId>spring-boot-starter-actuator</artifactId>
151 <groupId>org.onap.aai.sparky-be</groupId>
152 <artifactId>sparkybe-onap-service</artifactId>
153 <version>1.2.0-SNAPSHOT</version>
161 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
163 <groupId>commons-cli</groupId>
164 <artifactId>commons-cli</artifactId>
165 <version>1.2</version>
168 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
172 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
173 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
174 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
175 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
176 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
177 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
178 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
181 <!-- Utility dependencies -->
184 <groupId>com.google.guava</groupId>
185 <artifactId>guava</artifactId>
186 <version>19.0</version>
190 <groupId>org.onap.aai.logging-service</groupId>
191 <artifactId>common-logging</artifactId>
192 <version>1.2.2</version>
196 <groupId>dom4j</groupId>
197 <artifactId>dom4j</artifactId>
198 <scope>provided</scope>
202 <groupId>org.eclipse.persistence</groupId>
203 <artifactId>eclipselink</artifactId>
204 <version>2.6.2</version>
208 <groupId>org.slf4j</groupId>
209 <artifactId>slf4j-api</artifactId>
210 <scope>provided</scope>
214 <groupId>com.fasterxml.jackson.core</groupId>
215 <artifactId>jackson-core</artifactId>
216 <scope>provided</scope>
220 <groupId>org.onap.aai.aai-common</groupId>
221 <artifactId>aai-schema</artifactId>
222 <version>1.2.2-SNAPSHOT</version>
226 <groupId>org.onap.aai</groupId>
227 <artifactId>rest-client</artifactId>
228 <version>1.2.1</version>
231 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
233 <groupId>org.restlet.jee</groupId>
234 <artifactId>org.restlet.ext.servlet</artifactId>
235 <version>2.1.1</version>
240 <groupId>com.openpojo</groupId>
241 <artifactId>openpojo</artifactId>
242 <version>0.8.6</version>
246 <groupId>com.google.code.gson</groupId>
247 <artifactId>gson</artifactId>
248 <scope>provided</scope>
253 <groupId>org.json</groupId>
254 <artifactId>json</artifactId>
255 <scope>provided</scope>
259 <groupId>com.fasterxml.jackson.core</groupId>
260 <artifactId>jackson-databind</artifactId>
261 <scope>provided</scope>
265 <groupId>org.onap.portal.sdk</groupId>
266 <artifactId>epsdk-fw</artifactId>
267 <version>1.3.0 </version>
270 <groupId>commons-logging</groupId>
271 <artifactId>commons-logging</artifactId>
274 <groupId>log4j</groupId>
275 <artifactId>log4j</artifactId>
278 <groupId>log4j</groupId>
279 <artifactId>apache-log4j-extras</artifactId>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-log4j12</artifactId>
288 <!-- Test dependencies -->
291 <groupId>org.mockito</groupId>
292 <artifactId>mockito-all</artifactId>
293 <version>1.10.19</version>
298 <groupId>org.powermock</groupId>
299 <artifactId>powermock-module-junit4</artifactId>
300 <version>1.6.2</version>
304 <groupId>org.powermock</groupId>
305 <artifactId>powermock-api-mockito</artifactId>
306 <version>1.6.2</version>
310 <groupId>org.powermock</groupId>
311 <artifactId>powermock-module-javaagent</artifactId>
312 <version>1.6.2</version>
316 <groupId>org.powermock</groupId>
317 <artifactId>powermock-module-junit4-rule-agent</artifactId>
318 <version>1.6.2</version>
323 <groupId>org.hamcrest</groupId>
324 <artifactId>hamcrest-library</artifactId>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-compiler-plugin</artifactId>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-resources-plugin</artifactId>
348 <version>2.7</version>
351 <id>copy-docker-file</id>
352 <phase>package</phase>
354 <goal>copy-resources</goal>
357 <outputDirectory>target</outputDirectory>
358 <overwrite>true</overwrite>
361 <directory>${basedir}/src/main/docker</directory>
362 <filtering>true</filtering>
364 <include>**/*</include>
368 <directory>${basedir}/src/main/scripts/</directory>
382 <groupId>org.springframework.boot</groupId>
383 <artifactId>spring-boot-maven-plugin</artifactId>
387 ${CONFIG_HOME}/portal/
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-resources-plugin</artifactId>
396 <version>2.7</version>
399 <id>copy-docker-file-to-target</id>
400 <phase>package</phase>
402 <goal>copy-resources</goal>
405 <outputDirectory>target</outputDirectory>
406 <overwrite>true</overwrite>
409 <directory>${basedir}/src/main/docker</directory>
410 <filtering>true</filtering>
412 <include>**/*</include>
422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-resources-plugin</artifactId>
424 <version>2.7</version>
427 <id>copy-scripts-to-target</id>
428 <phase>package</phase>
430 <goal>copy-resources</goal>
433 <outputDirectory>target/scripts</outputDirectory>
434 <overwrite>true</overwrite>
437 <directory>${basedir}/src/main/scripts</directory>
438 <filtering>true</filtering>
440 <include>**/*</include>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-dependency-plugin</artifactId>
452 <version>3.0.0</version>
455 <id>copy-war-to-target</id>
456 <phase>install</phase>
463 <groupId>${frontEndGroupdId}</groupId>
464 <artifactId>${frontEndArtifactId}</artifactId>
465 <version>${frontEndVersion}</version>
467 <outputDirectory>${basedir}/target/static/</outputDirectory>
476 <groupId>org.jacoco</groupId>
477 <artifactId>jacoco-maven-plugin</artifactId>
478 <version>${version.jacoco.maven.plugin}</version>
481 <id>prepare-agent</id>
483 <goal>prepare-agent</goal>
488 <phase>package</phase>
497 <groupId>org.codehaus.mojo</groupId>
498 <artifactId>cobertura-maven-plugin</artifactId>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-site-plugin</artifactId>
512 <groupId>org.apache.maven.plugins</groupId>
513 <artifactId>maven-checkstyle-plugin</artifactId>
514 <version>2.17</version>
518 <report>checkstyle</report>
527 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
528 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
529 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
530 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
531 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
532 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
533 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
535 <groupId>com.spotify</groupId>
536 <artifactId>docker-maven-plugin</artifactId>
537 <version>0.4.11</version>
539 <verbose>true</verbose>
540 <serverId>docker-hub</serverId>
541 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
542 <dockerDirectory>${docker.location}</dockerDirectory>
544 <imageTag>latest</imageTag>
546 <forceTags>true</forceTags>
549 <!-- license plugin -->
550 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
551 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
552 <include>src/main/java/**</include> </includes> </configuration> <executions>
553 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
554 </execution> </executions> </plugin> -->
557 <distributionManagement>
559 <id>ecomp-releases</id>
560 <name>ECOMP Release Repository</name>
561 <url>${nexusproxy}/content/repositories/releases/</url>
564 <id>ecomp-snapshots</id>
565 <name>ECOMP Snapshot Repository</name>
566 <url>${nexusproxy}/content/repositories/snapshots/</url>
567 </snapshotRepository>
568 </distributionManagement>