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