|
1 | 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/maven-v4_0_0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
5 | 4 | <groupId>org.buddycloud</groupId> |
6 | 5 | <artifactId>channelserver</artifactId> |
|
169 | 168 | <phase>test</phase> |
170 | 169 | <configuration> |
171 | 170 | <tasks unless="maven.test.skip"> |
172 | | - <junitreport |
173 | | - todir="target/surefire-reports"> |
174 | | - <fileset |
175 | | - dir="target/surefire-reports"> |
| 171 | + <junitreport todir="target/surefire-reports"> |
| 172 | + <fileset dir="target/surefire-reports"> |
176 | 173 | <include name="**/*.xml" /> |
177 | 174 | </fileset> |
178 | | - <report format="noframes" |
179 | | - todir="target/surefire-reports" /> |
| 175 | + <report format="noframes" todir="target/surefire-reports" /> |
180 | 176 | </junitreport> |
181 | 177 | </tasks> |
182 | 178 | </configuration> |
|
222 | 218 | <target>1.6</target> |
223 | 219 | </configuration> |
224 | 220 | </plugin> |
225 | | - <plugin> |
226 | | - <groupId>org.apache.maven.plugins</groupId> |
227 | | - <artifactId>maven-shade-plugin</artifactId> |
228 | | - <version>2.3</version> |
229 | | - <configuration> |
230 | | - <outputFile>${project.build.directory}/${project.build.finalName}-${project.build.withDependencies}.jar</outputFile> |
231 | | - <transformers> |
232 | | - <transformer |
233 | | - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
234 | | - <mainClass>org.buddycloud.channelserver.Main</mainClass> |
235 | | - </transformer> |
236 | | - </transformers> |
237 | | - </configuration> |
238 | | - <executions> |
239 | | - <execution> |
240 | | - <phase>package</phase> |
241 | | - <goals> |
242 | | - <goal>shade</goal> |
243 | | - </goals> |
244 | | - </execution> |
245 | | - </executions> |
246 | | - </plugin> |
| 221 | + <plugin> |
| 222 | + <groupId>org.apache.maven.plugins</groupId> |
| 223 | + <artifactId>maven-shade-plugin</artifactId> |
| 224 | + <version>2.3</version> |
| 225 | + <configuration> |
| 226 | + <outputFile>${project.build.directory}/${project.build.finalName}-${project.build.withDependencies}.jar</outputFile> |
| 227 | + <transformers> |
| 228 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 229 | + <mainClass>org.buddycloud.channelserver.Main</mainClass> |
| 230 | + </transformer> |
| 231 | + </transformers> |
| 232 | + </configuration> |
| 233 | + <executions> |
| 234 | + <execution> |
| 235 | + <phase>package</phase> |
| 236 | + <goals> |
| 237 | + <goal>shade</goal> |
| 238 | + </goals> |
| 239 | + </execution> |
| 240 | + </executions> |
| 241 | + </plugin> |
247 | 242 | <plugin> |
248 | 243 | <groupId>org.apache.maven.plugins</groupId> |
249 | 244 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
267 | 262 | </execution> |
268 | 263 | </executions> |
269 | 264 | </plugin> |
| 265 | + <plugin> |
| 266 | + <groupId>org.codehaus.mojo</groupId> |
| 267 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 268 | + <version>2.6</version> |
| 269 | + </plugin> |
| 270 | + <plugin> |
| 271 | + <groupId>org.eluder.coveralls</groupId> |
| 272 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 273 | + <version>2.2.0</version> |
| 274 | + <configuration> |
| 275 | + <format>xml</format> |
| 276 | + <maxmem>256m</maxmem> |
| 277 | + <aggregate>true</aggregate> |
| 278 | + <sourceEncoding>UTF-8</sourceEncoding> |
| 279 | + </configuration> |
| 280 | + </plugin> |
270 | 281 | </plugins> |
271 | 282 | </pluginManagement> |
272 | 283 | </build> |
273 | 284 |
|
| 285 | + <reporting> |
| 286 | + <plugins> |
| 287 | + <plugin> |
| 288 | + <groupId>org.codehaus.mojo</groupId> |
| 289 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 290 | + <version>2.6</version> |
| 291 | + <configuration> |
| 292 | + <formats> |
| 293 | + <format>html</format> |
| 294 | + <format>xml</format> |
| 295 | + </formats> |
| 296 | + </configuration> |
| 297 | + </plugin> |
| 298 | + </plugins> |
| 299 | + </reporting> |
| 300 | + |
274 | 301 | </project> |
0 commit comments