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