a5b51bf601bdeb0969f47b6947d101eafcf07a17
[portal.git] / ecomp-portal-widget-ms / common-widgets / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5         <groupId>org.openecomp.portal</groupId>
6         <artifactId>common-widgets</artifactId>
7         <version>1.3.0-SNAPSHOT</version>
8         <packaging>pom</packaging>
9
10         <properties>
11                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
13         </properties>
14
15         <build>
16
17                 <plugins>
18
19                         <plugin>
20                                 <artifactId>maven-assembly-plugin</artifactId>
21                                 <!-- <version>2.4</version> -->
22                                 <executions>
23                                         <execution>
24                                                 <id>events</id>
25                                                 <phase>prepare-package</phase>
26                                                 <goals>
27                                                         <goal>single</goal>
28                                                 </goals>
29                                                 <configuration>
30                                                         <descriptor>assembly-descriptor-events.xml</descriptor>
31                                                         <!-- final zip archive name -->
32                                                         <finalName>events-widget</finalName>
33                                                         <appendAssemblyId>false</appendAssemblyId>
34                                                 </configuration>
35                                         </execution>
36                                         <execution>
37                                                 <id>news</id>
38                                                 <phase>prepare-package</phase>
39                                                 <goals>
40                                                         <goal>single</goal>
41                                                 </goals>
42                                                 <configuration>
43                                                         <descriptor>assembly-descriptor-news.xml</descriptor>
44                                                         <!-- final zip archive name -->
45                                                         <finalName>news-widget</finalName>
46                                                         <appendAssemblyId>false</appendAssemblyId>
47                                                 </configuration>
48                                         </execution>
49                                         <execution>
50                                                 <id>resources</id>
51                                                 <phase>prepare-package</phase>
52                                                 <goals>
53                                                         <goal>single</goal>
54                                                 </goals>
55                                                 <configuration>
56                                                         <descriptor>assembly-descriptor-resources.xml</descriptor>
57                                                         <!-- final zip archive name -->
58                                                         <finalName>resources-widget</finalName>
59                                                         <appendAssemblyId>false</appendAssemblyId>
60                                                 </configuration>
61                                         </execution>
62                                 </executions>
63                         </plugin>
64
65                         <!-- No deployment step for this project -->
66                         <plugin>
67                                 <groupId>org.apache.maven.plugins</groupId>
68                                 <artifactId>maven-deploy-plugin</artifactId>
69                                 <version>2.8</version>
70                                 <configuration>
71                                         <skip>true</skip>
72                                 </configuration>
73                         </plugin>
74
75                                                 <plugin>
76                                                         <groupId>org.jacoco</groupId>
77                                                         <artifactId>jacoco-maven-plugin</artifactId>
78                                                         <version>0.7.6.201602180812</version>
79                                                         <configuration>
80                                                                 <skip>true</skip>
81                                                         </configuration>
82                                                         <inherited>True</inherited>
83                                                         <executions>
84                                                                 <!-- Unit-Tests -->
85                                                                 <execution>
86                                                                         <id>prepare-agent</id>
87                                                                         <goals>
88                                                                                 <goal>prepare-agent</goal>
89                                                                         </goals>
90                                                                         <phase>test</phase>
91                                                                         <configuration>
92                                                                                 <destFile>${sonar.jacoco.reportPath}</destFile>
93                                                                         </configuration>
94                                                                 </execution>
95                                                                 <execution>
96                                                                         <id>report</id>
97                                                                         <goals>
98                                                                                 <goal>report</goal>
99                                                                         </goals>
100                                                                         <phase>test</phase>
101                                                                         <configuration>
102                                                                                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
103                                                                                 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
104                                                                         </configuration>
105                                                                 </execution>
106                                                         </executions>
107                                                 </plugin>
108                 </plugins>
109         </build>
110
111 </project>