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-service</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 some of the depedencies should probably have a scope of provided so they don't automatically become part of the final jar
61 <!-- Spring dependencies -->
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-web</artifactId>
68 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-starter-actuator</artifactId>
73 <groupId>org.apache.camel</groupId>
74 <artifactId>camel-restlet</artifactId>
77 <groupId>commons-logging</groupId>
78 <artifactId>commons-logging</artifactId>
84 <groupId>org.apache.camel</groupId>
85 <artifactId>camel-servlet</artifactId>
88 <groupId>commons-logging</groupId>
89 <artifactId>commons-logging</artifactId>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-starter-logging</artifactId>
99 <groupId>ch.qos.logback</groupId>
100 <artifactId>logback-classic</artifactId>
108 <groupId>org.apache.camel</groupId>
109 <artifactId>camel-spring-boot-dependencies</artifactId>
110 <version>${camel-spring-boot.version}</version>
112 <scope>import</scope>
115 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
116 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
117 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
122 <groupId>org.apache.camel</groupId>
123 <artifactId>camel-spring-boot-starter</artifactId>
126 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
128 <groupId>org.apache.camel</groupId>
129 <artifactId>camel-restlet</artifactId>
133 <groupId>commons-io</groupId>
134 <artifactId>commons-io</artifactId>
137 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
139 <groupId>org.eclipse.jetty</groupId>
140 <artifactId>jetty-util</artifactId>
141 <scope>provided</scope>
145 <groupId>org.apache.camel</groupId>
146 <artifactId>camel-servlet-starter</artifactId>
150 <groupId>org.springframework.boot</groupId>
151 <artifactId>spring-boot-starter-actuator</artifactId>
154 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
156 <groupId>commons-cli</groupId>
157 <artifactId>commons-cli</artifactId>
158 <version>1.2</version>
161 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
165 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
166 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
167 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
168 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
169 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
170 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
171 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
174 <!-- Utility dependencies -->
177 <groupId>com.google.guava</groupId>
178 <artifactId>guava</artifactId>
179 <version>19.0</version>
184 <groupId>org.onap.aai.logging-service</groupId>
185 <artifactId>common-logging</artifactId>
186 <version>1.2.2</version>
191 <groupId>dom4j</groupId>
192 <artifactId>dom4j</artifactId>
193 <scope>provided</scope>
197 <groupId>org.eclipse.persistence</groupId>
198 <artifactId>eclipselink</artifactId>
199 <version>2.6.2</version>
203 <groupId>org.slf4j</groupId>
204 <artifactId>slf4j-api</artifactId>
205 <scope>provided</scope>
209 <groupId>com.fasterxml.jackson.core</groupId>
210 <artifactId>jackson-core</artifactId>
211 <scope>provided</scope>
215 <groupId>org.onap.aai.aai-common</groupId>
216 <artifactId>aai-schema</artifactId>
217 <version>1.2.2-SNAPSHOT</version>
221 <groupId>org.onap.aai</groupId>
222 <artifactId>rest-client</artifactId>
223 <version>1.2.1</version>
226 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
228 <groupId>org.restlet.jee</groupId>
229 <artifactId>org.restlet.ext.servlet</artifactId>
230 <version>2.1.1</version>
235 <groupId>com.openpojo</groupId>
236 <artifactId>openpojo</artifactId>
237 <version>0.8.6</version>
241 <groupId>com.google.code.gson</groupId>
242 <artifactId>gson</artifactId>
243 <scope>provided</scope>
248 <groupId>org.json</groupId>
249 <artifactId>json</artifactId>
250 <scope>provided</scope>
254 <groupId>com.fasterxml.jackson.core</groupId>
255 <artifactId>jackson-databind</artifactId>
256 <scope>provided</scope>
260 <groupId>org.onap.portal.sdk</groupId>
261 <artifactId>epsdk-fw</artifactId>
262 <version>1.3.0</version>
265 <groupId>commons-logging</groupId>
266 <artifactId>commons-logging</artifactId>
269 <groupId>log4j</groupId>
270 <artifactId>log4j</artifactId>
273 <groupId>log4j</groupId>
274 <artifactId>apache-log4j-extras</artifactId>
277 <groupId>org.slf4j</groupId>
278 <artifactId>slf4j-log4j12</artifactId>
283 <!-- Test dependencies -->
286 <groupId>org.mockito</groupId>
287 <artifactId>mockito-all</artifactId>
288 <version>1.10.19</version>
293 <groupId>org.powermock</groupId>
294 <artifactId>powermock-module-junit4</artifactId>
295 <version>1.6.2</version>
299 <groupId>org.powermock</groupId>
300 <artifactId>powermock-api-mockito</artifactId>
301 <version>1.6.2</version>
305 <groupId>org.powermock</groupId>
306 <artifactId>powermock-module-javaagent</artifactId>
307 <version>1.6.2</version>
311 <groupId>org.powermock</groupId>
312 <artifactId>powermock-module-junit4-rule-agent</artifactId>
313 <version>1.6.2</version>
318 <groupId>org.hamcrest</groupId>
319 <artifactId>hamcrest-library</artifactId>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-compiler-plugin</artifactId>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-resources-plugin</artifactId>
343 <version>2.7</version>
346 <id>copy-docker-file</id>
347 <phase>package</phase>
349 <goal>copy-resources</goal>
352 <outputDirectory>target</outputDirectory>
353 <overwrite>true</overwrite>
356 <directory>${basedir}/src/main/docker</directory>
357 <filtering>true</filtering>
359 <include>**/*</include>
363 <directory>${basedir}/src/main/scripts/</directory>
377 <groupId>org.springframework.boot</groupId>
378 <artifactId>spring-boot-maven-plugin</artifactId>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-resources-plugin</artifactId>
385 <version>2.7</version>
388 <id>copy-docker-file</id>
389 <phase>package</phase>
391 <goal>copy-resources</goal>
394 <outputDirectory>target</outputDirectory>
395 <overwrite>true</overwrite>
398 <directory>${basedir}/src/main/docker</directory>
399 <filtering>true</filtering>
401 <include>**/*</include>
405 <directory>${basedir}/src/main/bin/</directory>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-dependency-plugin</artifactId>
416 <version>3.0.0</version>
419 <id>copy-installed</id>
420 <phase>install</phase>
427 <groupId>${frontEndGroupdId}</groupId>
428 <artifactId>${frontEndArtifactId}</artifactId>
429 <version>${frontEndVersion}</version>
431 <outputDirectory>${basedir}/target/</outputDirectory>
432 <destFileName>aai.war</destFileName>
441 <groupId>org.jacoco</groupId>
442 <artifactId>jacoco-maven-plugin</artifactId>
443 <version>${version.jacoco.maven.plugin}</version>
446 <id>prepare-agent</id>
448 <goal>prepare-agent</goal>
453 <phase>package</phase>
462 <groupId>org.codehaus.mojo</groupId>
463 <artifactId>cobertura-maven-plugin</artifactId>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-site-plugin</artifactId>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-checkstyle-plugin</artifactId>
479 <version>2.17</version>
483 <report>checkstyle</report>
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-resources-plugin</artifactId>
495 <version>2.7</version>
498 <id>copy-docker-file</id>
499 <phase>package</phase>
501 <goal>copy-resources</goal>
504 <outputDirectory>target</outputDirectory>
505 <overwrite>true</overwrite>
508 <directory>${basedir}/src/main/docker</directory>
509 <filtering>true</filtering>
511 <include>**/*</include>
515 <directory>${basedir}/src/main/scripts/</directory>
524 <groupId>com.spotify</groupId>
525 <artifactId>docker-maven-plugin</artifactId>
526 <version>0.4.11</version>
528 <verbose>true</verbose>
529 <serverId>docker-hub</serverId>
530 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
531 <dockerDirectory>${docker.location}</dockerDirectory>
533 <imageTag>latest</imageTag>
535 <forceTags>true</forceTags>
538 <!-- license plugin -->
540 <groupId>com.mycila</groupId>
541 <artifactId>license-maven-plugin</artifactId>
542 <version>3.0</version>
544 <header>LICENSE</header>
546 <include>src/main/java/**</include>
554 <phase>process-sources</phase>
562 <distributionManagement>
564 <id>ecomp-releases</id>
565 <name>ECOMP Release Repository</name>
566 <url>${nexusproxy}/content/repositories/releases/</url>
569 <id>ecomp-snapshots</id>
570 <name>ECOMP Snapshot Repository</name>
571 <url>${nexusproxy}/content/repositories/snapshots/</url>
572 </snapshotRepository>
573 </distributionManagement>