Skip to content

Commit

Permalink
Add a property to disable osgi testsuite run
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Aug 13, 2015
1 parent 1a43923 commit a763188
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion testsuite-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -214,8 +229,13 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>${skipOsgiTestsuite}</skip>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit a763188

Please sign in to comment.