[OLINGO-659] Skip unpack for none cobertura build

This commit is contained in:
Michael Bolz 2015-08-13 15:30:15 +02:00
parent 970086ee98
commit b82294e1e8
2 changed files with 27 additions and 1 deletions

View File

@ -23,7 +23,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.olingo</groupId>
<artifactId>odata-lib</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
@ -46,4 +45,30 @@
<module>server-tecsvc</module>
<module>server-test</module>
</modules>
<properties>
<cobertura.skip>true</cobertura.skip>
<!-- exclude proxy tests by default -->
<exclude.regex>.*proxy.*</exclude.regex>
</properties>
<profiles>
<profile>
<id>build.fast</id>
<properties>
<pmd.skip>true</pmd.skip>
<rat.skip>true</rat.skip>
<checkstyle.skip>true</checkstyle.skip>
<exclude.regex>.*(proxy|client).*</exclude.regex>
</properties>
</profile>
<profile>
<id>build.quality</id>
<properties>
<cobertura.skip>false</cobertura.skip>
<!-- nothing excluded -->
<exclude.regex></exclude.regex>
</properties>
</profile>
</profiles>
</project>

View File

@ -95,6 +95,7 @@
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<skip>${cobertura.skip}</skip>
<!--<includes>**/olingo/**/*.class</includes>-->
<!--<excludes>**/*.properties</excludes>-->
<includeGroupIds>${project.groupId}</includeGroupIds>