Deliver centralized role management feature
[portal.git] / ecomp-portal-BE-common / 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         <groupId>org.onap.portal</groupId>
5         <artifactId>ecompportal-be-common</artifactId>
6         <packaging>war</packaging>
7         <!-- Version number is managed manually; no Jenkins build.number -->
8         <version>1.3.0-SNAPSHOT</version>
9
10         <properties>
11                 <springframework.version>4.2.0.RELEASE</springframework.version>
12                 <hibernate.version>4.3.11.Final</hibernate.version>
13                 <eelf.version>1.0.0</eelf.version>
14                 <fasterxml.version>2.7.4</fasterxml.version>
15                 <epsdk.version>1.3.0-SNAPSHOT</epsdk.version>
16                 <encoding>UTF-8</encoding>
17                 <!-- Tests usually require some setup that maven cannot do, so skip. -->
18                 <skipTests>true</skipTests>
19                 <nexusproxy>https://nexus.onap.org</nexusproxy>
20                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
21                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
22         </properties>
23
24         <repositories>
25                 <repository>
26                         <!-- Releases repository has ECOMP release artifacts -->
27                         <id>ecomp-releases</id>
28                         <name>OpenECOMP - Release Repository</name>
29                         <url>${nexusproxy}/${releaseNexusPath}</url>
30                 </repository>
31                 <repository>
32                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
33                         <id>ecomp-snapshots</id>
34                         <name>OpenECOMP - Snapshot Repository</name>
35                         <url>${nexusproxy}/${snapshotNexusPath}</url>
36                 </repository>
37         </repositories>
38
39         <profiles>
40                 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
41                 <profile>
42                         <id>doclint-java8-disable</id>
43                         <activation>
44                                 <jdk>[1.8,)</jdk>
45                         </activation>
46                         <build>
47                                 <plugins>
48                                         <plugin>
49                                                 <groupId>org.apache.maven.plugins</groupId>
50                                                 <artifactId>maven-javadoc-plugin</artifactId>
51                                                 <configuration>
52                                                         <additionalparam>-Xdoclint:none</additionalparam>
53                                                 </configuration>
54                                         </plugin>
55                                 </plugins>
56                         </build>
57                 </profile>
58
59         </profiles>
60
61         <build>
62                 <!-- The war file name carries no version number -->
63                 <finalName>${project.artifactId}</finalName>
64
65                 <plugins>
66
67                         <plugin>
68                                 <artifactId>maven-compiler-plugin</artifactId>
69                                 <version>3.1</version>
70                                 <configuration>
71                                         <source>1.8</source>
72                                         <target>1.8</target>
73                                 </configuration>
74                         </plugin>
75
76                         <!-- Generate javadoc jar; see profile for Java 8 -->
77                         <plugin>
78                                 <groupId>org.apache.maven.plugins</groupId>
79                                 <artifactId>maven-javadoc-plugin</artifactId>
80                                 <version>2.10.3</version>
81                                 <executions>
82                                         <execution>
83                                                 <id>attach-javadocs</id>
84                                                 <goals>
85                                                         <goal>jar</goal>
86                                                 </goals>
87                                         </execution>
88                                 </executions>
89                         </plugin>
90
91                         <!-- Generate source jar -->
92                         <plugin>
93                                 <groupId>org.apache.maven.plugins</groupId>
94                                 <artifactId>maven-source-plugin</artifactId>
95                                 <version>3.0.0</version>
96                                 <executions>
97                                         <execution>
98                                                 <id>attach-sources</id>
99                                                 <goals>
100                                                         <goal>jar</goal>
101                                                 </goals>
102                                         </execution>
103                                 </executions>
104                         </plugin>
105
106                         <plugin>
107                                 <groupId>org.apache.maven.plugins</groupId>
108                                 <artifactId>maven-war-plugin</artifactId>
109                                 <version>3.0.0</version>
110                                 <configuration>
111                                         <!-- Build a jar with all the Java classes -->
112                                         <attachClasses>true</attachClasses>
113                                         <!-- Do not put any jars in the war -->
114                                         <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
115                                 </configuration>
116                         </plugin>
117                         
118                         <!-- No deployment step for this project -->
119                         <plugin>
120                                 <groupId>org.apache.maven.plugins</groupId>
121                                 <artifactId>maven-deploy-plugin</artifactId>
122                                 <version>2.8</version>
123                                 <configuration>
124                                         <skip>true</skip>
125                                 </configuration>
126                         </plugin>
127
128                 </plugins>
129
130                 <testResources>
131                         <testResource>
132                                 <directory>src/test/java</directory>
133                                 <includes>
134                                         <include>**/*Test*.*</include>
135                                 </includes>
136                         </testResource>
137                 </testResources>
138
139                 <resources>
140                         <resource>
141                                 <directory>src/main/resources</directory>
142                                 <includes>
143                                         <include>**/*</include>
144                                 </includes>
145                         </resource>
146                         <!-- picks up the applicationcodes.properties file presented in \src\ 
147                                 path -->
148                         <resource>
149                                 <directory>src/main/java</directory>
150                                 <includes>
151                                         <include>**/*.xml</include>
152                                         <include>**/*.properties</include>
153                                 </includes>
154                         </resource>
155                 </resources>
156
157         </build>
158
159         <dependencies>
160                 <dependency>
161                         <groupId>com.att.eelf</groupId>
162                         <artifactId>eelf-core</artifactId>
163                         <version>${eelf.version}</version>
164                 </dependency>
165                 <dependency>
166                         <groupId>com.google.code.gson</groupId>
167                         <artifactId>gson</artifactId>
168                         <version>2.5</version>
169                 </dependency>
170
171                 <!-- Spring -->
172                 <dependency>
173                         <groupId>org.springframework</groupId>
174                         <artifactId>spring-core</artifactId>
175                         <version>${springframework.version}</version>
176                 </dependency>
177                 <dependency>
178                         <groupId>org.springframework</groupId>
179                         <artifactId>spring-web</artifactId>
180                         <version>${springframework.version}</version>
181                 </dependency>
182                 <dependency>
183                         <groupId>org.springframework</groupId>
184                         <artifactId>spring-webmvc</artifactId>
185                         <version>${springframework.version}</version>
186                 </dependency>
187                 <dependency>
188                         <groupId>org.springframework</groupId>
189                         <artifactId>spring-tx</artifactId>
190                         <version>${springframework.version}</version>
191                 </dependency>
192                 <dependency>
193                         <groupId>org.springframework</groupId>
194                         <artifactId>spring-context-support</artifactId>
195                         <version>${springframework.version}</version>
196                 </dependency>
197                 <dependency>
198                         <groupId>org.springframework</groupId>
199                         <artifactId>spring-orm</artifactId>
200                         <version>${springframework.version}</version>
201                 </dependency>
202                 <dependency>
203                         <groupId>org.springframework</groupId>
204                         <artifactId>spring-test</artifactId>
205                         <version>${springframework.version}</version>
206                 </dependency>
207                 <dependency>
208                         <groupId>org.springframework.boot</groupId>
209                         <artifactId>spring-boot-starter</artifactId>
210                         <version>1.3.0.RELEASE</version>
211                         <exclusions>
212                                 <exclusion>
213                                         <groupId>org.slf4j</groupId>
214                                         <artifactId>log4j-over-slf4j</artifactId>
215                                 </exclusion>
216                                 <exclusion>
217                                         <groupId>ch.qos.logback</groupId>
218                                         <artifactId>logback-classic</artifactId>
219                                 </exclusion>
220                         </exclusions>
221                 </dependency>
222
223                 <!-- Hibernate -->
224                 <dependency>
225                         <groupId>org.hibernate</groupId>
226                         <artifactId>hibernate-core</artifactId>
227                         <version>${hibernate.version}</version>
228                 </dependency>
229                 <dependency>
230                         <groupId>org.hibernate</groupId>
231                         <artifactId>hibernate-validator</artifactId>
232                         <version>5.1.3.Final</version>
233                 </dependency>
234
235                 <!-- hibernate-core depends on dom4j, which has optional dependencies. 
236                         On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies 
237                         in the war. Workaround: exclude them explicitly. -->
238                 <dependency>
239                         <groupId>dom4j</groupId>
240                         <artifactId>dom4j</artifactId>
241                         <version>1.6.1</version>
242                         <exclusions>
243                                 <exclusion>
244                                         <groupId>jaxme</groupId>
245                                         <artifactId>jaxme-api</artifactId>
246                                 </exclusion>
247                                 <exclusion>
248                                         <groupId>jaxen</groupId>
249                                         <artifactId>jaxen</artifactId>
250                                 </exclusion>
251                                 <exclusion>
252                                         <groupId>msv</groupId>
253                                         <artifactId>xsdlib</artifactId>
254                                 </exclusion>
255                                 <exclusion>
256                                         <groupId>msv</groupId>
257                                         <artifactId>relaxngDatatype</artifactId>
258                                 </exclusion>
259                                 <exclusion>
260                                         <groupId>pull-parser</groupId>
261                                         <artifactId>pull-parser</artifactId>
262                                 </exclusion>
263                                 <exclusion>
264                                         <groupId>xpp3</groupId>
265                                         <artifactId>xpp3</artifactId>
266                                 </exclusion>
267                                 <exclusion>
268                                         <groupId>stax</groupId>
269                                         <artifactId>stax-api</artifactId>
270                                 </exclusion>
271                         </exclusions>
272                 </dependency>
273
274                 <!-- Servlet+JSP+JSTL -->
275                 <dependency>
276                         <groupId>javax.servlet</groupId>
277                         <artifactId>javax.servlet-api</artifactId>
278                         <version>3.1.0</version>
279                 </dependency>
280                 <dependency>
281                         <groupId>javax.servlet.jsp</groupId>
282                         <artifactId>javax.servlet.jsp-api</artifactId>
283                         <version>2.3.1</version>
284                 </dependency>
285                 <dependency>
286                         <groupId>javax.servlet</groupId>
287                         <artifactId>jstl</artifactId>
288                         <version>1.2</version>
289                 </dependency>
290
291                 <!-- Oracle JDBC driver -->
292 <!--            <dependency>
293                         <groupId>com.oracle</groupId>
294                         <artifactId>ojdbc6</artifactId>
295                         <version>11.2.0.4</version>
296                 </dependency> -->
297                 <!-- Apache Tiles -->
298                 <dependency>
299                         <groupId>org.apache.tiles</groupId>
300                         <artifactId>tiles-core</artifactId>
301                         <version>3.0.5</version>
302                 </dependency>
303                 <dependency>
304                         <groupId>org.apache.tiles</groupId>
305                         <artifactId>tiles-jsp</artifactId>
306                         <version>3.0.5</version>
307                 </dependency>
308                 <dependency>
309                         <groupId>org.apache.cxf</groupId>
310                         <artifactId>cxf-rt-rs-client</artifactId>
311                         <version>3.0.0-milestone1</version>
312                 </dependency>
313
314                 <!-- Mapper -->
315                 <dependency>
316                         <groupId>com.fasterxml.jackson.core</groupId>
317                         <artifactId>jackson-annotations</artifactId>
318                         <version>${fasterxml.version}</version>
319                 </dependency>
320                 <dependency>
321                         <groupId>com.fasterxml.jackson.core</groupId>
322                         <artifactId>jackson-core</artifactId>
323                         <version>${fasterxml.version}</version>
324                 </dependency>
325                 <dependency>
326                         <groupId>com.fasterxml.jackson.core</groupId>
327                         <artifactId>jackson-databind</artifactId>
328                         <version>${fasterxml.version}</version>
329                 </dependency>
330
331                 <dependency>
332                         <groupId>postgresql</groupId>
333                         <artifactId>postgresql</artifactId>
334                         <version>9.1-901-1.jdbc4</version>
335                 </dependency>
336
337                 <!-- Elastic Search -->
338                 <dependency>
339                         <groupId>org.elasticsearch</groupId>
340                         <artifactId>elasticsearch</artifactId>
341                         <version>2.2.0</version>
342                 </dependency>
343                 <dependency>
344                         <groupId>io.searchbox</groupId>
345                         <artifactId>jest</artifactId>
346                         <version>2.0.0</version>
347                 </dependency>
348
349                 <dependency>
350                         <groupId>org.apache.jcs</groupId>
351                         <artifactId>jcs</artifactId>
352                         <version>1.3</version>
353                         <exclusions>
354                                 <exclusion>
355                                         <groupId>*</groupId>
356                                         <artifactId>*</artifactId>
357                                 </exclusion>
358                         </exclusions>
359                         <!-- -->
360                 </dependency>
361
362                 <dependency>
363                         <groupId>org.apache.tomcat</groupId>
364                         <artifactId>tomcat-websocket</artifactId>
365                         <version>8.0.28</version>
366                         <scope>provided</scope>
367                 </dependency>
368
369                 <dependency>
370                         <groupId>concurrent</groupId>
371                         <artifactId>concurrent</artifactId>
372                         <version>1.3.2</version>
373                         <exclusions>
374                                 <exclusion>
375                                         <groupId>*</groupId>
376                                         <artifactId>*</artifactId>
377                                 </exclusion>
378                         </exclusions>
379                 </dependency>
380
381
382                 <dependency>
383                         <groupId>commons-lang</groupId>
384                         <artifactId>commons-lang</artifactId>
385                         <version>2.6</version>
386                 </dependency>
387                 <!-- for generating excel/csv/excelx -->
388                 <dependency>
389                         <groupId>org.apache.poi</groupId>
390                         <artifactId>poi</artifactId>
391                         <version>3.5-FINAL</version>
392                         <exclusions>
393                                 <exclusion>
394                                         <groupId>commons-logging</groupId>
395                                         <artifactId>commons-logging</artifactId>
396                                 </exclusion>
397                                 <exclusion>
398                                         <groupId>log4j</groupId>
399                                         <artifactId>log4j</artifactId>
400                                 </exclusion>
401                         </exclusions>
402                 </dependency>
403                 <dependency>
404                         <groupId>org.apache.poi</groupId>
405                         <artifactId>poi-ooxml</artifactId>
406                         <version>3.5-FINAL</version>
407                         <exclusions>
408                                 <exclusion>
409                                         <groupId>commons-logging</groupId>
410                                         <artifactId>commons-logging</artifactId>
411                                 </exclusion>
412                                 <exclusion>
413                                         <groupId>log4j</groupId>
414                                         <artifactId>log4j</artifactId>
415                                 </exclusion>
416                         </exclusions>
417                 </dependency>
418                 <dependency>
419                         <groupId>org.apache.poi</groupId>
420                         <artifactId>poi-scratchpad</artifactId>
421                         <version>3.5-FINAL</version>
422                         <exclusions>
423                                 <exclusion>
424                                         <groupId>commons-logging</groupId>
425                                         <artifactId>commons-logging</artifactId>
426                                 </exclusion>
427                                 <exclusion>
428                                         <groupId>log4j</groupId>
429                                         <artifactId>log4j</artifactId>
430                                 </exclusion>
431                         </exclusions>
432                 </dependency>
433                 <dependency>
434                         <groupId>org.apache.poi</groupId>
435                         <artifactId>poi-contrib</artifactId>
436                         <version>3.5-FINAL</version>
437                         <exclusions>
438                                 <exclusion>
439                                         <groupId>commons-logging</groupId>
440                                         <artifactId>commons-logging</artifactId>
441                                 </exclusion>
442                                 <exclusion>
443                                         <groupId>log4j</groupId>
444                                         <artifactId>log4j</artifactId>
445                                 </exclusion>
446                         </exclusions>
447                 </dependency>
448
449                 <!-- for generating PDF -->
450                 <dependency>
451                         <groupId>com.lowagie</groupId>
452                         <artifactId>itext</artifactId>
453                         <version>2.0.8</version>
454                 </dependency>
455                 <!-- Quartz -->
456                 <dependency>
457                         <groupId>org.quartz-scheduler</groupId>
458                         <artifactId>quartz</artifactId>
459                         <version>2.2.1</version>
460                         <exclusions>
461                                 <!-- SDK brings a new version of c3p0 -->
462                                 <exclusion>
463                                         <groupId>c3p0</groupId>
464                                         <artifactId>c3p0</artifactId>
465                                 </exclusion>
466                         </exclusions>
467                 </dependency>
468
469                 <dependency>
470                         <groupId>org.bouncycastle</groupId>
471                         <artifactId>bcprov-jdk16</artifactId>
472                         <version>1.45</version>
473                 </dependency>
474
475                 <dependency>
476                         <groupId>commons-codec</groupId>
477                         <artifactId>commons-codec</artifactId>
478                         <version>1.9</version>
479                 </dependency>
480
481                 <dependency>
482                         <groupId>com.att.nsa</groupId>
483                         <artifactId>cambriaClient</artifactId>
484                         <version>0.0.1</version>
485                         <exclusions>
486                                 <exclusion>
487                                         <groupId>commons-logging</groupId>
488                                         <artifactId>commons-logging</artifactId>
489                                 </exclusion>
490                                 <exclusion>
491                                         <groupId>log4j</groupId>
492                                         <artifactId>log4j</artifactId>
493                                 </exclusion>
494                                 <exclusion>
495                                         <groupId>log4j</groupId>
496                                         <artifactId>apache-log4j-extras</artifactId>
497                                 </exclusion>
498                                 <exclusion>
499                                         <groupId>org.slf4j</groupId>
500                                         <artifactId>slf4j-log4j12</artifactId>
501                                 </exclusion>
502                         </exclusions>
503                 </dependency>
504
505                 <dependency>
506                         <groupId>org.onap.portal.sdk</groupId>
507                         <artifactId>epsdk-fw</artifactId>
508                         <version>${epsdk.version}</version>
509                         <exclusions>
510                                 <exclusion>
511                                         <groupId>commons-logging</groupId>
512                                         <artifactId>commons-logging</artifactId>
513                                 </exclusion>
514                                 <exclusion>
515                                         <groupId>log4j</groupId>
516                                         <artifactId>log4j</artifactId>
517                                 </exclusion>
518                                 <exclusion>
519                                         <groupId>log4j</groupId>
520                                         <artifactId>apache-log4j-extras</artifactId>
521                                 </exclusion>
522                                 <exclusion>
523                                         <groupId>org.slf4j</groupId>
524                                         <artifactId>slf4j-log4j12</artifactId>
525                                 </exclusion>
526                         </exclusions>
527                 </dependency>
528                 <dependency>
529                         <groupId>org.onap.portal.sdk</groupId>
530                         <artifactId>epsdk-core</artifactId>
531                         <version>${epsdk.version}</version>
532                         <exclusions>
533                                 <exclusion>
534                                         <groupId>mysql</groupId>
535                                         <artifactId>mysql-connector-java</artifactId>
536                                 </exclusion>
537                         </exclusions>
538                 </dependency>
539                 <dependency>
540                         <groupId>org.onap.portal.sdk</groupId>
541                         <artifactId>epsdk-app-common</artifactId>
542                         <version>${epsdk.version}</version>
543                 </dependency>
544                 <dependency>
545                         <groupId>org.onap.portal.sdk</groupId>
546                         <artifactId>epsdk-workflow</artifactId>
547                         <version>${epsdk.version}</version>
548                 </dependency>
549
550                 <!-- Raptor required Libraries -->
551                 <!-- for static charts -->
552                 <dependency>
553                         <groupId>org.onap.portal.sdk</groupId>
554                         <artifactId>epsdk-analytics</artifactId>
555                         <version>${epsdk.version}</version>
556                 </dependency>
557
558                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
559                         scope here. -->
560                 <dependency>
561                         <groupId>org.apache.httpcomponents</groupId>
562                         <artifactId>httpclient</artifactId>
563                         <version>4.5.2</version>
564                 </dependency>
565
566                 <!-- for testing -->
567                 <dependency>
568                         <groupId>junit</groupId>
569                         <artifactId>junit</artifactId>
570                         <version>4.11</version>
571                         <scope>test</scope>
572                 </dependency>
573
574                 <dependency>
575                         <groupId>commons-beanutils</groupId>
576                         <artifactId>commons-beanutils</artifactId>
577                         <version>1.9.2</version>
578                 </dependency>
579
580                 <dependency>
581                         <groupId>com.ecwid.consul</groupId>
582                         <artifactId>consul-api</artifactId>
583                         <version>1.2.1</version>
584                 </dependency>
585
586                 <dependency>
587                         <groupId>com.orbitz.consul</groupId>
588                         <artifactId>consul-client</artifactId>
589                         <version>0.13.8</version>
590                 </dependency>
591
592                 <dependency>
593                         <groupId>commons-fileupload</groupId>
594                         <artifactId>commons-fileupload</artifactId>
595                         <version>1.3</version>
596                 </dependency>
597
598                 <dependency>
599                         <groupId>io.springfox</groupId>
600                         <artifactId>springfox-swagger2</artifactId>
601                         <version>2.5.0</version>
602                 </dependency>
603
604                 <dependency>
605                         <groupId>io.springfox</groupId>
606                         <artifactId>springfox-swagger-ui</artifactId>
607                         <version>2.5.0</version>
608                 </dependency>
609
610         </dependencies>
611
612         <!-- No deployment descriptor. -->
613
614 </project>