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 </dependencyManagement>
48 some of the depedencies should probably have a scope of provided so they don't automatically become part of the final jar
54 <!-- Spring dependencies -->
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-web</artifactId>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-actuator</artifactId>
66 <groupId>org.apache.camel</groupId>
67 <artifactId>camel-restlet</artifactId>
70 <groupId>commons-logging</groupId>
71 <artifactId>commons-logging</artifactId>
77 <groupId>org.apache.camel</groupId>
78 <artifactId>camel-servlet</artifactId>
81 <groupId>commons-logging</groupId>
82 <artifactId>commons-logging</artifactId>
89 <groupId>org.apache.camel</groupId>
90 <artifactId>camel-spring-boot-dependencies</artifactId>
91 <version>${camel-spring-boot.version}</version>
96 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
97 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
98 </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
103 <groupId>org.apache.camel</groupId>
104 <artifactId>camel-spring-boot-starter</artifactId>
107 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
109 <groupId>org.apache.camel</groupId>
110 <artifactId>camel-restlet</artifactId>
114 <groupId>commons-io</groupId>
115 <artifactId>commons-io</artifactId>
118 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
120 <groupId>org.eclipse.jetty</groupId>
121 <artifactId>jetty-util</artifactId>
122 <scope>provided</scope>
126 <groupId>org.apache.camel</groupId>
127 <artifactId>camel-servlet-starter</artifactId>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-starter-actuator</artifactId>
135 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
137 <groupId>commons-cli</groupId>
138 <artifactId>commons-cli</artifactId>
139 <version>1.2</version>
142 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
146 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
147 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
148 <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
149 <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
150 <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
151 </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
152 <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
155 <!-- Utility dependencies -->
158 <groupId>com.google.guava</groupId>
159 <artifactId>guava</artifactId>
160 <version>19.0</version>
165 <groupId>org.onap.aai.logging-service</groupId>
166 <artifactId>common-logging</artifactId>
167 <version>1.2.1</version>
172 <groupId>dom4j</groupId>
173 <artifactId>dom4j</artifactId>
174 <scope>provided</scope>
178 <groupId>org.eclipse.persistence</groupId>
179 <artifactId>eclipselink</artifactId>
180 <version>2.6.2</version>
184 <groupId>org.slf4j</groupId>
185 <artifactId>slf4j-api</artifactId>
186 <scope>provided</scope>
190 <groupId>com.fasterxml.jackson.core</groupId>
191 <artifactId>jackson-core</artifactId>
192 <scope>provided</scope>
196 <groupId>org.onap.aai.aai-common</groupId>
197 <artifactId>aai-schema</artifactId>
198 <version>1.2.0</version>
202 <groupId>org.onap.aai</groupId>
203 <artifactId>rest-client</artifactId>
204 <version>1.2.0</version>
207 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
209 <groupId>org.restlet.jee</groupId>
210 <artifactId>org.restlet.ext.servlet</artifactId>
211 <version>2.1.1</version>
216 <groupId>com.openpojo</groupId>
217 <artifactId>openpojo</artifactId>
218 <version>0.8.6</version>
222 <groupId>com.google.code.gson</groupId>
223 <artifactId>gson</artifactId>
224 <scope>provided</scope>
229 <groupId>org.json</groupId>
230 <artifactId>json</artifactId>
231 <scope>provided</scope>
235 <groupId>com.fasterxml.jackson.core</groupId>
236 <artifactId>jackson-databind</artifactId>
237 <scope>provided</scope>
241 <groupId>org.onap.portal.sdk</groupId>
242 <artifactId>epsdk-fw</artifactId>
243 <version>1.3.0</version>
246 <groupId>commons-logging</groupId>
247 <artifactId>commons-logging</artifactId>
250 <groupId>log4j</groupId>
251 <artifactId>log4j</artifactId>
254 <groupId>log4j</groupId>
255 <artifactId>apache-log4j-extras</artifactId>
258 <groupId>org.slf4j</groupId>
259 <artifactId>slf4j-log4j12</artifactId>
264 <!-- Test dependencies -->
267 <groupId>org.mockito</groupId>
268 <artifactId>mockito-all</artifactId>
269 <version>1.10.19</version>
274 <groupId>org.powermock</groupId>
275 <artifactId>powermock-module-junit4</artifactId>
276 <version>1.6.2</version>
280 <groupId>org.powermock</groupId>
281 <artifactId>powermock-api-mockito</artifactId>
282 <version>1.6.2</version>
286 <groupId>org.powermock</groupId>
287 <artifactId>powermock-module-javaagent</artifactId>
288 <version>1.6.2</version>
292 <groupId>org.powermock</groupId>
293 <artifactId>powermock-module-junit4-rule-agent</artifactId>
294 <version>1.6.2</version>
299 <groupId>org.hamcrest</groupId>
300 <artifactId>hamcrest-library</artifactId>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-compiler-plugin</artifactId>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-resources-plugin</artifactId>
324 <version>2.7</version>
327 <id>copy-docker-file</id>
328 <phase>package</phase>
330 <goal>copy-resources</goal>
333 <outputDirectory>target</outputDirectory>
334 <overwrite>true</overwrite>
337 <directory>${basedir}/src/main/docker</directory>
338 <filtering>true</filtering>
340 <include>**/*</include>
344 <directory>${basedir}/src/main/scripts/</directory>
358 <groupId>org.springframework.boot</groupId>
359 <artifactId>spring-boot-maven-plugin</artifactId>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-resources-plugin</artifactId>
366 <version>2.7</version>
369 <id>copy-docker-file</id>
370 <phase>package</phase>
372 <goal>copy-resources</goal>
375 <outputDirectory>target</outputDirectory>
376 <overwrite>true</overwrite>
379 <directory>${basedir}/src/main/docker</directory>
380 <filtering>true</filtering>
382 <include>**/*</include>
386 <directory>${basedir}/src/main/bin/</directory>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-dependency-plugin</artifactId>
397 <version>3.0.0</version>
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>
543 <distributionManagement>
545 <id>ecomp-releases</id>
546 <name>ECOMP Release Repository</name>
547 <url>${nexusproxy}/content/repositories/releases/</url>
550 <id>ecomp-snapshots</id>
551 <name>ECOMP Snapshot Repository</name>
552 <url>${nexusproxy}/content/repositories/snapshots/</url>
553 </snapshotRepository>
554 </distributionManagement>