Merge "Fix servlet response flows"
[aai/sparky-be.git] / sparkybe-onap-service / pom.xml
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>
3
4         <parent>
5                 <groupId>org.springframework.boot</groupId>
6                 <artifactId>spring-boot-starter-parent</artifactId>
7                 <version>1.5.10.RELEASE</version>
8         </parent>
9
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>
14
15         <properties>
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.2.0</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>
26         </properties>
27
28
29
30
31         <dependencyManagement>
32                 <dependencies>
33
34                         <!-- Camel BOM -->
35                         <dependency>
36                                 <groupId>org.apache.camel</groupId>
37                                 <artifactId>camel-spring-boot-dependencies</artifactId>
38                                 <version>${camel-spring-boot.version}</version>
39                                 <type>pom</type>
40                                 <scope>import</scope>
41                         </dependency>
42
43                 <dependency>
44                         <groupId>ch.qos.logback</groupId>
45                         <artifactId>logback-classic</artifactId>
46                         <version>1.2.1</version>
47                 </dependency>
48
49
50                 </dependencies>
51         </dependencyManagement>
52
53 <!--
54
55 some of the depedencies should probably have a scope of provided so they don't automatically become part of the final jar
56
57  -->
58
59         <dependencies>
60
61                 <!-- Spring dependencies -->
62                 <dependency>
63                         <groupId>org.springframework.boot</groupId>
64                         <artifactId>spring-boot-starter-web</artifactId>
65                 </dependency>
66
67                 <dependency>
68                         <groupId>org.springframework.boot</groupId>
69                         <artifactId>spring-boot-starter-actuator</artifactId>
70                 </dependency>
71
72                 <dependency>
73                         <groupId>org.apache.camel</groupId>
74                         <artifactId>camel-restlet</artifactId>
75                         <exclusions>
76                                 <exclusion>
77                                         <groupId>commons-logging</groupId>
78                                         <artifactId>commons-logging</artifactId>
79                                 </exclusion>
80                         </exclusions>
81                 </dependency>
82
83                 <dependency>
84                         <groupId>org.apache.camel</groupId>
85                         <artifactId>camel-servlet</artifactId>
86                         <exclusions>
87                                 <exclusion>
88                                         <groupId>commons-logging</groupId>
89                                         <artifactId>commons-logging</artifactId>
90                                 </exclusion>
91                         </exclusions>
92                 </dependency>
93
94                 <dependency>
95                         <groupId>org.springframework.boot</groupId>
96                         <artifactId>spring-boot-starter-logging</artifactId>
97                         <exclusions>
98                                 <exclusion>
99                                 <groupId>ch.qos.logback</groupId>
100                                 <artifactId>logback-classic</artifactId>
101                                 </exclusion>
102                         </exclusions>
103                 </dependency>
104
105
106                 <!-- Camel BOM -->
107                 <dependency>
108                         <groupId>org.apache.camel</groupId>
109                         <artifactId>camel-spring-boot-dependencies</artifactId>
110                         <version>${camel-spring-boot.version}</version>
111                         <type>pom</type>
112                         <scope>import</scope>
113                 </dependency>
114
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>
118                         </dependency> -->
119
120                 <!-- Camel -->
121                 <dependency>
122                         <groupId>org.apache.camel</groupId>
123                         <artifactId>camel-spring-boot-starter</artifactId>
124                 </dependency>
125
126                 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
127                 <dependency>
128                         <groupId>org.apache.camel</groupId>
129                         <artifactId>camel-restlet</artifactId>
130                 </dependency>
131
132                 <dependency>
133                         <groupId>commons-io</groupId>
134                         <artifactId>commons-io</artifactId>
135                         </dependency>
136
137                 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
138                 <dependency>
139                         <groupId>org.eclipse.jetty</groupId>
140                         <artifactId>jetty-util</artifactId>
141                         <scope>provided</scope>
142                 </dependency>
143
144                 <dependency>
145                         <groupId>org.apache.camel</groupId>
146                         <artifactId>camel-servlet-starter</artifactId>
147                 </dependency>
148
149                 <dependency>
150                         <groupId>org.springframework.boot</groupId>
151                         <artifactId>spring-boot-starter-actuator</artifactId>
152                 </dependency>
153
154                 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
155                 <dependency>
156                         <groupId>commons-cli</groupId>
157                         <artifactId>commons-cli</artifactId>
158                         <version>1.2</version>
159                 </dependency>
160
161                 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
162                         </dependency> -->
163
164
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>
172                         </dependency> -->
173
174                 <!-- Utility dependencies -->
175
176                 <dependency>
177                         <groupId>com.google.guava</groupId>
178                         <artifactId>guava</artifactId>
179                         <version>19.0</version>
180                 </dependency>
181
182
183                 <dependency>
184                         <groupId>org.onap.aai.logging-service</groupId>
185                         <artifactId>common-logging</artifactId>
186                         <version>1.2.2</version>
187                 </dependency>
188
189
190                 <dependency>
191                         <groupId>dom4j</groupId>
192                         <artifactId>dom4j</artifactId>
193                         <scope>provided</scope>
194                 </dependency>
195
196                 <dependency>
197                         <groupId>org.eclipse.persistence</groupId>
198                         <artifactId>eclipselink</artifactId>
199                         <version>2.6.2</version>
200                 </dependency>
201
202                 <dependency>
203                         <groupId>org.slf4j</groupId>
204                         <artifactId>slf4j-api</artifactId>
205                         <scope>provided</scope>
206                 </dependency>
207
208                 <dependency>
209                         <groupId>com.fasterxml.jackson.core</groupId>
210                         <artifactId>jackson-core</artifactId>
211                         <scope>provided</scope>
212                 </dependency>
213
214                 <dependency>
215                         <groupId>org.onap.aai.aai-common</groupId>
216                         <artifactId>aai-schema</artifactId>
217                         <version>1.2.2-SNAPSHOT</version>
218                 </dependency>
219
220                 <dependency>
221                         <groupId>org.onap.aai</groupId>
222                         <artifactId>rest-client</artifactId>
223                         <version>1.2.1</version>
224                 </dependency>
225
226                 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
227                 <dependency>
228                         <groupId>org.restlet.jee</groupId>
229                         <artifactId>org.restlet.ext.servlet</artifactId>
230                         <version>2.1.1</version>
231                 </dependency>
232
233
234                 <dependency>
235                         <groupId>com.openpojo</groupId>
236                         <artifactId>openpojo</artifactId>
237                         <version>0.8.6</version>
238                 </dependency>
239
240                 <dependency>
241                         <groupId>com.google.code.gson</groupId>
242                         <artifactId>gson</artifactId>
243                         <scope>provided</scope>
244                 </dependency>
245
246
247                 <dependency>
248                         <groupId>org.json</groupId>
249                         <artifactId>json</artifactId>
250                         <scope>provided</scope>
251                 </dependency>
252
253                 <dependency>
254                         <groupId>com.fasterxml.jackson.core</groupId>
255                         <artifactId>jackson-databind</artifactId>
256                         <scope>provided</scope>
257                 </dependency>
258
259                 <dependency>
260                         <groupId>org.onap.portal.sdk</groupId>
261                         <artifactId>epsdk-fw</artifactId>
262                         <version>1.3.0</version>
263                         <exclusions>
264                                 <exclusion>
265                                         <groupId>commons-logging</groupId>
266                                         <artifactId>commons-logging</artifactId>
267                                 </exclusion>
268                                 <exclusion>
269                                         <groupId>log4j</groupId>
270                                         <artifactId>log4j</artifactId>
271                                 </exclusion>
272                                 <exclusion>
273                                         <groupId>log4j</groupId>
274                                         <artifactId>apache-log4j-extras</artifactId>
275                                 </exclusion>
276                                 <exclusion>
277                                         <groupId>org.slf4j</groupId>
278                                         <artifactId>slf4j-log4j12</artifactId>
279                                 </exclusion>
280                         </exclusions>
281                 </dependency>
282
283                 <!-- Test dependencies -->
284
285                 <dependency>
286                         <groupId>org.mockito</groupId>
287                         <artifactId>mockito-all</artifactId>
288                         <version>1.10.19</version>
289                         <scope>test</scope>
290                 </dependency>
291
292                 <dependency>
293                         <groupId>org.powermock</groupId>
294                         <artifactId>powermock-module-junit4</artifactId>
295                         <version>1.6.2</version>
296                         <scope>test</scope>
297                 </dependency>
298                 <dependency>
299                         <groupId>org.powermock</groupId>
300                         <artifactId>powermock-api-mockito</artifactId>
301                         <version>1.6.2</version>
302                         <scope>test</scope>
303                 </dependency>
304                 <dependency>
305                         <groupId>org.powermock</groupId>
306                         <artifactId>powermock-module-javaagent</artifactId>
307                         <version>1.6.2</version>
308                         <scope>test</scope>
309                 </dependency>
310                 <dependency>
311                         <groupId>org.powermock</groupId>
312                         <artifactId>powermock-module-junit4-rule-agent</artifactId>
313                         <version>1.6.2</version>
314                         <scope>test</scope>
315                 </dependency>
316
317                 <dependency>
318                         <groupId>org.hamcrest</groupId>
319                         <artifactId>hamcrest-library</artifactId>
320                         <scope>test</scope>
321                 </dependency>
322
323         </dependencies>
324
325         <build>
326
327                 <pluginManagement>
328                         <plugins>
329
330
331                                 <plugin>
332                                         <groupId>org.apache.maven.plugins</groupId>
333                                         <artifactId>maven-compiler-plugin</artifactId>
334                                         <configuration>
335                                                 <source>1.8</source>
336                                                 <target>1.8</target>
337                                         </configuration>
338                                 </plugin>
339
340 <!--                            <plugin>
341                                         <groupId>org.apache.maven.plugins</groupId>
342                                         <artifactId>maven-resources-plugin</artifactId>
343                                         <version>2.7</version>
344                                         <executions>
345                                                 <execution>
346                                                         <id>copy-docker-file</id>
347                                                         <phase>package</phase>
348                                                         <goals>
349                                                                 <goal>copy-resources</goal>
350                                                         </goals>
351                                                         <configuration>
352                                                                 <outputDirectory>target</outputDirectory>
353                                                                 <overwrite>true</overwrite>
354                                                                 <resources>
355                                                                         <resource>
356                                                                                 <directory>${basedir}/src/main/docker</directory>
357                                                                                 <filtering>true</filtering>
358                                                                                 <includes>
359                                                                                         <include>**/*</include>
360                                                                                 </includes>
361                                                                         </resource>
362                                                                         <resource>
363                                                                                 <directory>${basedir}/src/main/scripts/</directory>
364                                                                         </resource>
365                                                                 </resources>
366                                                         </configuration>
367                                                 </execution>
368                                         </executions>
369                                 </plugin> -->
370
371                         </plugins>
372
373                 </pluginManagement>
374
375                 <plugins>
376 <!--                    <plugin>
377                                 <groupId>org.springframework.boot</groupId>
378                                 <artifactId>spring-boot-maven-plugin</artifactId>
379                         </plugin>
380  -->
381
382         <!--            <plugin>
383                                 <groupId>org.apache.maven.plugins</groupId>
384                                 <artifactId>maven-resources-plugin</artifactId>
385                                 <version>2.7</version>
386                                 <executions>
387                                         <execution>
388                                                 <id>copy-docker-file</id>
389                                                 <phase>package</phase>
390                                                 <goals>
391                                                         <goal>copy-resources</goal>
392                                                 </goals>
393                                                 <configuration>
394                                                         <outputDirectory>target</outputDirectory>
395                                                         <overwrite>true</overwrite>
396                                                         <resources>
397                                                                 <resource>
398                                                                         <directory>${basedir}/src/main/docker</directory>
399                                                                         <filtering>true</filtering>
400                                                                         <includes>
401                                                                                 <include>**/*</include>
402                                                                         </includes>
403                                                                 </resource>
404                                                                 <resource>
405                                                                         <directory>${basedir}/src/main/bin/</directory>
406                                                                 </resource>
407                                                         </resources>
408                                                 </configuration>
409                                         </execution>
410                                 </executions>
411                         </plugin> -->
412
413 <!--                    <plugin>
414                                 <groupId>org.apache.maven.plugins</groupId>
415                                 <artifactId>maven-dependency-plugin</artifactId>
416                                 <version>3.0.0</version>
417                                 <executions>
418                                         <execution>
419                                                 <id>copy-installed</id>
420                                                 <phase>install</phase>
421                                                 <goals>
422                                                         <goal>copy</goal>
423                                                 </goals>
424                                                 <configuration>
425                                                         <artifactItems>
426                                                                 <artifactItem>
427                                                                         <groupId>${frontEndGroupdId}</groupId>
428                                                                         <artifactId>${frontEndArtifactId}</artifactId>
429                                                                         <version>${frontEndVersion}</version>
430                                                                         <type>war</type>
431                                                                         <outputDirectory>${basedir}/target/</outputDirectory>
432                                                                         <destFileName>aai.war</destFileName>
433                                                                 </artifactItem>
434                                                         </artifactItems>
435                                                 </configuration>
436                                         </execution>
437                                 </executions>
438                         </plugin>
439  -->
440                         <plugin>
441                                 <groupId>org.jacoco</groupId>
442                                 <artifactId>jacoco-maven-plugin</artifactId>
443                                 <version>${version.jacoco.maven.plugin}</version>
444                                 <executions>
445                                         <execution>
446                                                 <id>prepare-agent</id>
447                                                 <goals>
448                                                         <goal>prepare-agent</goal>
449                                                 </goals>
450                                         </execution>
451                                         <execution>
452                                                 <id>report</id>
453                                                 <phase>package</phase>
454                                                 <goals>
455                                                         <goal>report</goal>
456                                                 </goals>
457                                         </execution>
458                                 </executions>
459                         </plugin>
460
461 <!--                    <plugin>
462                                 <groupId>org.codehaus.mojo</groupId>
463                                 <artifactId>cobertura-maven-plugin</artifactId>
464                                 <executions>
465                                         <execution>
466                                                 <phase />
467                                         </execution>
468                                 </executions>
469                         </plugin>
470  -->
471                         <plugin>
472                                 <groupId>org.apache.maven.plugins</groupId>
473                                 <artifactId>maven-site-plugin</artifactId>
474                                 <configuration>
475                                         <reportPlugins>
476                                                 <plugin>
477                                                         <groupId>org.apache.maven.plugins</groupId>
478                                                         <artifactId>maven-checkstyle-plugin</artifactId>
479                                                         <version>2.17</version>
480                                                         <reportSets>
481                                                                 <reportSet>
482                                                                         <reports>
483                                                                                 <report>checkstyle</report>
484                                                                         </reports>
485                                                                 </reportSet>
486                                                         </reportSets>
487                                                 </plugin>
488                                         </reportPlugins>
489                                 </configuration>
490                         </plugin>
491
492                 <!--    <plugin>
493                                 <groupId>org.apache.maven.plugins</groupId>
494                                 <artifactId>maven-resources-plugin</artifactId>
495                                 <version>2.7</version>
496                                 <executions>
497                                         <execution>
498                                                 <id>copy-docker-file</id>
499                                                 <phase>package</phase>
500                                                 <goals>
501                                                         <goal>copy-resources</goal>
502                                                 </goals>
503                                                 <configuration>
504                                                         <outputDirectory>target</outputDirectory>
505                                                         <overwrite>true</overwrite>
506                                                         <resources>
507                                                                 <resource>
508                                                                         <directory>${basedir}/src/main/docker</directory>
509                                                                         <filtering>true</filtering>
510                                                                         <includes>
511                                                                                 <include>**/*</include>
512                                                                         </includes>
513                                                                 </resource>
514                                                                 <resource>
515                                                                         <directory>${basedir}/src/main/scripts/</directory>
516                                                                 </resource>
517                                                         </resources>
518                                                 </configuration>
519                                         </execution>
520                                 </executions>
521                         </plugin> -->
522
523 <!--                    <plugin>
524                                 <groupId>com.spotify</groupId>
525                                 <artifactId>docker-maven-plugin</artifactId>
526                                 <version>0.4.11</version>
527                                 <configuration>
528                                         <verbose>true</verbose>
529                                         <serverId>docker-hub</serverId>
530                                         <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
531                                         <dockerDirectory>${docker.location}</dockerDirectory>
532                                         <imageTags>
533                                                 <imageTag>latest</imageTag>
534                                         </imageTags>
535                                         <forceTags>true</forceTags>
536                                 </configuration>
537                         </plugin> -->
538                         <!-- license plugin -->
539 <!--                    <plugin>
540                                 <groupId>com.mycila</groupId>
541                                 <artifactId>license-maven-plugin</artifactId>
542                                 <version>3.0</version>
543                                 <configuration>
544                                         <header>LICENSE</header>
545                                         <includes>
546                                                 <include>src/main/java/**</include>
547                                         </includes>
548                                 </configuration>
549                                 <executions>
550                                         <execution>
551                                                 <goals>
552                                                         <goal>format</goal>
553                                                 </goals>
554                                                 <phase>process-sources</phase>
555                                         </execution>
556                                 </executions>
557                         </plugin>
558  -->
559                 </plugins>
560         </build>
561
562                 <distributionManagement>
563         <repository>
564             <id>ecomp-releases</id>
565             <name>ECOMP Release Repository</name>
566             <url>${nexusproxy}/content/repositories/releases/</url>
567         </repository>
568         <snapshotRepository>
569             <id>ecomp-snapshots</id>
570             <name>ECOMP Snapshot Repository</name>
571             <url>${nexusproxy}/content/repositories/snapshots/</url>
572         </snapshotRepository>
573     </distributionManagement>
574
575 </project>