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.1.0-SNAPSHOT</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>
32 <dependencyManagement>
37 <groupId>org.apache.camel</groupId>
38 <artifactId>camel-spring-boot-dependencies</artifactId>
39 <version>${camel-spring-boot.version}</version>
45 <groupId>ch.qos.logback</groupId>
46 <artifactId>logback-classic</artifactId>
47 <version>1.2.1</version>
52 </dependencyManagement>
56 <!-- Spring dependencies -->
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-web</artifactId>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-actuator</artifactId>
68 <groupId>org.apache.camel</groupId>
69 <artifactId>camel-restlet</artifactId>
72 <groupId>commons-logging</groupId>
73 <artifactId>commons-logging</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-logging</artifactId>
83 <groupId>ch.qos.logback</groupId>
84 <artifactId>logback-classic</artifactId>
90 <groupId>org.apache.camel</groupId>
91 <artifactId>camel-servlet</artifactId>
94 <groupId>commons-logging</groupId>
95 <artifactId>commons-logging</artifactId>
102 <groupId>org.apache.camel</groupId>
103 <artifactId>camel-spring-boot-dependencies</artifactId>
104 <version>${camel-spring-boot.version}</version>
106 <scope>import</scope>
109 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
110 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
111 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
116 <groupId>org.apache.camel</groupId>
117 <artifactId>camel-spring-boot-starter</artifactId>
120 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
122 <groupId>org.apache.camel</groupId>
123 <artifactId>camel-restlet</artifactId>
127 <groupId>commons-io</groupId>
128 <artifactId>commons-io</artifactId>
131 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
133 <groupId>org.eclipse.jetty</groupId>
134 <artifactId>jetty-util</artifactId>
135 <scope>provided</scope>
139 <groupId>org.apache.camel</groupId>
140 <artifactId>camel-servlet-starter</artifactId>
144 <groupId>org.springframework.boot</groupId>
145 <artifactId>spring-boot-starter-actuator</artifactId>
149 <groupId>org.onap.aai.sparky-be</groupId>
150 <artifactId>sparkybe-onap-service</artifactId>
151 <version>1.2.0-SNAPSHOT</version>
159 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
161 <groupId>commons-cli</groupId>
162 <artifactId>commons-cli</artifactId>
163 <version>1.2</version>
166 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
170 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
171 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
172 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
173 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
174 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
175 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
176 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
179 <!-- Utility dependencies -->
182 <groupId>com.google.guava</groupId>
183 <artifactId>guava</artifactId>
184 <version>19.0</version>
188 <groupId>org.onap.aai.logging-service</groupId>
189 <artifactId>common-logging</artifactId>
190 <version>1.2.2</version>
194 <groupId>dom4j</groupId>
195 <artifactId>dom4j</artifactId>
196 <scope>provided</scope>
200 <groupId>org.eclipse.persistence</groupId>
201 <artifactId>eclipselink</artifactId>
202 <version>2.6.2</version>
206 <groupId>org.slf4j</groupId>
207 <artifactId>slf4j-api</artifactId>
208 <scope>provided</scope>
212 <groupId>com.fasterxml.jackson.core</groupId>
213 <artifactId>jackson-core</artifactId>
214 <scope>provided</scope>
218 <groupId>org.onap.aai.aai-common</groupId>
219 <artifactId>aai-schema</artifactId>
220 <version>1.2.2-SNAPSHOT</version>
224 <groupId>org.onap.aai</groupId>
225 <artifactId>rest-client</artifactId>
226 <version>1.2.1</version>
229 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
231 <groupId>org.restlet.jee</groupId>
232 <artifactId>org.restlet.ext.servlet</artifactId>
233 <version>2.1.1</version>
238 <groupId>com.openpojo</groupId>
239 <artifactId>openpojo</artifactId>
240 <version>0.8.6</version>
244 <groupId>com.google.code.gson</groupId>
245 <artifactId>gson</artifactId>
246 <scope>provided</scope>
251 <groupId>org.json</groupId>
252 <artifactId>json</artifactId>
253 <scope>provided</scope>
257 <groupId>com.fasterxml.jackson.core</groupId>
258 <artifactId>jackson-databind</artifactId>
259 <scope>provided</scope>
263 <groupId>org.onap.portal.sdk</groupId>
264 <artifactId>epsdk-fw</artifactId>
265 <version>1.3.0 </version>
268 <groupId>commons-logging</groupId>
269 <artifactId>commons-logging</artifactId>
272 <groupId>log4j</groupId>
273 <artifactId>log4j</artifactId>
276 <groupId>log4j</groupId>
277 <artifactId>apache-log4j-extras</artifactId>
280 <groupId>org.slf4j</groupId>
281 <artifactId>slf4j-log4j12</artifactId>
286 <!-- Test dependencies -->
289 <groupId>org.mockito</groupId>
290 <artifactId>mockito-all</artifactId>
291 <version>1.10.19</version>
296 <groupId>org.powermock</groupId>
297 <artifactId>powermock-module-junit4</artifactId>
298 <version>1.6.2</version>
302 <groupId>org.powermock</groupId>
303 <artifactId>powermock-api-mockito</artifactId>
304 <version>1.6.2</version>
308 <groupId>org.powermock</groupId>
309 <artifactId>powermock-module-javaagent</artifactId>
310 <version>1.6.2</version>
314 <groupId>org.powermock</groupId>
315 <artifactId>powermock-module-junit4-rule-agent</artifactId>
316 <version>1.6.2</version>
321 <groupId>org.hamcrest</groupId>
322 <artifactId>hamcrest-library</artifactId>
335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-compiler-plugin</artifactId>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-resources-plugin</artifactId>
346 <version>2.7</version>
349 <id>copy-docker-file</id>
350 <phase>package</phase>
352 <goal>copy-resources</goal>
355 <outputDirectory>target</outputDirectory>
356 <overwrite>true</overwrite>
359 <directory>${basedir}/src/main/docker</directory>
360 <filtering>true</filtering>
362 <include>**/*</include>
366 <directory>${basedir}/src/main/scripts/</directory>
380 <groupId>org.springframework.boot</groupId>
381 <artifactId>spring-boot-maven-plugin</artifactId>
385 ${CONFIG_HOME}/portal/
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-resources-plugin</artifactId>
395 <id>copy-docker-file</id>
396 <phase>package</phase>
398 <goal>copy-resources</goal>
401 <outputDirectory>target</outputDirectory>
402 <overwrite>true</overwrite>
405 <directory>${basedir}/src/main/docker</directory>
406 <filtering>true</filtering>
408 <include>**/*</include>
412 <directory>${basedir}/src/main/bin/</directory>
421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-dependency-plugin</artifactId>
425 <id>copy-installed</id>
426 <phase>install</phase>
433 <groupId>${frontEndGroupdId}</groupId>
434 <artifactId>${frontEndArtifactId}</artifactId>
435 <version>${frontEndVersion}</version>
437 <outputDirectory>${basedir}/target/</outputDirectory>
438 <destFileName>aai.war</destFileName>
447 <groupId>org.jacoco</groupId>
448 <artifactId>jacoco-maven-plugin</artifactId>
449 <version>${version.jacoco.maven.plugin}</version>
452 <id>prepare-agent</id>
454 <goal>prepare-agent</goal>
459 <phase>package</phase>
468 <groupId>org.codehaus.mojo</groupId>
469 <artifactId>cobertura-maven-plugin</artifactId>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-site-plugin</artifactId>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-checkstyle-plugin</artifactId>
485 <version>2.17</version>
489 <report>checkstyle</report>
498 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId>
499 <version>2.7</version> <executions> <execution> <id>copy-docker-file</id>
500 <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
501 <outputDirectory>target</outputDirectory> <overwrite>true</overwrite> <resources>
502 <resource> <directory>${basedir}/src/main/docker</directory> <filtering>true</filtering>
503 <includes> <include>**/*</include> </includes> </resource> <resource> <directory>${basedir}/src/main/scripts/</directory>
504 </resource> </resources> </configuration> </execution> </executions> </plugin> -->
506 <groupId>com.spotify</groupId>
507 <artifactId>docker-maven-plugin</artifactId>
508 <version>0.4.11</version>
510 <verbose>true</verbose>
511 <serverId>docker-hub</serverId>
512 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
513 <dockerDirectory>${docker.location}</dockerDirectory>
515 <imageTag>latest</imageTag>
517 <forceTags>true</forceTags>
520 <!-- license plugin -->
521 <!-- <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId>
522 <version>3.0</version> <configuration> <header>LICENSE</header> <includes>
523 <include>src/main/java/**</include> </includes> </configuration> <executions>
524 <execution> <goals> <goal>format</goal> </goals> <phase>process-sources</phase>
525 </execution> </executions> </plugin> -->
528 <distributionManagement>
530 <id>ecomp-releases</id>
531 <name>ECOMP Release Repository</name>
532 <url>${nexusproxy}/content/repositories/releases/</url>
535 <id>ecomp-snapshots</id>
536 <name>ECOMP Snapshot Repository</name>
537 <url>${nexusproxy}/content/repositories/snapshots/</url>
538 </snapshotRepository>
539 </distributionManagement>