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