Add plugin configuration to skip deploy
[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.openecomp.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.1.0</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.1.0</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                         <!--     
129                         <plugin>
130                             <groupId>org.codehaus.mojo</groupId>
131                             <artifactId>license-maven-plugin</artifactId>
132                             <version>1.10</version>
133                             <configuration>
134                               <encoding>UTF-8</encoding>
135                                 <licenseName>my_license</licenseName>
136                                 <licenseResolver>${project.baseUri}/license</licenseResolver>
137                                 <inceptionYear>2017</inceptionYear>
138                                 <organizationName>AT&amp;T Intellectual Property</organizationName>
139                                 <projectName>ECOMP Portal</projectName> 
140                                 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> 
141                                 <processStartTag>================================================================================</processStartTag>
142                                 <sectionDelimiter>================================================================================</sectionDelimiter>
143                                 <processEndTag>================================================================================</processEndTag> 
144                                 <roots>
145                                         <root>src/main</root>
146                                         <root>src/test</root>
147                                 </roots>
148                                 <excludes>
149                                         <exclude>*.png</exclude>
150                                         <exclude>*.drl</exclude>
151                                         <exclude>*.gif</exclude>
152                                         <exclude>*.jpeg</exclude>
153                                         <exclude>*.jpg</exclude>
154                                         <exclude>*.bmp</exclude>
155                                         <exclude>*.ico</exclude>
156                                         <exclude>*.svg</exclude>
157                                 </excludes>
158                             </configuration>
159                             <executions>
160                                 <execution>
161                                     <id>first</id>
162                                     <goals>
163                                         <goal>update-file-header</goal>
164                                     </goals>
165                                     <phase>process-sources</phase>
166                                 </execution>
167                             </executions>
168                         </plugin>
169                          -->
170         
171                 </plugins>
172
173                 <testResources>
174                         <testResource>
175                                 <directory>src/test/java</directory>
176                                 <includes>
177                                         <include>**/*Test*.*</include>
178                                 </includes>
179                         </testResource>
180                 </testResources>
181
182                 <resources>
183                         <resource>
184                                 <directory>src/main/resources</directory>
185                                 <includes>
186                                         <include>**/*</include>
187                                 </includes>
188                         </resource>
189                         <!-- picks up the applicationcodes.properties file presented in \src\ 
190                                 path -->
191                         <resource>
192                                 <directory>src/main/java</directory>
193                                 <includes>
194                                         <include>**/*.xml</include>
195                                         <include>**/*.properties</include>
196                                 </includes>
197                         </resource>
198                 </resources>
199
200         </build>
201
202         <dependencies>
203                 <dependency>
204                         <groupId>com.att.eelf</groupId>
205                         <artifactId>eelf-core</artifactId>
206                         <version>${eelf.version}</version>
207                 </dependency>
208                 <dependency>
209                         <groupId>com.google.code.gson</groupId>
210                         <artifactId>gson</artifactId>
211                         <version>2.5</version>
212                 </dependency>
213
214                 <!-- Spring -->
215                 <dependency>
216                         <groupId>org.springframework</groupId>
217                         <artifactId>spring-core</artifactId>
218                         <version>${springframework.version}</version>
219                 </dependency>
220                 <dependency>
221                         <groupId>org.springframework</groupId>
222                         <artifactId>spring-web</artifactId>
223                         <version>${springframework.version}</version>
224                 </dependency>
225                 <dependency>
226                         <groupId>org.springframework</groupId>
227                         <artifactId>spring-webmvc</artifactId>
228                         <version>${springframework.version}</version>
229                 </dependency>
230                 <dependency>
231                         <groupId>org.springframework</groupId>
232                         <artifactId>spring-tx</artifactId>
233                         <version>${springframework.version}</version>
234                 </dependency>
235                 <dependency>
236                         <groupId>org.springframework</groupId>
237                         <artifactId>spring-context-support</artifactId>
238                         <version>${springframework.version}</version>
239                 </dependency>
240                 <dependency>
241                         <groupId>org.springframework</groupId>
242                         <artifactId>spring-orm</artifactId>
243                         <version>${springframework.version}</version>
244                 </dependency>
245                 <dependency>
246                         <groupId>org.springframework</groupId>
247                         <artifactId>spring-test</artifactId>
248                         <version>${springframework.version}</version>
249                 </dependency>
250                 <dependency>
251                         <groupId>org.springframework.boot</groupId>
252                         <artifactId>spring-boot-starter</artifactId>
253                         <version>1.3.0.RELEASE</version>
254                         <exclusions>
255                                 <exclusion>
256                                         <groupId>org.slf4j</groupId>
257                                         <artifactId>log4j-over-slf4j</artifactId>
258                                 </exclusion>
259                                 <exclusion>
260                                         <groupId>ch.qos.logback</groupId>
261                                         <artifactId>logback-classic</artifactId>
262                                 </exclusion>
263                         </exclusions>
264                 </dependency>
265
266                 <!-- Hibernate -->
267                 <dependency>
268                         <groupId>org.hibernate</groupId>
269                         <artifactId>hibernate-core</artifactId>
270                         <version>${hibernate.version}</version>
271                 </dependency>
272                 <dependency>
273                         <groupId>org.hibernate</groupId>
274                         <artifactId>hibernate-validator</artifactId>
275                         <version>5.1.3.Final</version>
276                 </dependency>
277
278                 <!-- hibernate-core depends on dom4j, which has optional dependencies. 
279                         On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies 
280                         in the war. Workaround: exclude them explicitly. -->
281                 <dependency>
282                         <groupId>dom4j</groupId>
283                         <artifactId>dom4j</artifactId>
284                         <version>1.6.1</version>
285                         <exclusions>
286                                 <exclusion>
287                                         <groupId>jaxme</groupId>
288                                         <artifactId>jaxme-api</artifactId>
289                                 </exclusion>
290                                 <exclusion>
291                                         <groupId>jaxen</groupId>
292                                         <artifactId>jaxen</artifactId>
293                                 </exclusion>
294                                 <exclusion>
295                                         <groupId>msv</groupId>
296                                         <artifactId>xsdlib</artifactId>
297                                 </exclusion>
298                                 <exclusion>
299                                         <groupId>msv</groupId>
300                                         <artifactId>relaxngDatatype</artifactId>
301                                 </exclusion>
302                                 <exclusion>
303                                         <groupId>pull-parser</groupId>
304                                         <artifactId>pull-parser</artifactId>
305                                 </exclusion>
306                                 <exclusion>
307                                         <groupId>xpp3</groupId>
308                                         <artifactId>xpp3</artifactId>
309                                 </exclusion>
310                                 <exclusion>
311                                         <groupId>stax</groupId>
312                                         <artifactId>stax-api</artifactId>
313                                 </exclusion>
314                         </exclusions>
315                 </dependency>
316
317                 <!-- Servlet+JSP+JSTL -->
318                 <dependency>
319                         <groupId>javax.servlet</groupId>
320                         <artifactId>javax.servlet-api</artifactId>
321                         <version>3.1.0</version>
322                 </dependency>
323                 <dependency>
324                         <groupId>javax.servlet.jsp</groupId>
325                         <artifactId>javax.servlet.jsp-api</artifactId>
326                         <version>2.3.1</version>
327                 </dependency>
328                 <dependency>
329                         <groupId>javax.servlet</groupId>
330                         <artifactId>jstl</artifactId>
331                         <version>1.2</version>
332                 </dependency>
333
334                 <!-- Oracle JDBC driver -->
335 <!--            <dependency>
336                         <groupId>com.oracle</groupId>
337                         <artifactId>ojdbc6</artifactId>
338                         <version>11.2.0.4</version>
339                 </dependency> -->
340                 <!-- Apache Tiles -->
341                 <dependency>
342                         <groupId>org.apache.tiles</groupId>
343                         <artifactId>tiles-core</artifactId>
344                         <version>3.0.5</version>
345                 </dependency>
346                 <dependency>
347                         <groupId>org.apache.tiles</groupId>
348                         <artifactId>tiles-jsp</artifactId>
349                         <version>3.0.5</version>
350                 </dependency>
351                 <dependency>
352                         <groupId>org.apache.cxf</groupId>
353                         <artifactId>cxf-rt-rs-client</artifactId>
354                         <version>3.0.0-milestone1</version>
355                 </dependency>
356
357                 <!-- Mapper -->
358                 <dependency>
359                         <groupId>com.fasterxml.jackson.core</groupId>
360                         <artifactId>jackson-annotations</artifactId>
361                         <version>${fasterxml.version}</version>
362                 </dependency>
363                 <dependency>
364                         <groupId>com.fasterxml.jackson.core</groupId>
365                         <artifactId>jackson-core</artifactId>
366                         <version>${fasterxml.version}</version>
367                 </dependency>
368                 <dependency>
369                         <groupId>com.fasterxml.jackson.core</groupId>
370                         <artifactId>jackson-databind</artifactId>
371                         <version>${fasterxml.version}</version>
372                 </dependency>
373
374                 <dependency>
375                         <groupId>postgresql</groupId>
376                         <artifactId>postgresql</artifactId>
377                         <version>9.1-901-1.jdbc4</version>
378                 </dependency>
379
380                 <!-- Elastic Search -->
381                 <dependency>
382                         <groupId>org.elasticsearch</groupId>
383                         <artifactId>elasticsearch</artifactId>
384                         <version>2.2.0</version>
385                 </dependency>
386                 <dependency>
387                         <groupId>io.searchbox</groupId>
388                         <artifactId>jest</artifactId>
389                         <version>2.0.0</version>
390                 </dependency>
391
392                 <dependency>
393                         <groupId>org.apache.jcs</groupId>
394                         <artifactId>jcs</artifactId>
395                         <version>1.3</version>
396                         <exclusions>
397                                 <exclusion>
398                                         <groupId>*</groupId>
399                                         <artifactId>*</artifactId>
400                                 </exclusion>
401                         </exclusions>
402                         <!-- -->
403                 </dependency>
404
405                 <dependency>
406                         <groupId>org.apache.tomcat</groupId>
407                         <artifactId>tomcat-websocket</artifactId>
408                         <version>8.0.28</version>
409                         <scope>provided</scope>
410                 </dependency>
411
412                 <dependency>
413                         <groupId>concurrent</groupId>
414                         <artifactId>concurrent</artifactId>
415                         <version>1.3.2</version>
416                         <exclusions>
417                                 <exclusion>
418                                         <groupId>*</groupId>
419                                         <artifactId>*</artifactId>
420                                 </exclusion>
421                         </exclusions>
422                 </dependency>
423
424
425                 <dependency>
426                         <groupId>commons-lang</groupId>
427                         <artifactId>commons-lang</artifactId>
428                         <version>2.6</version>
429                 </dependency>
430                 <dependency>
431                         <groupId>jfree</groupId>
432                         <artifactId>jfreechart</artifactId>
433                         <version>1.0.13</version>
434                 </dependency>
435                 <!-- for generating excel/csv/excelx -->
436                 <dependency>
437                         <groupId>org.apache.poi</groupId>
438                         <artifactId>poi</artifactId>
439                         <version>3.5-FINAL</version>
440                         <exclusions>
441                                 <exclusion>
442                                         <groupId>commons-logging</groupId>
443                                         <artifactId>commons-logging</artifactId>
444                                 </exclusion>
445                                 <exclusion>
446                                         <groupId>log4j</groupId>
447                                         <artifactId>log4j</artifactId>
448                                 </exclusion>
449                         </exclusions>
450                 </dependency>
451                 <dependency>
452                         <groupId>org.apache.poi</groupId>
453                         <artifactId>poi-ooxml</artifactId>
454                         <version>3.5-FINAL</version>
455                         <exclusions>
456                                 <exclusion>
457                                         <groupId>commons-logging</groupId>
458                                         <artifactId>commons-logging</artifactId>
459                                 </exclusion>
460                                 <exclusion>
461                                         <groupId>log4j</groupId>
462                                         <artifactId>log4j</artifactId>
463                                 </exclusion>
464                         </exclusions>
465                 </dependency>
466                 <dependency>
467                         <groupId>org.apache.poi</groupId>
468                         <artifactId>poi-scratchpad</artifactId>
469                         <version>3.5-FINAL</version>
470                         <exclusions>
471                                 <exclusion>
472                                         <groupId>commons-logging</groupId>
473                                         <artifactId>commons-logging</artifactId>
474                                 </exclusion>
475                                 <exclusion>
476                                         <groupId>log4j</groupId>
477                                         <artifactId>log4j</artifactId>
478                                 </exclusion>
479                         </exclusions>
480                 </dependency>
481                 <dependency>
482                         <groupId>org.apache.poi</groupId>
483                         <artifactId>poi-contrib</artifactId>
484                         <version>3.5-FINAL</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                         </exclusions>
495                 </dependency>
496
497                 <!-- for generating PDF -->
498                 <dependency>
499                         <groupId>com.lowagie</groupId>
500                         <artifactId>itext</artifactId>
501                         <version>2.0.8</version>
502                 </dependency>
503                 <!-- Quartz -->
504                 <dependency>
505                         <groupId>org.quartz-scheduler</groupId>
506                         <artifactId>quartz</artifactId>
507                         <version>2.2.1</version>
508                         <exclusions>
509                                 <!-- SDK brings a new version of c3p0 -->
510                                 <exclusion>
511                                         <groupId>c3p0</groupId>
512                                         <artifactId>c3p0</artifactId>
513                                 </exclusion>
514                         </exclusions>
515                 </dependency>
516
517                 <dependency>
518                         <groupId>org.bouncycastle</groupId>
519                         <artifactId>bcprov-jdk16</artifactId>
520                         <version>1.45</version>
521                 </dependency>
522
523                 <dependency>
524                         <groupId>commons-codec</groupId>
525                         <artifactId>commons-codec</artifactId>
526                         <version>1.9</version>
527                 </dependency>
528
529                 <dependency>
530                         <groupId>com.att.nsa</groupId>
531                         <artifactId>cambriaClient</artifactId>
532                         <version>0.0.1</version>
533                         <exclusions>
534                                 <exclusion>
535                                         <groupId>commons-logging</groupId>
536                                         <artifactId>commons-logging</artifactId>
537                                 </exclusion>
538                                 <exclusion>
539                                         <groupId>log4j</groupId>
540                                         <artifactId>log4j</artifactId>
541                                 </exclusion>
542                                 <exclusion>
543                                         <groupId>log4j</groupId>
544                                         <artifactId>apache-log4j-extras</artifactId>
545                                 </exclusion>
546                                 <exclusion>
547                                         <groupId>org.slf4j</groupId>
548                                         <artifactId>slf4j-log4j12</artifactId>
549                                 </exclusion>
550                         </exclusions>
551                 </dependency>
552
553                 <dependency>
554                         <groupId>org.openecomp.ecompsdkos</groupId>
555                         <artifactId>epsdk-fw</artifactId>
556                         <version>${epsdk.version}</version>
557                         <exclusions>
558                                 <exclusion>
559                                         <groupId>commons-logging</groupId>
560                                         <artifactId>commons-logging</artifactId>
561                                 </exclusion>
562                                 <exclusion>
563                                         <groupId>log4j</groupId>
564                                         <artifactId>log4j</artifactId>
565                                 </exclusion>
566                                 <exclusion>
567                                         <groupId>log4j</groupId>
568                                         <artifactId>apache-log4j-extras</artifactId>
569                                 </exclusion>
570                                 <exclusion>
571                                         <groupId>org.slf4j</groupId>
572                                         <artifactId>slf4j-log4j12</artifactId>
573                                 </exclusion>
574                         </exclusions>
575                 </dependency>
576                 <dependency>
577                         <groupId>org.openecomp.ecompsdkos</groupId>
578                         <artifactId>epsdk-core</artifactId>
579                         <version>${epsdk.version}</version>
580                         <exclusions>
581                                 <exclusion>
582                                         <groupId>mysql</groupId>
583                                         <artifactId>mysql-connector-java</artifactId>
584                                 </exclusion>
585                         </exclusions>
586                 </dependency>
587                 <dependency>
588                         <groupId>org.openecomp.ecompsdkos</groupId>
589                         <artifactId>epsdk-app-common</artifactId>
590                         <version>${epsdk.version}</version>
591                 </dependency>
592                 <dependency>
593                         <groupId>org.openecomp.ecompsdkos</groupId>
594                         <artifactId>epsdk-workflow</artifactId>
595                         <version>${epsdk.version}</version>
596                 </dependency>
597
598                 <!-- Raptor required Libraries -->
599                 <!-- for static charts -->
600                 <dependency>
601                         <groupId>org.openecomp.ecompsdkos</groupId>
602                         <artifactId>epsdk-analytics</artifactId>
603                         <version>${epsdk.version}</version>
604                 </dependency>
605
606                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
607                         scope here. -->
608                 <dependency>
609                         <groupId>org.apache.httpcomponents</groupId>
610                         <artifactId>httpclient</artifactId>
611                         <version>4.5.2</version>
612                 </dependency>
613
614                 <!-- for testing -->
615                 <dependency>
616                         <groupId>junit</groupId>
617                         <artifactId>junit</artifactId>
618                         <version>4.11</version>
619                         <scope>test</scope>
620                 </dependency>
621
622                 <dependency>
623                         <groupId>commons-beanutils</groupId>
624                         <artifactId>commons-beanutils</artifactId>
625                         <version>1.9.2</version>
626                 </dependency>
627
628                 <dependency>
629                         <groupId>com.ecwid.consul</groupId>
630                         <artifactId>consul-api</artifactId>
631                         <version>1.2.1</version>
632                 </dependency>
633
634                 <dependency>
635                         <groupId>com.orbitz.consul</groupId>
636                         <artifactId>consul-client</artifactId>
637                         <version>0.13.8</version>
638                 </dependency>
639
640                 <dependency>
641                         <groupId>commons-fileupload</groupId>
642                         <artifactId>commons-fileupload</artifactId>
643                         <version>1.3</version>
644                 </dependency>
645
646                 <dependency>
647                         <groupId>io.springfox</groupId>
648                         <artifactId>springfox-swagger2</artifactId>
649                         <version>2.5.0</version>
650                 </dependency>
651
652                 <dependency>
653                         <groupId>io.springfox</groupId>
654                         <artifactId>springfox-swagger-ui</artifactId>
655                         <version>2.5.0</version>
656                 </dependency>
657
658         </dependencies>
659
660         <!-- No deployment descriptor. -->
661
662 </project>