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>
45 </dependencyManagement>
49 <!-- Spring dependencies -->
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-starter-web</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-actuator</artifactId>
61 <groupId>org.apache.camel</groupId>
62 <artifactId>camel-restlet</artifactId>
65 <groupId>commons-logging</groupId>
66 <artifactId>commons-logging</artifactId>
72 <groupId>org.apache.camel</groupId>
73 <artifactId>camel-servlet</artifactId>
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>
113 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
115 <groupId>org.eclipse.jetty</groupId>
116 <artifactId>jetty-util</artifactId>
117 <scope>provided</scope>
121 <groupId>org.apache.camel</groupId>
122 <artifactId>camel-servlet-starter</artifactId>
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-actuator</artifactId>
131 <groupId>org.onap.aai.sparky-be</groupId>
132 <artifactId>sparkybe-onap-service</artifactId>
133 <version>1.2.0-SNAPSHOT</version>
141 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
143 <groupId>commons-cli</groupId>
144 <artifactId>commons-cli</artifactId>
145 <version>1.2</version>
148 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
152 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
153 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
154 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
155 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
156 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
157 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
158 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
161 <!-- Utility dependencies -->
164 <groupId>com.google.guava</groupId>
165 <artifactId>guava</artifactId>
166 <version>19.0</version>
170 <groupId>org.onap.aai.logging-service</groupId>
171 <artifactId>common-logging</artifactId>
172 <version>1.2.1</version>
176 <groupId>dom4j</groupId>
177 <artifactId>dom4j</artifactId>
178 <scope>provided</scope>
182 <groupId>org.eclipse.persistence</groupId>
183 <artifactId>eclipselink</artifactId>
184 <version>2.6.2</version>
188 <groupId>org.slf4j</groupId>
189 <artifactId>slf4j-api</artifactId>
190 <scope>provided</scope>
194 <groupId>com.fasterxml.jackson.core</groupId>
195 <artifactId>jackson-core</artifactId>
196 <scope>provided</scope>
200 <groupId>org.onap.aai.aai-common</groupId>
201 <artifactId>aai-schema</artifactId>
202 <version>1.2.0</version>
206 <groupId>org.onap.aai</groupId>
207 <artifactId>rest-client</artifactId>
208 <version>1.2.0</version>
211 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
213 <groupId>org.restlet.jee</groupId>
214 <artifactId>org.restlet.ext.servlet</artifactId>
215 <version>2.1.1</version>
220 <groupId>com.openpojo</groupId>
221 <artifactId>openpojo</artifactId>
222 <version>0.8.6</version>
226 <groupId>com.google.code.gson</groupId>
227 <artifactId>gson</artifactId>
228 <scope>provided</scope>
233 <groupId>org.json</groupId>
234 <artifactId>json</artifactId>
235 <scope>provided</scope>
239 <groupId>com.fasterxml.jackson.core</groupId>
240 <artifactId>jackson-databind</artifactId>
241 <scope>provided</scope>
245 <groupId>org.onap.portal.sdk</groupId>
246 <artifactId>epsdk-fw</artifactId>
247 <version>1.3.0 </version>
250 <groupId>commons-logging</groupId>
251 <artifactId>commons-logging</artifactId>
254 <groupId>log4j</groupId>
255 <artifactId>log4j</artifactId>
258 <groupId>log4j</groupId>
259 <artifactId>apache-log4j-extras</artifactId>
262 <groupId>org.slf4j</groupId>
263 <artifactId>slf4j-log4j12</artifactId>
268 <!-- Test dependencies -->
271 <groupId>org.mockito</groupId>
272 <artifactId>mockito-all</artifactId>
273 <version>1.10.19</version>
278 <groupId>org.powermock</groupId>
279 <artifactId>powermock-module-junit4</artifactId>
280 <version>1.6.2</version>
284 <groupId>org.powermock</groupId>
285 <artifactId>powermock-api-mockito</artifactId>
286 <version>1.6.2</version>
290 <groupId>org.powermock</groupId>
291 <artifactId>powermock-module-javaagent</artifactId>
292 <version>1.6.2</version>
296 <groupId>org.powermock</groupId>
297 <artifactId>powermock-module-junit4-rule-agent</artifactId>
298 <version>1.6.2</version>
303 <groupId>org.hamcrest</groupId>
304 <artifactId>hamcrest-library</artifactId>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-compiler-plugin</artifactId>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-resources-plugin</artifactId>
328 <version>2.7</version>
331 <id>copy-docker-file</id>
332 <phase>package</phase>
334 <goal>copy-resources</goal>
337 <outputDirectory>target</outputDirectory>
338 <overwrite>true</overwrite>
341 <directory>${basedir}/src/main/docker</directory>
342 <filtering>true</filtering>
344 <include>**/*</include>
348 <directory>${basedir}/src/main/scripts/</directory>
362 <groupId>org.springframework.boot</groupId>
363 <artifactId>spring-boot-maven-plugin</artifactId>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-resources-plugin</artifactId>
370 <id>copy-docker-file</id>
371 <phase>package</phase>
373 <goal>copy-resources</goal>
376 <outputDirectory>target</outputDirectory>
377 <overwrite>true</overwrite>
380 <directory>${basedir}/src/main/docker</directory>
381 <filtering>true</filtering>
383 <include>**/*</include>
387 <directory>${basedir}/src/main/bin/</directory>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-dependency-plugin</artifactId>
400 <id>copy-installed</id>
401 <phase>install</phase>
408 <groupId>${frontEndGroupdId}</groupId>
409 <artifactId>${frontEndArtifactId}</artifactId>
410 <version>${frontEndVersion}</version>
412 <outputDirectory>${basedir}/target/</outputDirectory>
413 <destFileName>aai.war</destFileName>
422 <groupId>org.jacoco</groupId>
423 <artifactId>jacoco-maven-plugin</artifactId>
424 <version>${version.jacoco.maven.plugin}</version>
427 <id>prepare-agent</id>
429 <goal>prepare-agent</goal>
434 <phase>package</phase>
443 <groupId>org.codehaus.mojo</groupId>
444 <artifactId>cobertura-maven-plugin</artifactId>
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-site-plugin</artifactId>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-checkstyle-plugin</artifactId>
460 <version>2.17</version>
464 <report>checkstyle</report>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-resources-plugin</artifactId>
476 <version>2.7</version>
479 <id>copy-docker-file</id>
480 <phase>package</phase>
482 <goal>copy-resources</goal>
485 <outputDirectory>target</outputDirectory>
486 <overwrite>true</overwrite>
489 <directory>${basedir}/src/main/docker</directory>
490 <filtering>true</filtering>
492 <include>**/*</include>
496 <directory>${basedir}/src/main/scripts/</directory>
505 <groupId>com.spotify</groupId>
506 <artifactId>docker-maven-plugin</artifactId>
507 <version>0.4.11</version>
509 <verbose>true</verbose>
510 <serverId>docker-hub</serverId>
511 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
512 <dockerDirectory>${docker.location}</dockerDirectory>
514 <imageTag>latest</imageTag>
516 <forceTags>true</forceTags>
519 <!-- license plugin -->
521 <groupId>com.mycila</groupId>
522 <artifactId>license-maven-plugin</artifactId>
523 <version>3.0</version>
525 <header>LICENSE</header>
527 <include>src/main/java/**</include>
535 <phase>process-sources</phase>