blob: 308ead1fc31d3ab0e4b9cf4f36d956d3e2666161 [file] [log] [blame]
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04001<?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>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -04005
6 <parent>
7 <groupId>org.onap.portal</groupId>
8 <artifactId>widget-ms-parent</artifactId>
9 <version>1.3.0-SNAPSHOT</version>
10 </parent>
11
Christopher Lott (cl778h)52ef9472017-08-30 16:09:59 -040012 <artifactId>common-widgets</artifactId>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -040013 <packaging>pom</packaging>
14
15 <properties>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18 </properties>
19
20 <build>
21
22 <plugins>
23
24 <plugin>
25 <artifactId>maven-assembly-plugin</artifactId>
26 <!-- <version>2.4</version> -->
27 <executions>
28 <execution>
29 <id>events</id>
30 <phase>prepare-package</phase>
31 <goals>
32 <goal>single</goal>
33 </goals>
34 <configuration>
35 <descriptor>assembly-descriptor-events.xml</descriptor>
36 <!-- final zip archive name -->
37 <finalName>events-widget</finalName>
38 <appendAssemblyId>false</appendAssemblyId>
39 </configuration>
40 </execution>
41 <execution>
42 <id>news</id>
43 <phase>prepare-package</phase>
44 <goals>
45 <goal>single</goal>
46 </goals>
47 <configuration>
48 <descriptor>assembly-descriptor-news.xml</descriptor>
49 <!-- final zip archive name -->
50 <finalName>news-widget</finalName>
51 <appendAssemblyId>false</appendAssemblyId>
52 </configuration>
53 </execution>
54 <execution>
55 <id>resources</id>
56 <phase>prepare-package</phase>
57 <goals>
58 <goal>single</goal>
59 </goals>
60 <configuration>
61 <descriptor>assembly-descriptor-resources.xml</descriptor>
62 <!-- final zip archive name -->
63 <finalName>resources-widget</finalName>
64 <appendAssemblyId>false</appendAssemblyId>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69
70 <!-- No deployment step for this project -->
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-deploy-plugin</artifactId>
74 <version>2.8</version>
75 <configuration>
76 <skip>true</skip>
77 </configuration>
78 </plugin>
79
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -040080 <plugin>
81 <groupId>org.jacoco</groupId>
82 <artifactId>jacoco-maven-plugin</artifactId>
83 <version>0.7.6.201602180812</version>
84 <configuration>
85 <skip>true</skip>
86 </configuration>
87 <inherited>True</inherited>
88 <executions>
89 <!-- Unit-Tests -->
90 <execution>
91 <id>prepare-agent</id>
92 <goals>
93 <goal>prepare-agent</goal>
94 </goals>
95 <phase>test</phase>
96 <configuration>
97 <destFile>${sonar.jacoco.reportPath}</destFile>
98 </configuration>
99 </execution>
100 <execution>
101 <id>report</id>
102 <goals>
103 <goal>report</goal>
104 </goals>
105 <phase>test</phase>
106 <configuration>
107 <dataFile>${sonar.jacoco.reportPath}</dataFile>
108 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400113 </plugins>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400114 </build>
115
116</project>