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.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>
31 <dependencyManagement>
36 <groupId>org.apache.camel</groupId>
37 <artifactId>camel-spring-boot-dependencies</artifactId>
38 <version>${camel-spring-boot.version}</version>
44 <groupId>ch.qos.logback</groupId>
45 <artifactId>logback-classic</artifactId>
46 <version>1.2.1</version>
51 </dependencyManagement>
55 <!-- Spring dependencies -->
57 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-web</artifactId>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-actuator</artifactId>
67 <groupId>org.apache.camel</groupId>
68 <artifactId>camel-restlet</artifactId>
71 <groupId>commons-logging</groupId>
72 <artifactId>commons-logging</artifactId>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-logging</artifactId>
82 <groupId>ch.qos.logback</groupId>
83 <artifactId>logback-classic</artifactId>
89 <groupId>org.apache.camel</groupId>
90 <artifactId>camel-servlet</artifactId>
93 <groupId>commons-logging</groupId>
94 <artifactId>commons-logging</artifactId>
101 <groupId>org.apache.camel</groupId>
102 <artifactId>camel-spring-boot-dependencies</artifactId>
103 <version>${camel-spring-boot.version}</version>
105 <scope>import</scope>
108 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
109 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
110 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
115 <groupId>org.apache.camel</groupId>
116 <artifactId>camel-spring-boot-starter</artifactId>
119 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
121 <groupId>org.apache.camel</groupId>
122 <artifactId>camel-restlet</artifactId>
126 <groupId>commons-io</groupId>
127 <artifactId>commons-io</artifactId>
130 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
132 <groupId>org.eclipse.jetty</groupId>
133 <artifactId>jetty-util</artifactId>
134 <scope>provided</scope>
138 <groupId>org.apache.camel</groupId>
139 <artifactId>camel-servlet-starter</artifactId>
143 <groupId>org.springframework.boot</groupId>
144 <artifactId>spring-boot-starter-actuator</artifactId>
148 <groupId>org.onap.aai.sparky-be</groupId>
149 <artifactId>sparkybe-onap-service</artifactId>
150 <version>1.2.0-SNAPSHOT</version>
158 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
160 <groupId>commons-cli</groupId>
161 <artifactId>commons-cli</artifactId>
162 <version>1.2</version>
165 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
169 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
170 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
171 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
172 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
173 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
174 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
175 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
178 <!-- Utility dependencies -->
181 <groupId>com.google.guava</groupId>
182 <artifactId>guava</artifactId>
183 <version>19.0</version>
187 <groupId>org.onap.aai.logging-service</groupId>
188 <artifactId>common-logging</artifactId>
189 <version>1.2.2</version>
193 <groupId>dom4j</groupId>
194 <artifactId>dom4j</artifactId>
195 <scope>provided</scope>
199 <groupId>org.eclipse.persistence</groupId>
200 <artifactId>eclipselink</artifactId>
201 <version>2.6.2</version>
205 <groupId>org.slf4j</groupId>
206 <artifactId>slf4j-api</artifactId>
207 <scope>provided</scope>
211 <groupId>com.fasterxml.jackson.core</groupId>
212 <artifactId>jackson-core</artifactId>
213 <scope>provided</scope>
217 <groupId>org.onap.aai.aai-common</groupId>
218 <artifactId>aai-schema</artifactId>
219 <version>1.2.2-SNAPSHOT</version>
223 <groupId>org.onap.aai</groupId>
224 <artifactId>rest-client</artifactId>
225 <version>1.2.1</version>
228 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
230 <groupId>org.restlet.jee</groupId>
231 <artifactId>org.restlet.ext.servlet</artifactId>
232 <version>2.1.1</version>
237 <groupId>com.openpojo</groupId>
238 <artifactId>openpojo</artifactId>
239 <version>0.8.6</version>
243 <groupId>com.google.code.gson</groupId>
244 <artifactId>gson</artifactId>
245 <scope>provided</scope>
250 <groupId>org.json</groupId>
251 <artifactId>json</artifactId>
252 <scope>provided</scope>
256 <groupId>com.fasterxml.jackson.core</groupId>
257 <artifactId>jackson-databind</artifactId>
258 <scope>provided</scope>
262 <groupId>org.onap.portal.sdk</groupId>
263 <artifactId>epsdk-fw</artifactId>
264 <version>1.3.0 </version>
267 <groupId>commons-logging</groupId>
268 <artifactId>commons-logging</artifactId>
271 <groupId>log4j</groupId>
272 <artifactId>log4j</artifactId>
275 <groupId>log4j</groupId>
276 <artifactId>apache-log4j-extras</artifactId>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-log4j12</artifactId>
285 <!-- Test dependencies -->
288 <groupId>org.mockito</groupId>
289 <artifactId>mockito-all</artifactId>
290 <version>1.10.19</version>
295 <groupId>org.powermock</groupId>
296 <artifactId>powermock-module-junit4</artifactId>
297 <version>1.6.2</version>
301 <groupId>org.powermock</groupId>
302 <artifactId>powermock-api-mockito</artifactId>
303 <version>1.6.2</version>
307 <groupId>org.powermock</groupId>
308 <artifactId>powermock-module-javaagent</artifactId>
309 <version>1.6.2</version>
313 <groupId>org.powermock</groupId>
314 <artifactId>powermock-module-junit4-rule-agent</artifactId>
315 <version>1.6.2</version>
320 <groupId>org.hamcrest</groupId>
321 <artifactId>hamcrest-library</artifactId>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-compiler-plugin</artifactId>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-resources-plugin</artifactId>
345 <version>2.7</version>
348 <id>copy-docker-file</id>
349 <phase>package</phase>
351 <goal>copy-resources</goal>
354 <outputDirectory>target</outputDirectory>
355 <overwrite>true</overwrite>
358 <directory>${basedir}/src/main/docker</directory>
359 <filtering>true</filtering>
361 <include>**/*</include>
365 <directory>${basedir}/src/main/scripts/</directory>
379 <groupId>org.springframework.boot</groupId>
380 <artifactId>spring-boot-maven-plugin</artifactId>
384 ${CONFIG_HOME}/portal/
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-resources-plugin</artifactId>
393 <version>2.7</version>
396 <id>copy-docker-file-to-target</id>
397 <phase>package</phase>
399 <goal>copy-resources</goal>
402 <outputDirectory>target</outputDirectory>
403 <overwrite>true</overwrite>
406 <directory>${basedir}/src/main/docker</directory>
407 <filtering>true</filtering>
409 <include>**/*</include>
419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-resources-plugin</artifactId>
421 <version>2.7</version>
424 <id>copy-scripts-to-target</id>
425 <phase>package</phase>
427 <goal>copy-resources</goal>
430 <outputDirectory>target/scripts</outputDirectory>
431 <overwrite>true</overwrite>
434 <directory>${basedir}/src/main/scripts</directory>
435 <filtering>true</filtering>
437 <include>**/*</include>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-dependency-plugin</artifactId>
449 <version>3.0.0</version>
452 <id>copy-war-to-target</id>
453 <phase>install</phase>
460 <groupId>${frontEndGroupdId}</groupId>
461 <artifactId>${frontEndArtifactId}</artifactId>
462 <version>${frontEndVersion}</version>
464 <outputDirectory>${basedir}/target/static/services/aai/webapp/</outputDirectory>
473 <groupId>org.jacoco</groupId>
474 <artifactId>jacoco-maven-plugin</artifactId>
475 <version>${version.jacoco.maven.plugin}</version>
478 <id>prepare-agent</id>
480 <goal>prepare-agent</goal>
485 <phase>package</phase>
494 <groupId>org.codehaus.mojo</groupId>
495 <artifactId>cobertura-maven-plugin</artifactId>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-site-plugin</artifactId>
509 <groupId>org.apache.maven.plugins</groupId>
510 <artifactId>maven-checkstyle-plugin</artifactId>
511 <version>2.17</version>
515 <report>checkstyle</report>
524 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
525 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
526 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
527 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
528 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
529 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
530 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
532 <groupId>com.spotify</groupId>
533 <artifactId>docker-maven-plugin</artifactId>
534 <version>0.4.11</version>
536 <verbose>true</verbose>
537 <serverId>docker-hub</serverId>
538 <imageName>${docker.push.registry}/onap/${docker.image.name}</imageName>
539 <dockerDirectory>${docker.location}</dockerDirectory>
541 <imageTag>latest</imageTag>
543 <forceTags>true</forceTags>
546 <!-- license plugin -->
547 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
548 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
549 <include>src/main/java/**</include> </includes> </configuration> <executions>
550 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
551 </execution> </executions> </plugin> -->
554 <distributionManagement>
556 <id>ecomp-releases</id>
557 <name>ECOMP Release Repository</name>
558 <url>${nexusproxy}/content/repositories/releases/</url>
561 <id>ecomp-snapshots</id>
562 <name>ECOMP Snapshot Repository</name>
563 <url>${nexusproxy}/content/repositories/snapshots/</url>
564 </snapshotRepository>
565 </distributionManagement>