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