8b38964127712eb1bfacf8bb83c9f1494283c83a
[portal.git] / ecomp-portal-BE / 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.openecomp.portal</groupId>
5         <artifactId>ecompportal</artifactId>
6         <packaging>war</packaging>
7         <version>1.1.0-SNAPSHOT</version>
8
9         <properties>
10                 <springframework.version>4.2.0.RELEASE</springframework.version>
11                 <hibernate.version>4.3.11.Final</hibernate.version>
12                 <eelf.version>0.0.1</eelf.version>
13                 <projectversion>1.1.0-SNAPSHOT</projectversion>
14                 <encoding>UTF-8</encoding>
15                 <!-- Tests usually require some setup that maven cannot do, so skip. -->
16                 <skiptests>false</skiptests>
17                 <sonar.exclusions>**.js</sonar.exclusions>
18         </properties>
19         
20         <reporting>
21         <plugins>
22             <plugin>
23                 <groupId>org.apache.maven.plugins</groupId>
24                 <artifactId>maven-javadoc-plugin</artifactId>
25                 <version>2.10.4</version>
26                 <configuration>
27                     <failOnError>false</failOnError>
28                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
29                     <docletArtifact>
30                         <groupId>org.umlgraph</groupId>
31                         <artifactId>umlgraph</artifactId>
32                         <version>5.6</version>
33                     </docletArtifact>
34                     <additionalparam>-views</additionalparam>
35                     <useStandardDocletOptions>true</useStandardDocletOptions>
36                 </configuration>
37             </plugin>
38         </plugins>
39     </reporting>
40         <distributionManagement>
41                <site>
42                  <id>nexus</id>
43                  <url>dav:https://ecomp-nexus:8443/repository/portal-javadoc/${projectversion}</url>
44                </site>
45         </distributionManagement>
46         <repositories>
47                 <repository>
48                         <!-- Releases repository has ECOMP release artifacts -->
49                         <id>ecomp-releases</id>
50                         <name>OpenECOMP - Release Repository</name>
51                         <url>https://nexus.openecomp.org/content/repositories/releases/</url>
52                 </repository>
53                 <repository>
54                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
55                         <id>ecomp-snapshots</id>
56                         <name>OpenECOMP - Snapshot Repository</name>
57                         <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
58                 </repository>
59                 <repository>
60                         <!-- Staging repository has ECOMP staging artifacts -->
61                         <id>ecomp-staging</id>
62                         <name>OpenECOMP - Staging Repository</name>
63                         <url>https://nexus.openecomp.org/content/repositories/staging/</url>
64                 </repository>
65                 <repository>
66                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
67                         <id>oss-snapshots</id>
68                         <name>oss Central - Snapshots</name>
69                         <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
70                 </repository>
71                 <repository>
72             <id>central</id>
73             <name>Maven 2 repository 2</name>
74             <url>http://repo2.maven.org/maven2/</url>
75         </repository>
76         </repositories>
77
78         <build>
79                 <sourceDirectory>src/main/java</sourceDirectory>
80                 <finalName>ecompportal</finalName>
81
82                 <plugins>
83                         <plugin>
84                                 <groupId>org.apache.maven.plugins</groupId>
85                                 <artifactId>maven-deploy-plugin</artifactId>
86                                 <version>2.8</version>
87                                 <configuration>
88                                         <skip>true</skip>
89                                 </configuration>
90                         </plugin>
91                          <plugin>
92                                 <groupId>org.codehaus.mojo</groupId>
93                                 <artifactId>sonar-maven-plugin</artifactId>
94                                 <version>3.2</version>
95                         </plugin>
96                         <plugin>
97                                <groupId>org.apache.maven.plugins</groupId>
98                                <artifactId>maven-site-plugin</artifactId>
99                                <version>3.6</version>
100                                <dependencies>
101                                  <dependency>
102                                    <groupId>org.apache.maven.wagon</groupId>
103                                    <artifactId>wagon-webdav-jackrabbit</artifactId>
104                                    <version>2.10</version>
105                                  </dependency>
106                                </dependencies>
107             </plugin>
108                         <plugin>
109                                 <artifactId>maven-compiler-plugin</artifactId>
110                                 <version>3.1</version>
111                                 <configuration>
112                                         <source>1.8</source>
113                                         <target>1.8</target>
114                                 </configuration>
115                         </plugin>
116                         
117                         <plugin>
118                                 <artifactId>maven-war-plugin</artifactId>
119                                 <version>2.6</version>
120                                 <configuration>
121                                   <warSourceDirectory>war</warSourceDirectory>
122                                   <failOnMissingWebXml>false</failOnMissingWebXml> 
123                                   <archive>
124                                                 <manifest>
125                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
126                                                 </manifest>
127                                                 <manifestEntries>
128                                                         <Build-Number>${build.number}</Build-Number>
129                                                         <Build-Time>${maven.build.timestamp}</Build-Time>
130                                                 </manifestEntries>
131                                   </archive>
132                                 </configuration>
133                         </plugin>
134                 
135                         
136                         <plugin>
137                  <artifactId>maven-resources-plugin</artifactId>
138                  <version>3.0.1</version>
139                  <!--
140                        Your own property files can be placed in ecomp-portal-be/../../overrides directory and they 
141                        will override the generic source controlled versions at build time allowing
142                        you to test locally with your own settings.
143                   -->
144                  <executions>
145                      <execution>
146                         <id>copy-custom-properties1</id>
147                         <phase>process-resources</phase>
148                         <goals>
149                             <goal>copy-resources</goal>
150                         </goals>
151                         <configuration>
152                             <overwrite>true</overwrite>
153                             <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
154                             <resources>
155                                 <resource>
156                                     <directory>${basedir}/../../overrides</directory>
157                                     <includes>
158                                         <include>system.properties</include>
159                                     </includes>
160                                 </resource>
161                             </resources>
162                         </configuration>
163                      </execution>
164                      <execution>
165                         <id>copy-custom-properties2</id>
166                         <phase>process-resources</phase>
167                         <goals>
168                             <goal>copy-resources</goal>
169                         </goals>
170                         <configuration>
171                                 <overwrite>true</overwrite>
172                                 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
173                                 <resources>
174                                     <resource>
175                                         <directory>${basedir}/../../overrides</directory>
176                                         <includes>
177                                             <include>fusion.properties</include>
178                                         </includes>
179                                     </resource>
180                                 </resources>
181                         </configuration>
182                      </execution>
183                      <execution>
184                         <id>copy-custom-properties3</id>
185                         <phase>process-resources</phase>
186                         <goals>
187                             <goal>copy-resources</goal>
188                         </goals>
189                             <configuration>
190                                 <overwrite>true</overwrite>
191                                 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
192                                 <resources>
193                                     <resource>
194                                         <directory>${basedir}/../../overrides</directory>
195                                         <includes>
196                                             <include>portal.properties</include>
197                                             <include>openid-connect.properties</include>                                            
198                                             <include>openid-keystore.jwks</include>                                            
199                                         </includes>
200                                     </resource>
201                                 </resources>
202                             </configuration>                      
203                      </execution>
204                 </executions>
205             </plugin>
206                 </plugins>
207
208                 <testResources>
209                 <testResource>
210                                 <directory>src/test/java</directory>
211                                 <includes>
212                                                 <include>**/*Test*.*</include>                                  
213                                 </includes>
214                 </testResource>
215         </testResources>
216         
217                 <resources>
218                         <resource>
219                                 <directory>src/main/resources</directory>
220                                 <includes>
221                                         <include>**/*.xml</include>
222                                         <include>**/*.ccf</include>
223                                         <include>**/*.properties</include>
224                                         <include>**/*.jwks</include>
225                                 </includes>
226                         </resource>
227                         <resource>
228                                 <directory>src/test/resources</directory>
229                                 <includes>
230                                         <include>**/*.xml</include>
231                                         <include>**/*.properties</include>
232                                 </includes>
233                         </resource>
234                         <!-- picks up the applicationcodes.properties file presented in \src\ path -->
235                         <resource>
236                                 <directory>src/main/java</directory>
237                                 <includes>
238                                         <include>**/*.xml</include>
239                                         <include>**/*.properties</include>
240                                 </includes>
241                         </resource>
242                 </resources>
243
244         </build>
245
246         <dependencies>
247                 <dependency>
248                         <groupId>com.att.eelf</groupId> 
249                         <artifactId>eelf-core</artifactId> 
250                         <version>${eelf.version}</version> 
251                 </dependency>
252                 <dependency>
253                         <groupId>com.google.code.gson</groupId>
254                         <artifactId>gson</artifactId>
255                         <version>2.5</version>
256                 </dependency>
257
258                 <!-- Spring -->
259                 <dependency>
260                         <groupId>org.springframework</groupId>
261                         <artifactId>spring-core</artifactId>
262                         <version>${springframework.version}</version>
263                 </dependency>
264                 <dependency>
265                         <groupId>org.springframework</groupId>
266                         <artifactId>spring-web</artifactId>
267                         <version>${springframework.version}</version>
268                 </dependency>
269                 <dependency>
270                         <groupId>org.springframework</groupId>
271                         <artifactId>spring-webmvc</artifactId>
272                         <version>${springframework.version}</version>
273                 </dependency>
274                 <dependency>
275                         <groupId>org.springframework</groupId>
276                         <artifactId>spring-tx</artifactId>
277                         <version>${springframework.version}</version>
278                 </dependency>
279                 <dependency>
280                         <groupId>org.springframework</groupId>
281                         <artifactId>spring-context-support</artifactId>
282                         <version>${springframework.version}</version>
283                 </dependency>
284                 <dependency>
285                         <groupId>org.springframework</groupId>
286                         <artifactId>spring-orm</artifactId>
287                         <version>${springframework.version}</version>
288                 </dependency>
289                 <dependency>
290                         <groupId>org.springframework</groupId>
291                         <artifactId>spring-test</artifactId>
292                         <version>${springframework.version}</version>
293                 </dependency>
294                 <dependency>
295                         <groupId>org.springframework.boot</groupId>
296                         <artifactId>spring-boot-starter</artifactId>
297                         <version>1.3.0.RELEASE</version>
298                         <exclusions>
299                                 <exclusion>
300                                         <groupId>org.slf4j</groupId>
301                                         <artifactId>log4j-over-slf4j</artifactId>
302                                 </exclusion>
303                                 <exclusion>
304                                         <groupId>ch.qos.logback</groupId>
305                                         <artifactId>logback-classic</artifactId>
306                                 </exclusion>
307                         </exclusions>
308                 </dependency>
309
310                 <!-- Hibernate -->
311                 <dependency>
312                         <groupId>org.hibernate</groupId>
313                         <artifactId>hibernate-core</artifactId>
314                         <version>${hibernate.version}</version>
315                 </dependency>
316
317                 <!-- jsr303 validation -->
318                 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> 
319                         <version>1.1.0.Final</version> </dependency> -->
320
321                 <dependency>
322                         <groupId>org.hibernate</groupId>
323                         <artifactId>hibernate-validator</artifactId>
324                         <version>5.1.3.Final</version>
325                 </dependency>
326                 <!-- Servlet+JSP+JSTL -->
327                 <dependency>
328                         <groupId>javax.servlet</groupId>
329                         <artifactId>javax.servlet-api</artifactId>
330                         <version>3.1.0</version>
331                 </dependency>
332                 <dependency>
333                         <groupId>javax.servlet.jsp</groupId>
334                         <artifactId>javax.servlet.jsp-api</artifactId>
335                         <version>2.3.1</version>
336                 </dependency>
337                 <dependency>
338                         <groupId>javax.servlet</groupId>
339                         <artifactId>jstl</artifactId>
340                         <version>1.2</version>
341                 </dependency>
342
343                 <!-- Apache Tiles -->
344                 <dependency>
345                         <groupId>org.apache.tiles</groupId>
346                         <artifactId>tiles-core</artifactId>
347                         <version>3.0.5</version>
348                 </dependency>
349                 <dependency>
350                         <groupId>org.apache.tiles</groupId>
351                         <artifactId>tiles-jsp</artifactId>
352                         <version>3.0.5</version>
353                 </dependency>
354                 <dependency>
355                         <groupId>org.apache.cxf</groupId>
356                         <artifactId>cxf-rt-rs-client</artifactId>
357                         <version>3.0.0-milestone1</version>
358                 </dependency>
359
360                 <!-- Mapper -->
361                 <dependency>
362                         <groupId>com.fasterxml.jackson.core</groupId>
363                         <artifactId>jackson-annotations</artifactId>
364                         <version>2.6.3</version>
365                 </dependency>
366                 <dependency>
367                         <groupId>com.fasterxml.jackson.core</groupId>
368                         <artifactId>jackson-core</artifactId>
369                         <version>2.6.3</version>
370                 </dependency>
371                 <dependency>
372                         <groupId>com.fasterxml.jackson.core</groupId>
373                         <artifactId>jackson-databind</artifactId>
374                         <version>2.6.3</version>
375                 </dependency>
376
377                 <dependency>
378                         <groupId>mysql</groupId>
379                         <artifactId>mysql-connector-java</artifactId>
380                         <version>5.1.22</version>
381                 </dependency>
382
383                 <!-- Elastic Search -->
384                 <dependency>
385                 <groupId>org.elasticsearch</groupId>
386                 <artifactId>elasticsearch</artifactId>
387                 <version>2.2.0</version>
388                 </dependency>
389                 <dependency>
390                         <groupId>io.searchbox</groupId>
391                         <artifactId>jest</artifactId>
392                         <version>2.0.0</version>
393                 </dependency>
394
395                 <dependency>
396                         <groupId>org.apache.jcs</groupId>
397                         <artifactId>jcs</artifactId>
398                         <version>1.3</version>
399                         <exclusions>
400                                 <exclusion>
401                                         <groupId>*</groupId>
402                                         <artifactId>*</artifactId>
403                                 </exclusion>
404                         </exclusions>
405                         <!-- -->
406                 </dependency>
407
408                 <dependency>
409                         <groupId>org.apache.tomcat</groupId>
410                         <artifactId>tomcat-websocket</artifactId>
411                         <version>8.0.28</version>
412                         <scope>provided</scope>
413                 </dependency>
414
415                 <!-- Raptor required Libraries -->
416                 <!-- for static charts -->
417                 <dependency>
418                         <groupId>commons-lang</groupId>
419                         <artifactId>commons-lang</artifactId>
420                         <version>2.6</version>
421                 </dependency>
422                 <!-- for generating excel/csv/excelx -->
423                 <dependency>
424                         <groupId>org.apache.poi</groupId>
425                         <artifactId>poi</artifactId>
426                         <version>3.5-FINAL</version>
427                         <exclusions>
428                                 <exclusion>
429                                         <groupId>commons-logging</groupId>
430                                         <artifactId>commons-logging</artifactId>
431                                 </exclusion>
432                                 <exclusion>
433                                         <groupId>log4j</groupId>
434                                         <artifactId>log4j</artifactId>
435                                 </exclusion>
436                         </exclusions>
437                 </dependency>
438                 <dependency>
439                         <groupId>org.apache.poi</groupId>
440                         <artifactId>poi-ooxml</artifactId>
441                         <version>3.5-FINAL</version>
442                         <exclusions>
443                                 <exclusion>
444                                         <groupId>commons-logging</groupId>
445                                         <artifactId>commons-logging</artifactId>
446                                 </exclusion>
447                                 <exclusion>
448                                         <groupId>log4j</groupId>
449                                         <artifactId>log4j</artifactId>
450                                 </exclusion>
451                         </exclusions>
452                 </dependency>
453                 <dependency>
454                         <groupId>org.apache.poi</groupId>
455                         <artifactId>poi-scratchpad</artifactId>
456                         <version>3.5-FINAL</version>
457                         <exclusions>
458                                 <exclusion>
459                                         <groupId>commons-logging</groupId>
460                                         <artifactId>commons-logging</artifactId>
461                                 </exclusion>
462                                 <exclusion>
463                                         <groupId>log4j</groupId>
464                                         <artifactId>log4j</artifactId>
465                                 </exclusion>
466                         </exclusions>
467                 </dependency>
468                 <dependency>
469                         <groupId>org.apache.poi</groupId>
470                         <artifactId>poi-contrib</artifactId>
471                         <version>3.5-FINAL</version>
472                         <exclusions>
473                                 <exclusion>
474                                         <groupId>commons-logging</groupId>
475                                         <artifactId>commons-logging</artifactId>
476                                 </exclusion>
477                                 <exclusion>
478                                         <groupId>log4j</groupId>
479                                         <artifactId>log4j</artifactId>
480                                 </exclusion>
481                         </exclusions>
482                 </dependency>
483
484                 <!-- 
485                 <dependency>
486                         <groupId>com.lowagie</groupId>
487                         <artifactId>itext</artifactId>
488                         <version>2.0.8</version>
489                         <exclusions>
490                                 <exclusion>
491                          <groupId>org.bouncycastle</groupId>
492                                      <artifactId>bcprov-jdk14</artifactId>
493                     </exclusion>
494             </exclusions>
495                 </dependency> -->
496                 <!-- Quartz -->
497                 <dependency>
498                         <groupId>org.quartz-scheduler</groupId>
499                         <artifactId>quartz</artifactId>
500                         <version>2.2.1</version>
501                         <exclusions>
502                                 <!-- SDK brings a new version of c3p0 -->
503                                 <exclusion>
504                                         <groupId>c3p0</groupId>
505                                         <artifactId>c3p0</artifactId>
506                                 </exclusion>
507                         </exclusions>
508                 </dependency>
509
510                 <dependency>
511                         <groupId>commons-codec</groupId>
512                         <artifactId>commons-codec</artifactId>
513                         <version>1.9</version>
514                 </dependency>
515                 
516                 <dependency>
517                 <groupId>com.att.nsa</groupId>
518                 <artifactId>cambriaClient</artifactId>
519                 <version>0.0.1</version>
520                         <exclusions>
521                                 <exclusion>
522                                         <groupId>commons-logging</groupId>
523                                         <artifactId>commons-logging</artifactId>
524                                 </exclusion>
525                                 <exclusion>
526                                         <groupId>log4j</groupId>
527                                         <artifactId>log4j</artifactId>
528                                 </exclusion>
529                                 <exclusion>
530                                         <groupId>log4j</groupId>
531                                         <artifactId>apache-log4j-extras</artifactId>
532                                 </exclusion>
533                                 <exclusion>
534                                         <groupId>org.slf4j</groupId>
535                                         <artifactId>slf4j-log4j12</artifactId>
536                                 </exclusion>
537                         </exclusions>
538        </dependency>
539         
540         <dependency>
541                         <groupId>org.openecomp.ecompsdkos</groupId>
542                         <artifactId>ecompFW</artifactId>
543                         <version>${projectversion}</version>
544                         <exclusions>
545                                 <exclusion>
546                                         <groupId>commons-logging</groupId>
547                                         <artifactId>commons-logging</artifactId>
548                                 </exclusion>
549                                 <exclusion>
550                                         <groupId>log4j</groupId>
551                                         <artifactId>log4j</artifactId>
552                                 </exclusion>
553                                 <exclusion>
554                                         <groupId>log4j</groupId>
555                                         <artifactId>apache-log4j-extras</artifactId>
556                                 </exclusion>
557                                 <exclusion>
558                                         <groupId>org.slf4j</groupId>
559                                         <artifactId>slf4j-log4j12</artifactId>
560                                 </exclusion>
561                         </exclusions>
562                 </dependency>
563         
564                 <dependency>
565                         <groupId>org.openecomp.ecompsdkos</groupId>
566                         <artifactId>ecompSDK-core</artifactId>
567                         <version>${projectversion}</version>
568                 </dependency>
569
570                 <dependency>
571                         <groupId>org.openecomp.ecompsdkos</groupId>
572                         <artifactId>ecompSDK-workflow</artifactId>
573                         <version>${projectversion}</version>
574                 </dependency>
575                 
576                 
577                 <!-- Referenced by some poms and needed for testing;
578                          do NOT use "test" scope here. -->
579                 <dependency>
580                         <groupId>org.apache.httpcomponents</groupId>
581                         <artifactId>httpclient</artifactId>
582                         <version>4.5.2</version>
583                 </dependency>
584
585                 <!-- for testing -->
586                 <dependency>
587                         <groupId>junit</groupId>
588                         <artifactId>junit</artifactId>
589                         <version>4.11</version>
590                         <scope>test</scope>
591                 </dependency>
592                 
593                 <dependency>
594                         <groupId>commons-beanutils</groupId>
595                         <artifactId>commons-beanutils</artifactId>
596                         <version>1.9.2</version>
597                 </dependency>
598                 
599                 <!-- OpenID Connect Dependencies -->
600                 <dependency>
601                         <groupId>org.mitre</groupId>
602                         <artifactId>openid-connect-client</artifactId>
603                         <version>1.2.2</version>
604                         <exclusions>
605                                 <exclusion>
606                                         <groupId>org.codehaus.jackson</groupId>
607                                         <artifactId>jackson-mapper-asl</artifactId>
608                                 </exclusion>
609                         </exclusions>
610                 </dependency>
611                 
612                 <dependency>
613             <groupId>org.springframework.security</groupId>
614             <artifactId>spring-security-taglibs</artifactId>
615             <version>3.2.8.RELEASE</version>
616             <exclusions>
617                 <exclusion>
618                                 <groupId>org.springframework</groupId>
619                         <artifactId>*</artifactId>
620                 </exclusion>
621             </exclusions>
622         </dependency>           
623                 
624
625         </dependencies>
626 </project>