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.10.RELEASE</version>
10 <groupId>org.onap.aai.sparky-be</groupId>
11 <artifactId>sparkybe-onap-application</artifactId>
12 <version>1.2.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.1.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>
31 <dependencyManagement>
36 <groupId>org.apache.camel</groupId>
37 <artifactId>camel-spring-boot-dependencies</artifactId>
38 <version>${camel-spring-boot.version}</version>
43 </dependencyManagement>
47 <!-- Spring dependencies -->
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-web</artifactId>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-starter-actuator</artifactId>
59 <groupId>org.apache.camel</groupId>
60 <artifactId>camel-restlet</artifactId>
61 <version>${camel-spring-boot.version}</version>
64 <groupId>commons-logging</groupId>
65 <artifactId>commons-logging</artifactId>
71 <groupId>org.apache.camel</groupId>
72 <artifactId>camel-servlet</artifactId>
73 <version>${camel-spring-boot.version}</version>
76 <groupId>commons-logging</groupId>
77 <artifactId>commons-logging</artifactId>
84 <groupId>org.apache.camel</groupId>
85 <artifactId>camel-spring-boot-dependencies</artifactId>
86 <version>${camel-spring-boot.version}</version>
91 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
92 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
93 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
98 <groupId>org.apache.camel</groupId>
99 <artifactId>camel-spring-boot-starter</artifactId>
102 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
104 <groupId>org.apache.camel</groupId>
105 <artifactId>camel-restlet</artifactId>
109 <groupId>commons-io</groupId>
110 <artifactId>commons-io</artifactId>
111 <version>2.4</version>
114 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
116 <groupId>org.eclipse.jetty</groupId>
117 <artifactId>jetty-util</artifactId>
118 <scope>provided</scope>
122 <groupId>org.apache.camel</groupId>
123 <artifactId>camel-servlet-starter</artifactId>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-starter-actuator</artifactId>
132 <groupId>org.onap.aai.sparky-be</groupId>
133 <artifactId>sparkybe-onap-service</artifactId>
134 <version>1.2.0-SNAPSHOT</version>
142 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
144 <groupId>commons-cli</groupId>
145 <artifactId>commons-cli</artifactId>
146 <version>1.2</version>
149 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
153 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
154 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
155 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
156 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
157 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
158 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
159 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
162 <!-- Utility dependencies -->
165 <groupId>com.google.guava</groupId>
166 <artifactId>guava</artifactId>
167 <version>19.0</version>
171 <groupId>org.onap.aai.logging-service</groupId>
172 <artifactId>common-logging</artifactId>
173 <version>1.2.0</version>
177 <groupId>dom4j</groupId>
178 <artifactId>dom4j</artifactId>
179 <scope>provided</scope>
183 <groupId>org.eclipse.persistence</groupId>
184 <artifactId>eclipselink</artifactId>
185 <version>2.6.2</version>
189 <groupId>org.slf4j</groupId>
190 <artifactId>slf4j-api</artifactId>
191 <scope>provided</scope>
195 <groupId>com.fasterxml.jackson.core</groupId>
196 <artifactId>jackson-core</artifactId>
197 <scope>provided</scope>
201 <groupId>org.onap.aai.aai-common</groupId>
202 <artifactId>aai-schema</artifactId>
203 <version>1.2.0</version>
207 <groupId>org.onap.aai</groupId>
208 <artifactId>rest-client</artifactId>
209 <version>1.2.0</version>
212 <groupId>commons-io</groupId>
213 <artifactId>commons-io</artifactId>
214 <version>2.4</version>
217 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
219 <groupId>org.restlet.jee</groupId>
220 <artifactId>org.restlet.ext.servlet</artifactId>
221 <version>2.1.1</version>
226 <groupId>com.openpojo</groupId>
227 <artifactId>openpojo</artifactId>
228 <version>0.8.6</version>
232 <groupId>com.google.code.gson</groupId>
233 <artifactId>gson</artifactId>
234 <scope>provided</scope>
239 <groupId>org.json</groupId>
240 <artifactId>json</artifactId>
241 <scope>provided</scope>
245 <groupId>com.fasterxml.jackson.core</groupId>
246 <artifactId>jackson-databind</artifactId>
247 <scope>provided</scope>
251 <groupId>org.onap.portal.sdk</groupId>
252 <artifactId>epsdk-fw</artifactId>
253 <version>1.3.0 </version>
256 <groupId>commons-logging</groupId>
257 <artifactId>commons-logging</artifactId>
260 <groupId>log4j</groupId>
261 <artifactId>log4j</artifactId>
264 <groupId>log4j</groupId>
265 <artifactId>apache-log4j-extras</artifactId>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-log4j12</artifactId>
274 <!-- Test dependencies -->
277 <groupId>org.mockito</groupId>
278 <artifactId>mockito-all</artifactId>
279 <version>1.10.19</version>
284 <groupId>org.powermock</groupId>
285 <artifactId>powermock-module-junit4</artifactId>
286 <version>1.6.2</version>
290 <groupId>org.powermock</groupId>
291 <artifactId>powermock-api-mockito</artifactId>
292 <version>1.6.2</version>
296 <groupId>org.powermock</groupId>
297 <artifactId>powermock-module-javaagent</artifactId>
298 <version>1.6.2</version>
302 <groupId>org.powermock</groupId>
303 <artifactId>powermock-module-junit4-rule-agent</artifactId>
304 <version>1.6.2</version>
309 <groupId>org.hamcrest</groupId>
310 <artifactId>hamcrest-library</artifactId>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-compiler-plugin</artifactId>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-resources-plugin</artifactId>
334 <version>2.7</version>
337 <id>copy-docker-file</id>
338 <phase>package</phase>
340 <goal>copy-resources</goal>
343 <outputDirectory>target</outputDirectory>
344 <overwrite>true</overwrite>
347 <directory>${basedir}/src/main/docker</directory>
348 <filtering>true</filtering>
350 <include>**/*</include>
354 <directory>${basedir}/src/main/scripts/</directory>
368 <groupId>org.springframework.boot</groupId>
369 <artifactId>spring-boot-maven-plugin</artifactId>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-resources-plugin</artifactId>
374 <version>2.7</version>
377 <id>copy-docker-file</id>
378 <phase>package</phase>
380 <goal>copy-resources</goal>
383 <outputDirectory>target</outputDirectory>
384 <overwrite>true</overwrite>
387 <directory>${basedir}/src/main/docker</directory>
388 <filtering>true</filtering>
390 <include>**/*</include>
394 <directory>${basedir}/src/main/bin/</directory>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-dependency-plugin</artifactId>
405 <version>3.0.0</version>
408 <id>copy-installed</id>
409 <phase>install</phase>
416 <groupId>${frontEndGroupdId}</groupId>
417 <artifactId>${frontEndArtifactId}</artifactId>
418 <version>${frontEndVersion}</version>
420 <outputDirectory>${basedir}/target/</outputDirectory>
421 <destFileName>aai.war</destFileName>
430 <groupId>org.jacoco</groupId>
431 <artifactId>jacoco-maven-plugin</artifactId>
432 <version>${version.jacoco.maven.plugin}</version>
435 <id>prepare-agent</id>
437 <goal>prepare-agent</goal>
442 <phase>package</phase>
451 <groupId>org.codehaus.mojo</groupId>
452 <artifactId>cobertura-maven-plugin</artifactId>
461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-site-plugin</artifactId>
463 <version>3.3</version>
467 <groupId>org.apache.maven.plugins</groupId>
468 <artifactId>maven-checkstyle-plugin</artifactId>
469 <version>2.17</version>
473 <report>checkstyle</report>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-resources-plugin</artifactId>
485 <version>2.7</version>
488 <id>copy-docker-file</id>
489 <phase>package</phase>
491 <goal>copy-resources</goal>
494 <outputDirectory>target</outputDirectory>
495 <overwrite>true</overwrite>
498 <directory>${basedir}/src/main/docker</directory>
499 <filtering>true</filtering>
501 <include>**/*</include>
505 <directory>${basedir}/src/main/scripts/</directory>
514 <groupId>com.spotify</groupId>
515 <artifactId>docker-maven-plugin</artifactId>
516 <version>0.4.11</version>
518 <verbose>true</verbose>
519 <serverId>docker-hub</serverId>
520 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
521 <dockerDirectory>${docker.location}</dockerDirectory>
523 <imageTag>latest</imageTag>
525 <forceTags>true</forceTags>
528 <!-- license plugin -->
530 <groupId>com.mycila</groupId>
531 <artifactId>license-maven-plugin</artifactId>
532 <version>3.0</version>
534 <header>LICENSE</header>
536 <include>src/main/java/**</include>
544 <phase>process-sources</phase>