added param to allow skiping of unit test

This commit is contained in:
Michael Suzuki
2014-09-09 12:28:49 +01:00
parent 6f3363074e
commit 19701b28c6

View File

@@ -120,6 +120,7 @@
<h2.version>1.3.174</h2.version> <h2.version>1.3.174</h2.version>
<h2-support.version>1.5</h2-support.version> <h2-support.version>1.5</h2-support.version>
<junit.version>4.11</junit.version> <junit.version>4.11</junit.version>
<skip.unit.test>false</skip.unit.test>
</properties> </properties>
<!-- This repository is only needed to retrieve Alfresco parent POM. <!-- This repository is only needed to retrieve Alfresco parent POM.
@@ -850,7 +851,7 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version> <version>2.17</version>
<configuration> <configuration>
<skipTests>true</skipTests> <skipTests>${skip.unit.test}</skipTests>
</configuration> </configuration>
</plugin> </plugin>
<!-- Run integration test with failsafe, with config to fail build if test failure --> <!-- Run integration test with failsafe, with config to fail build if test failure -->