Fix for overriding skipTests variable.
[vid.git] / vid-app-common / pom.xml
1 <?xml version="1.0"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5     <modelVersion>4.0.0</modelVersion>
6
7     <!-- This is the Maven project object model (POM) file for VID web application
8         based on the ECOMP SDK distribution. This file stands alone; it does not
9         inherit from a parent maven module. -->
10     <groupId>org.onap.vid</groupId>
11     <artifactId>vid-app-common</artifactId>
12     <version>4.0.0-SNAPSHOT</version>
13     <packaging>war</packaging>
14     <name>VID Common</name>
15     <description>VID Common code for opensource version</description>
16
17     <properties>
18         <encoding>UTF-8</encoding>
19         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21         <epsdk.version>2.4.0</epsdk.version>
22         <springframework.version>4.2.9.RELEASE</springframework.version>
23         <hibernate.version>4.3.11.Final</hibernate.version>
24         <!-- Skip assembling the zip by default -->
25         <skipassembly>true</skipassembly>
26         <nexusproxy>https://nexus.onap.org</nexusproxy>
27         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
28         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
29         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
30         <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
31     </properties>
32
33
34     <!-- this should be commented for local debugging -->
35     <!-- <deployenv>local</deployenv> -->
36
37     <repositories>
38         <repository>
39             <id>ecomp-releases</id>
40             <name>VID Release Repository</name>
41             <url>${nexusproxy}${releaseNexusPath}</url>
42         </repository>
43         <repository>
44             <id>ecomp-snapshots</id>
45             <name>VID Snapshot Repository</name>
46             <url>${nexusproxy}${snapshotNexusPath}</url>
47         </repository>
48         <repository>
49             <id>ecomp-staging</id>
50             <name>VID Staging Repository</name>
51             <url>${nexusproxy}${stagingNexusPath}</url>
52         </repository>
53         <repository>
54             <!-- Snapshots repository has ECOMP snapshot artifacts -->
55             <id>oss-snapshots</id>
56             <name>oss Central - Snapshots</name>
57             <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
58         </repository>
59
60     </repositories>
61     <distributionManagement>
62         <repository>
63             <id>ecomp-releases</id>
64             <name>VID Release Repository</name>
65             <url>${nexusproxy}/${releaseNexusPath}</url>
66         </repository>
67         <snapshotRepository>
68             <id>ecomp-snapshots</id>
69             <name>VID Snapshot Repository</name>
70             <url>${nexusproxy}/${snapshotNexusPath}</url>
71         </snapshotRepository>
72         <!-- added for javadoc -->
73         <site>
74             <id>ecomp-site</id>
75             <url>dav:${nexusproxy}${sitePath}</url>
76         </site>
77     </distributionManagement>
78
79     <build>
80         <finalName>vid-common</finalName>
81
82         <plugins>
83             <plugin>
84                 <groupId>org.sonatype.plugins</groupId>
85                 <artifactId>nexus-staging-maven-plugin</artifactId>
86                 <version>1.6.7</version>
87                 <extensions>true</extensions>
88                 <configuration>
89                     <nexusUrl>${nexusproxy}</nexusUrl>
90                     <stagingProfileId>176c31dfe190a</stagingProfileId>
91                     <serverId>ecomp-staging</serverId>
92                 </configuration>
93             </plugin>
94             <plugin>
95                 <groupId>org.jacoco</groupId>
96                 <artifactId>jacoco-maven-plugin</artifactId>
97                 <version>0.7.9</version>
98                 <executions>
99                     <execution>
100                         <id>default-prepare-agent</id>
101                         <goals>
102                             <goal>prepare-agent</goal>
103                         </goals>
104                     </execution>
105                     <execution>
106                         <id>default-report</id>
107                         <goals>
108                             <goal>report</goal>
109                         </goals>
110                     </execution>
111                 </executions>
112             </plugin>
113             <plugin>
114                 <groupId>org.apache.tomcat.maven</groupId>
115                 <artifactId>tomcat6-maven-plugin</artifactId>
116                 <version>2.2</version>
117             </plugin>
118             <plugin>
119                 <groupId>org.apache.tomcat.maven</groupId>
120                 <artifactId>tomcat7-maven-plugin</artifactId>
121                 <version>2.2</version>
122             </plugin>
123
124             <!-- Generate POJOs from MSO json schema -->
125             <plugin>
126                 <groupId>org.jsonschema2pojo</groupId>
127                 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
128                 <version>0.4.23</version>
129                 <configuration>
130                     <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
131                     <targetPackage>org.onap.vid.domain.mso</targetPackage>
132                     <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
133                 </configuration>
134                 <executions>
135                     <execution>
136                         <goals>
137                             <goal>generate</goal>
138                         </goals>
139                     </execution>
140                 </executions>
141             </plugin>
142
143             <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-compiler-plugin</artifactId>
146                 <version>3.1</version>
147                 <configuration>
148                     <source>1.8</source>
149                     <target>1.8</target>
150                 </configuration>
151             </plugin>
152
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-surefire-plugin</artifactId>
156                 <version>2.19.1</version>
157                 <configuration>
158                     <includes>
159                         <include>**/Test*.java</include>
160                         <include>**/*Test.java</include>
161                         <include>**/*TestCase.java</include>
162                     </includes>
163                     <excludes>
164                         <exclude>**/selenium/*.java</exclude>
165                         <exclude>**/integrationTest/*.java</exclude>
166                     </excludes>
167                     <additionalClasspathElements>
168                         <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
169                     </additionalClasspathElements>
170                     <systemPropertyVariables>
171                         <container.classpath>classpath:</container.classpath>
172                     </systemPropertyVariables>
173                     <useSystemClassLoader>false</useSystemClassLoader>
174                 </configuration>
175             </plugin>
176
177             <plugin>
178                 <artifactId>maven-assembly-plugin</artifactId>
179                 <configuration>
180                     <skipAssembly>${skipassembly}</skipAssembly>
181                     <descriptors>
182                         <descriptor>${basedir}/distribution.xml</descriptor>
183                     </descriptors>
184                 </configuration>
185                 <executions>
186                     <execution>
187                         <id>make-assembly</id>
188                         <phase>package</phase>
189                         <goals>
190                             <goal>single</goal>
191                         </goals>
192                     </execution>
193                 </executions>
194             </plugin>
195
196
197             <plugin>
198                 <groupId>org.apache.maven.plugins</groupId>
199                 <artifactId>maven-war-plugin</artifactId>
200                 <version>3.0.0</version>
201                 <configuration>
202                     <!-- Build a jar with all the Java classes -->
203                     <attachClasses>true</attachClasses>
204                     <!-- Do not put any jars in the war -->
205                     <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
206                 </configuration>
207             </plugin>
208             <plugin>
209                 <groupId>org.apache.maven.plugins</groupId>
210                 <artifactId>maven-site-plugin</artifactId>
211                 <version>3.6</version>
212                 <dependencies>
213                     <dependency>
214                         <groupId>org.apache.maven.wagon</groupId>
215                         <artifactId>wagon-webdav-jackrabbit</artifactId>
216                         <version>2.10</version>
217                     </dependency>
218                 </dependencies>
219             </plugin>
220             <plugin>
221                 <groupId>pl.project13.maven</groupId>
222                 <artifactId>git-commit-id-plugin</artifactId>
223                 <version>2.2.4</version>
224                 <executions>
225                     <execution>
226                         <id>get-the-git-infos</id>
227                         <goals>
228                             <goal>revision</goal>
229                         </goals>
230                     </execution>
231                 </executions>
232                 <configuration>
233                     <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
234                     <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
235                     <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
236                     <generateGitPropertiesFile>true</generateGitPropertiesFile>
237                     <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
238                     </generateGitPropertiesFilename>
239                     <includeOnlyProperties>
240                         <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
241                         <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
242                         <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
243                     </includeOnlyProperties>
244                 </configuration>
245             </plugin>
246         </plugins>
247     </build>
248
249     <reporting>
250         <plugins>
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-javadoc-plugin</artifactId>
254                 <version>2.10.4</version>
255                 <configuration>
256                     <failOnError>false</failOnError>
257                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
258                     <docletArtifact>
259                         <groupId>org.umlgraph</groupId>
260                         <artifactId>umlgraph</artifactId>
261                         <version>5.6</version>
262                     </docletArtifact>
263                     <additionalparam>-views</additionalparam>
264                     <useStandardDocletOptions>true</useStandardDocletOptions>
265                 </configuration>
266             </plugin>
267         </plugins>
268     </reporting>
269
270     <dependencies>
271
272         <dependency>
273             <groupId>com.opencsv</groupId>
274             <artifactId>opencsv</artifactId>
275             <version>4.1</version>
276         </dependency>
277
278         <!-- HTTP client -->
279
280         <dependency>
281             <groupId>io.joshworks.unirest</groupId>
282             <artifactId>unirest-java</artifactId>
283             <version>0.2.1</version>
284         </dependency>
285         <dependency>
286             <groupId>org.apache.httpcomponents</groupId>
287             <artifactId>httpclient</artifactId>
288             <version>4.3.6</version>
289         </dependency>
290         <dependency>
291             <groupId>org.apache.httpcomponents</groupId>
292             <artifactId>httpasyncclient</artifactId>
293             <version>4.0.2</version>
294         </dependency>
295         <dependency>
296             <groupId>org.apache.httpcomponents</groupId>
297             <artifactId>httpmime</artifactId>
298             <version>4.3.6</version>
299         </dependency>
300         <dependency>
301             <groupId>com.xebialabs.restito</groupId>
302             <artifactId>restito</artifactId>
303             <version>0.9.3</version>
304             <scope>test</scope>
305         </dependency>
306
307         <!-- Helpers -->
308         <dependency>
309             <groupId>io.vavr</groupId>
310             <artifactId>vavr</artifactId>
311             <version>0.9.2</version>
312         </dependency>
313
314         <!-- SDK overlay war -->
315         <dependency>
316             <groupId>org.onap.portal.sdk</groupId>
317             <artifactId>epsdk-app-overlay</artifactId>
318             <version>${epsdk.version}</version>
319             <type>war</type>
320         </dependency>
321         <dependency>
322             <groupId>org.onap.portal.sdk</groupId>
323             <artifactId>epsdk-app-common</artifactId>
324             <version>${epsdk.version}</version>
325             <type>jar</type>
326         </dependency>
327
328         <dependency>
329             <groupId>org.onap.portal.sdk</groupId>
330             <artifactId>epsdk-core</artifactId>
331             <version>${epsdk.version}</version>
332         </dependency>
333         <dependency>
334             <groupId>org.onap.portal.sdk</groupId>
335             <artifactId>epsdk-analytics</artifactId>
336             <version>${epsdk.version}</version>
337             <exclusions>
338                 <exclusion>
339                     <groupId>com.lowagie</groupId>
340                     <artifactId>itext</artifactId>
341                 </exclusion>
342             </exclusions>
343         </dependency>
344         <dependency>
345             <groupId>org.onap.portal.sdk</groupId>
346             <artifactId>epsdk-workflow</artifactId>
347             <version>${epsdk.version}</version>
348         </dependency>
349         <dependency>
350             <groupId>com.att.eelf</groupId>
351             <artifactId>eelf-core</artifactId>
352             <version>1.0.0</version>
353             <exclusions>
354                 <exclusion>
355                     <artifactId>powermock-api-mockito</artifactId>
356                     <groupId>org.powermock</groupId>
357                 </exclusion>
358             </exclusions>
359         </dependency>
360         <dependency>
361             <groupId>ch.qos.logback</groupId>
362             <artifactId>logback-core</artifactId>
363             <version>1.2.3</version>
364         </dependency>
365         <dependency>
366             <groupId>ch.qos.logback</groupId>
367             <artifactId>logback-classic</artifactId>
368             <version>1.2.3</version>
369         </dependency>
370
371         <!-- Mapper -->
372         <dependency>
373             <groupId>com.fasterxml.jackson.core</groupId>
374             <artifactId>jackson-annotations</artifactId>
375             <version>2.6.3</version>
376         </dependency>
377         <dependency>
378             <groupId>com.fasterxml.jackson.core</groupId>
379             <artifactId>jackson-core</artifactId>
380             <version>2.8.6</version>
381         </dependency>
382         <dependency>
383             <groupId>com.fasterxml.jackson.core</groupId>
384             <artifactId>jackson-databind</artifactId>
385             <version>2.6.7.1</version>
386         </dependency>
387         <dependency>
388             <groupId>org.codehaus.jackson</groupId>
389             <artifactId>jackson-mapper-asl</artifactId>
390             <version>1.9.13</version>
391         </dependency>
392         <dependency>
393             <groupId>com.mchange</groupId>
394             <artifactId>c3p0</artifactId>
395             <version>0.9.5.2</version>
396         </dependency>
397         <dependency>
398             <groupId>io.searchbox</groupId>
399             <artifactId>jest</artifactId>
400             <version>2.0.0</version>
401             <exclusions>
402                 <exclusion>
403                     <groupId>commons-logging</groupId>
404                     <artifactId>commons-logging</artifactId>
405                 </exclusion>
406             </exclusions>
407         </dependency>
408         <dependency>
409             <groupId>javax.servlet</groupId>
410             <artifactId>javax.servlet-api</artifactId>
411             <version>3.1.0</version>
412             <scope>provided</scope>
413         </dependency>
414         <dependency>
415             <groupId>junit</groupId>
416             <artifactId>junit</artifactId>
417             <version>4.12</version>
418         </dependency>
419         <dependency>
420             <groupId>commons-io</groupId>
421             <artifactId>commons-io</artifactId>
422             <version>2.4</version>
423             <!--<scope>test</scope>-->
424         </dependency>
425         <dependency>
426             <groupId>com.google.code.bean-matchers</groupId>
427             <artifactId>bean-matchers</artifactId>
428             <version>0.11</version>
429             <scope>test</scope>
430         </dependency>
431         <dependency>
432             <groupId>org.json</groupId>
433             <artifactId>json</artifactId>
434             <version>20160212</version>
435         </dependency>
436         <dependency>
437             <groupId>org.quartz-scheduler</groupId>
438             <artifactId>quartz</artifactId>
439             <version>2.2.1</version>
440             <exclusions>
441                 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
442                 <exclusion>
443                     <groupId>c3p0</groupId>
444                     <artifactId>c3p0</artifactId>
445                 </exclusion>
446             </exclusions>
447         </dependency>
448         <!-- bridge to implement commons-logging using slf4j -->
449         <dependency>
450             <groupId>org.slf4j</groupId>
451             <artifactId>jcl-over-slf4j</artifactId>
452             <version>1.7.12</version>
453         </dependency>
454         <dependency>
455             <groupId>org.springframework</groupId>
456             <artifactId>spring-context-support</artifactId>
457             <version>${springframework.version}</version>
458         </dependency>
459         <dependency>
460             <groupId>org.springframework</groupId>
461             <artifactId>spring-core</artifactId>
462             <version>${springframework.version}</version>
463             <exclusions>
464                 <exclusion>
465                     <groupId>commons-logging</groupId>
466                     <artifactId>commons-logging</artifactId>
467                 </exclusion>
468             </exclusions>
469         </dependency>
470         <dependency>
471             <groupId>org.springframework</groupId>
472             <artifactId>spring-test</artifactId>
473             <version>${springframework.version}</version>
474         </dependency>
475         <dependency>
476             <groupId>org.springframework</groupId>
477             <artifactId>spring-tx</artifactId>
478             <version>${springframework.version}</version>
479         </dependency>
480         <dependency>
481             <groupId>org.springframework</groupId>
482             <artifactId>spring-web</artifactId>
483             <version>${springframework.version}</version>
484         </dependency>
485         <dependency>
486             <groupId>org.springframework</groupId>
487             <artifactId>spring-webmvc</artifactId>
488             <version>${springframework.version}</version>
489         </dependency>
490         <dependency>
491             <groupId>org.glassfish.jersey.core</groupId>
492             <artifactId>jersey-client</artifactId>
493             <version>2.23.1</version>
494         </dependency>
495         <dependency>
496             <groupId>org.glassfish.jersey.connectors</groupId>
497             <artifactId>jersey-jetty-connector</artifactId>
498             <version>2.23.1</version>
499         </dependency>
500         <dependency>
501             <groupId>com.fasterxml.jackson.jaxrs</groupId>
502             <artifactId>jackson-jaxrs-json-provider</artifactId>
503             <version>2.6.3</version>
504         </dependency>
505         <dependency>
506             <groupId>commons-beanutils</groupId>
507             <artifactId>commons-beanutils</artifactId>
508             <version>1.9.3</version>
509         </dependency>
510         <dependency>
511             <groupId>com.googlecode.json-simple</groupId>
512             <artifactId>json-simple</artifactId>
513             <version>1.1.1</version>
514         </dependency>
515         <dependency>
516             <groupId>org.seleniumhq.selenium</groupId>
517             <artifactId>selenium-java</artifactId>
518             <version>2.53.1</version>
519             <scope>test</scope>
520         </dependency>
521         <dependency>
522             <groupId>org.seleniumhq.selenium</groupId>
523             <artifactId>selenium-api</artifactId>
524             <version>2.53.1</version>
525             <scope>test</scope>
526         </dependency>
527         <dependency>
528             <groupId>org.testng</groupId>
529             <artifactId>testng</artifactId>
530             <version>6.8</version>
531             <scope>test</scope>
532         </dependency>
533         <dependency>
534             <groupId>org.mockito</groupId>
535             <artifactId>mockito-core</artifactId>
536             <version>2.23.0</version>
537             <scope>test</scope>
538         </dependency>
539         <dependency>
540             <groupId>org.seleniumhq.selenium</groupId>
541             <artifactId>selenium-firefox-driver</artifactId>
542             <version>2.53.1</version>
543         </dependency>
544         <dependency>
545             <groupId>xml-apis</groupId>
546             <artifactId>xml-apis</artifactId>
547             <version>1.4.01</version>
548         </dependency>
549         <dependency>
550             <groupId>org.yaml</groupId>
551             <artifactId>snakeyaml</artifactId>
552             <version>1.16</version>
553         </dependency>
554         <dependency>
555             <groupId>org.skyscreamer</groupId>
556             <artifactId>jsonassert</artifactId>
557             <version>1.5.0</version>
558         </dependency>
559         <dependency>
560             <groupId>org.onap.sdc.sdc-tosca</groupId>
561             <artifactId>sdc-tosca</artifactId>
562             <version>1.4.1</version>
563             <scope>compile</scope>
564         </dependency>
565         <dependency>
566             <groupId>net.javacrumbs.json-unit</groupId>
567             <artifactId>json-unit</artifactId>
568             <version>1.23.0</version>
569             <scope>test</scope>
570         </dependency>
571         <dependency>
572             <groupId>org.apache.commons</groupId>
573             <artifactId>commons-text</artifactId>
574             <version>1.1</version>
575         </dependency>
576         <dependency>
577             <groupId>org.hamcrest</groupId>
578             <artifactId>java-hamcrest</artifactId>
579             <version>2.0.0.0</version>
580             <scope>test</scope>
581         </dependency>
582         <dependency>
583             <groupId>org.togglz</groupId>
584             <artifactId>togglz-spring-core</artifactId>
585             <version>2.5.0.Final</version>
586         </dependency>
587         <dependency>
588             <groupId>org.assertj</groupId>
589             <artifactId>assertj-core</artifactId>
590             <version>3.10.0</version>
591             <scope>compile</scope>
592         </dependency>
593     </dependencies>
594 </project>