Configure parent to skip deploy step
[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                 <!-- for generating excel/csv/excelx -->
431                 <dependency>
432                         <groupId>org.apache.poi</groupId>
433                         <artifactId>poi</artifactId>
434                         <version>3.5-FINAL</version>
435                         <exclusions>
436                                 <exclusion>
437                                         <groupId>commons-logging</groupId>
438                                         <artifactId>commons-logging</artifactId>
439                                 </exclusion>
440                                 <exclusion>
441                                         <groupId>log4j</groupId>
442                                         <artifactId>log4j</artifactId>
443                                 </exclusion>
444                         </exclusions>
445                 </dependency>
446                 <dependency>
447                         <groupId>org.apache.poi</groupId>
448                         <artifactId>poi-ooxml</artifactId>
449                         <version>3.5-FINAL</version>
450                         <exclusions>
451                                 <exclusion>
452                                         <groupId>commons-logging</groupId>
453                                         <artifactId>commons-logging</artifactId>
454                                 </exclusion>
455                                 <exclusion>
456                                         <groupId>log4j</groupId>
457                                         <artifactId>log4j</artifactId>
458                                 </exclusion>
459                         </exclusions>
460                 </dependency>
461                 <dependency>
462                         <groupId>org.apache.poi</groupId>
463                         <artifactId>poi-scratchpad</artifactId>
464                         <version>3.5-FINAL</version>
465                         <exclusions>
466                                 <exclusion>
467                                         <groupId>commons-logging</groupId>
468                                         <artifactId>commons-logging</artifactId>
469                                 </exclusion>
470                                 <exclusion>
471                                         <groupId>log4j</groupId>
472                                         <artifactId>log4j</artifactId>
473                                 </exclusion>
474                         </exclusions>
475                 </dependency>
476                 <dependency>
477                         <groupId>org.apache.poi</groupId>
478                         <artifactId>poi-contrib</artifactId>
479                         <version>3.5-FINAL</version>
480                         <exclusions>
481                                 <exclusion>
482                                         <groupId>commons-logging</groupId>
483                                         <artifactId>commons-logging</artifactId>
484                                 </exclusion>
485                                 <exclusion>
486                                         <groupId>log4j</groupId>
487                                         <artifactId>log4j</artifactId>
488                                 </exclusion>
489                         </exclusions>
490                 </dependency>
491
492                 <!-- for generating PDF -->
493                 <dependency>
494                         <groupId>com.lowagie</groupId>
495                         <artifactId>itext</artifactId>
496                         <version>2.0.8</version>
497                 </dependency>
498                 <!-- Quartz -->
499                 <dependency>
500                         <groupId>org.quartz-scheduler</groupId>
501                         <artifactId>quartz</artifactId>
502                         <version>2.2.1</version>
503                         <exclusions>
504                                 <!-- SDK brings a new version of c3p0 -->
505                                 <exclusion>
506                                         <groupId>c3p0</groupId>
507                                         <artifactId>c3p0</artifactId>
508                                 </exclusion>
509                         </exclusions>
510                 </dependency>
511
512                 <dependency>
513                         <groupId>org.bouncycastle</groupId>
514                         <artifactId>bcprov-jdk16</artifactId>
515                         <version>1.45</version>
516                 </dependency>
517
518                 <dependency>
519                         <groupId>commons-codec</groupId>
520                         <artifactId>commons-codec</artifactId>
521                         <version>1.9</version>
522                 </dependency>
523
524                 <dependency>
525                         <groupId>com.att.nsa</groupId>
526                         <artifactId>cambriaClient</artifactId>
527                         <version>0.0.1</version>
528                         <exclusions>
529                                 <exclusion>
530                                         <groupId>commons-logging</groupId>
531                                         <artifactId>commons-logging</artifactId>
532                                 </exclusion>
533                                 <exclusion>
534                                         <groupId>log4j</groupId>
535                                         <artifactId>log4j</artifactId>
536                                 </exclusion>
537                                 <exclusion>
538                                         <groupId>log4j</groupId>
539                                         <artifactId>apache-log4j-extras</artifactId>
540                                 </exclusion>
541                                 <exclusion>
542                                         <groupId>org.slf4j</groupId>
543                                         <artifactId>slf4j-log4j12</artifactId>
544                                 </exclusion>
545                         </exclusions>
546                 </dependency>
547
548                 <dependency>
549                         <groupId>org.openecomp.ecompsdkos</groupId>
550                         <artifactId>epsdk-fw</artifactId>
551                         <version>${epsdk.version}</version>
552                         <exclusions>
553                                 <exclusion>
554                                         <groupId>commons-logging</groupId>
555                                         <artifactId>commons-logging</artifactId>
556                                 </exclusion>
557                                 <exclusion>
558                                         <groupId>log4j</groupId>
559                                         <artifactId>log4j</artifactId>
560                                 </exclusion>
561                                 <exclusion>
562                                         <groupId>log4j</groupId>
563                                         <artifactId>apache-log4j-extras</artifactId>
564                                 </exclusion>
565                                 <exclusion>
566                                         <groupId>org.slf4j</groupId>
567                                         <artifactId>slf4j-log4j12</artifactId>
568                                 </exclusion>
569                         </exclusions>
570                 </dependency>
571                 <dependency>
572                         <groupId>org.openecomp.ecompsdkos</groupId>
573                         <artifactId>epsdk-core</artifactId>
574                         <version>${epsdk.version}</version>
575                         <exclusions>
576                                 <exclusion>
577                                         <groupId>mysql</groupId>
578                                         <artifactId>mysql-connector-java</artifactId>
579                                 </exclusion>
580                         </exclusions>
581                 </dependency>
582                 <dependency>
583                         <groupId>org.openecomp.ecompsdkos</groupId>
584                         <artifactId>epsdk-app-common</artifactId>
585                         <version>${epsdk.version}</version>
586                 </dependency>
587                 <dependency>
588                         <groupId>org.openecomp.ecompsdkos</groupId>
589                         <artifactId>epsdk-workflow</artifactId>
590                         <version>${epsdk.version}</version>
591                 </dependency>
592
593                 <!-- Raptor required Libraries -->
594                 <!-- for static charts -->
595                 <dependency>
596                         <groupId>org.openecomp.ecompsdkos</groupId>
597                         <artifactId>epsdk-analytics</artifactId>
598                         <version>${epsdk.version}</version>
599                 </dependency>
600
601                 <!-- Referenced by some poms and needed for testing; do NOT use "test" 
602                         scope here. -->
603                 <dependency>
604                         <groupId>org.apache.httpcomponents</groupId>
605                         <artifactId>httpclient</artifactId>
606                         <version>4.5.2</version>
607                 </dependency>
608
609                 <!-- for testing -->
610                 <dependency>
611                         <groupId>junit</groupId>
612                         <artifactId>junit</artifactId>
613                         <version>4.11</version>
614                         <scope>test</scope>
615                 </dependency>
616
617                 <dependency>
618                         <groupId>commons-beanutils</groupId>
619                         <artifactId>commons-beanutils</artifactId>
620                         <version>1.9.2</version>
621                 </dependency>
622
623                 <dependency>
624                         <groupId>com.ecwid.consul</groupId>
625                         <artifactId>consul-api</artifactId>
626                         <version>1.2.1</version>
627                 </dependency>
628
629                 <dependency>
630                         <groupId>com.orbitz.consul</groupId>
631                         <artifactId>consul-client</artifactId>
632                         <version>0.13.8</version>
633                 </dependency>
634
635                 <dependency>
636                         <groupId>commons-fileupload</groupId>
637                         <artifactId>commons-fileupload</artifactId>
638                         <version>1.3</version>
639                 </dependency>
640
641                 <dependency>
642                         <groupId>io.springfox</groupId>
643                         <artifactId>springfox-swagger2</artifactId>
644                         <version>2.5.0</version>
645                 </dependency>
646
647                 <dependency>
648                         <groupId>io.springfox</groupId>
649                         <artifactId>springfox-swagger-ui</artifactId>
650                         <version>2.5.0</version>
651                 </dependency>
652
653         </dependencies>
654
655         <!-- No deployment descriptor. -->
656
657 </project>