[PORTAL-20,PORTAL-23,PORTAL-32] Repair defects
[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                         <!--
55                         <plugin>
56                             <groupId>org.codehaus.mojo</groupId>
57                             <artifactId>license-maven-plugin</artifactId>
58                             <version>1.10</version>
59                             <configuration>
60                               <encoding>UTF-8</encoding>
61                                 <licenseName>my_license</licenseName>
62                                 <licenseResolver>${project.baseUri}/license</licenseResolver>
63                                 <inceptionYear>2017</inceptionYear>
64                                 <organizationName>AT&amp;T Intellectual Property</organizationName>
65                                 <projectName>ECOMP Portal</projectName> 
66                                 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> 
67                                 <processStartTag>================================================================================</processStartTag>
68                                 <sectionDelimiter>================================================================================</sectionDelimiter>
69                                 <processEndTag>================================================================================</processEndTag> 
70                                 <roots>
71                                         <root>src/main</root>
72                                         <root>src/test</root>
73                                 </roots>
74                                 <excludes>
75                                         <exclude>*.png</exclude>
76                                         <exclude>*.drl</exclude>
77                                         <exclude>*.gif</exclude>
78                                         <exclude>*.jpeg</exclude>
79                                         <exclude>*.jpg</exclude>
80                                         <exclude>*.bmp</exclude>
81                                         <exclude>*.ico</exclude>
82                                         <exclude>*.svg</exclude>
83                                 </excludes>
84                             </configuration>
85                             <executions>
86                                 <execution>
87                                     <id>first</id>
88                                     <goals>
89                                         <goal>update-file-header</goal>
90                                     </goals>
91                                     <phase>process-sources</phase>
92                                 </execution>
93                             </executions>
94                         </plugin>
95                         -->
96                 </plugins>
97
98                 <resources>
99                         <resource>
100                                 <directory>src/test/java</directory>
101                                 <includes>
102                                         <include>**/*Test*.*</include>
103                                 </includes>
104                         </resource>
105                         <resource>
106                                 <directory>src/main/resources</directory>
107                                 <includes>
108                                         <include>**/**</include>
109                                 </includes>
110                         </resource>
111                 </resources>
112         </build>
113
114         <dependencies>
115                 <dependency>
116                         <groupId>junit</groupId>
117                         <artifactId>junit</artifactId>
118                         <version>4.11</version>
119                 </dependency>
120                 <dependency>
121                         <groupId>org.powermock</groupId>
122                         <artifactId>powermock-api-mockito</artifactId>
123                         <version>1.6.1</version>
124                 </dependency>
125                 <dependency>
126                         <groupId>org.powermock</groupId>
127                         <artifactId>powermock-core</artifactId>
128                         <version>1.6.1</version>
129                 </dependency>
130                 <dependency>
131                         <groupId>org.powermock</groupId>
132                         <artifactId>powermock-module-junit4</artifactId>
133                         <version>1.6.1</version>
134                 </dependency>
135                 <dependency>
136                         <groupId>org.mockito</groupId>
137                         <artifactId>mockito-core</artifactId>
138                         <version>1.8.5</version>
139                 </dependency>
140                 <dependency>
141                         <groupId>org.openecomp.portal</groupId>
142                         <artifactId>ecompportal-be-common</artifactId>
143                         <version>${project.version}</version>
144                         <type>jar</type>
145                         <classifier>classes</classifier>
146                 </dependency>
147         </dependencies>
148
149 </project>