Repair Portal defects; upgrade Docker build.
[portal.git] / ecomp-portal-BE-common-test / 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
5         <groupId>org.openecomp.portal</groupId>
6         <artifactId>ecomp-portal-BE-common-test</artifactId>
7         <version>1.1.0</version>
8         <packaging>jar</packaging>
9         <name>ecompportal-be-common-test</name>
10
11         <properties>
12                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13                 <!-- <skipTests>true</skipTests> -->
14                 <sonar.exclusions>**.js</sonar.exclusions>
15         </properties>
16
17         <build>
18                 <sourceDirectory>src/main/java</sourceDirectory>
19                 <!-- The war file name carries no version number -->
20                 <finalName>${project.artifactId}</finalName>
21                 <plugins>
22                         <plugin>
23                                 <artifactId>maven-compiler-plugin</artifactId>
24                                 <version>3.1</version>
25                                 <configuration>
26                                         <source>1.8</source>
27                                         <target>1.8</target>
28                                 </configuration>
29                         </plugin>
30                         <plugin>
31                                 <artifactId>maven-war-plugin</artifactId>
32                                 <version>2.6</version>
33                                 <configuration>
34                                         <skipTests>true</skipTests>
35                                         <failOnMissingWebXml>false</failOnMissingWebXml>
36                                         <archive>
37                                                 <manifest>
38                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
39                                                 </manifest>
40                                                 <manifestEntries>
41                                                         <Build-Number>${project.version}.${build.number}</Build-Number>
42                                                         <Build-Time>${maven.build.timestamp}</Build-Time>
43                                                 </manifestEntries>
44                                         </archive>
45                                         <overlays>
46                                                 <!-- specify the order in which these should be applied -->
47                                                 <overlay>
48                                                         <groupId>org.openecomp.portal</groupId>
49                                                         <artifactId>ecompportal-be-common</artifactId>
50                                                 </overlay>
51                                         </overlays>
52                                 </configuration>
53                         </plugin>
54                         <!-- No deployment step for this project -->
55                         <plugin>
56                                 <groupId>org.apache.maven.plugins</groupId>
57                                 <artifactId>maven-deploy-plugin</artifactId>
58                                 <version>2.8</version>
59                                 <configuration>
60                                         <skip>true</skip>
61                                 </configuration>
62                         </plugin>
63                 </plugins>
64
65                 <resources>
66                         <resource>
67                                 <directory>src/test/java</directory>
68                                 <includes>
69                                         <include>**/*Test*.*</include>
70                                 </includes>
71                         </resource>
72                         <resource>
73                                 <directory>src/main/resources</directory>
74                                 <includes>
75                                         <include>**/**</include>
76                                 </includes>
77                         </resource>
78                 </resources>
79         </build>
80
81         <dependencies>
82                 <dependency>
83                         <groupId>junit</groupId>
84                         <artifactId>junit</artifactId>
85                         <version>4.11</version>
86                 </dependency>
87                 <dependency>
88                         <groupId>org.powermock</groupId>
89                         <artifactId>powermock-api-mockito</artifactId>
90                         <version>1.6.1</version>
91                 </dependency>
92                 <dependency>
93                         <groupId>org.powermock</groupId>
94                         <artifactId>powermock-core</artifactId>
95                         <version>1.6.1</version>
96                 </dependency>
97                 <dependency>
98                         <groupId>org.powermock</groupId>
99                         <artifactId>powermock-module-junit4</artifactId>
100                         <version>1.6.1</version>
101                 </dependency>
102                 <dependency>
103                         <groupId>org.mockito</groupId>
104                         <artifactId>mockito-core</artifactId>
105                         <version>1.8.5</version>
106                 </dependency>
107                 <dependency>
108                         <groupId>org.openecomp.portal</groupId>
109                         <artifactId>ecompportal-be-common</artifactId>
110                         <version>${project.version}</version>
111                         <type>jar</type>
112                         <classifier>classes</classifier>
113                 </dependency>
114         </dependencies>
115
116 </project>