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>
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.1</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.0</version>
223 <groupId>org.onap.aai</groupId>
224 <artifactId>rest-client</artifactId>
225 <version>1.2.0</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>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-resources-plugin</artifactId>
387 <id>copy-docker-file</id>
388 <phase>package</phase>
390 <goal>copy-resources</goal>
393 <outputDirectory>target</outputDirectory>
394 <overwrite>true</overwrite>
397 <directory>${basedir}/src/main/docker</directory>
398 <filtering>true</filtering>
400 <include>**/*</include>
404 <directory>${basedir}/src/main/bin/</directory>
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-dependency-plugin</artifactId>
417 <id>copy-installed</id>
418 <phase>install</phase>
425 <groupId>${frontEndGroupdId}</groupId>
426 <artifactId>${frontEndArtifactId}</artifactId>
427 <version>${frontEndVersion}</version>
429 <outputDirectory>${basedir}/target/</outputDirectory>
430 <destFileName>aai.war</destFileName>
439 <groupId>org.jacoco</groupId>
440 <artifactId>jacoco-maven-plugin</artifactId>
441 <version>${version.jacoco.maven.plugin}</version>
444 <id>prepare-agent</id>
446 <goal>prepare-agent</goal>
451 <phase>package</phase>
460 <groupId>org.codehaus.mojo</groupId>
461 <artifactId>cobertura-maven-plugin</artifactId>
470 <groupId>org.apache.maven.plugins</groupId>
471 <artifactId>maven-site-plugin</artifactId>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-checkstyle-plugin</artifactId>
477 <version>2.17</version>
481 <report>checkstyle</report>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-resources-plugin</artifactId>
493 <version>2.7</version>
496 <id>copy-docker-file</id>
497 <phase>package</phase>
499 <goal>copy-resources</goal>
502 <outputDirectory>target</outputDirectory>
503 <overwrite>true</overwrite>
506 <directory>${basedir}/src/main/docker</directory>
507 <filtering>true</filtering>
509 <include>**/*</include>
513 <directory>${basedir}/src/main/scripts/</directory>
522 <groupId>com.spotify</groupId>
523 <artifactId>docker-maven-plugin</artifactId>
524 <version>0.4.11</version>
526 <verbose>true</verbose>
527 <serverId>docker-hub</serverId>
528 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
529 <dockerDirectory>${docker.location}</dockerDirectory>
531 <imageTag>latest</imageTag>
533 <forceTags>true</forceTags>
536 <!-- license plugin -->
538 <groupId>com.mycila</groupId>
539 <artifactId>license-maven-plugin</artifactId>
540 <version>3.0</version>
542 <header>LICENSE</header>
544 <include>src/main/java/**</include>
552 <phase>process-sources</phase>
559 <distributionManagement>
561 <id>ecomp-releases</id>
562 <name>ECOMP Release Repository</name>
563 <url>${nexusproxy}/content/repositories/releases/</url>
566 <id>ecomp-snapshots</id>
567 <name>ECOMP Snapshot Repository</name>
568 <url>${nexusproxy}/content/repositories/snapshots/</url>
569 </snapshotRepository>
570 </distributionManagement>