Add a property to disable osgi testsuite run

This commit is contained in:
Trustin Lee 2015-08-13 09:52:46 +09:00
parent 75d6a51d65
commit 80b31bf9c0

View File

@ -30,8 +30,23 @@
<properties>
<exam.version>4.4.0</exam.version>
<skipOsgiTestsuite>false</skipOsgiTestsuite>
</properties>
<profiles>
<profile>
<id>skipTests</id>
<activation>
<property>
<name>skipTests</name>
</property>
</activation>
<properties>
<skipOsgiTestsuite>true</skipOsgiTestsuite>
</properties>
</profile>
</profiles>
<dependencies>
<!-- All release modules -->
<dependency>
@ -154,8 +169,13 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>${skipOsgiTestsuite}</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>