You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by en...@apache.org on 2014/04/11 17:24:02 UTC

git commit: CLEREZZA-907 An attempt to make Jenkins to skip virtuoso tests gracefully. We use a profile that is activated if the virtuoso.test system property does not exist, and set surefire plugin to exclude all test classes.

Repository: clerezza
Updated Branches:
  refs/heads/master 15a64ed00 -> 1360c9f6f


CLEREZZA-907 An attempt to make Jenkins to skip virtuoso tests gracefully. We use a profile that is activated if the virtuoso.test system property does not exist, and set surefire plugin to exclude all test classes.


Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/1360c9f6
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/1360c9f6
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/1360c9f6

Branch: refs/heads/master
Commit: 1360c9f6f0f4647db44d84737bf46a8c4a9d57e5
Parents: 15a64ed
Author: enridaga <en...@apache.org>
Authored: Fri Apr 11 16:24:01 2014 +0100
Committer: enridaga <en...@apache.org>
Committed: Fri Apr 11 16:24:01 2014 +0100

----------------------------------------------------------------------
 rdf.virtuoso.storage/pom.xml | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/1360c9f6/rdf.virtuoso.storage/pom.xml
----------------------------------------------------------------------
diff --git a/rdf.virtuoso.storage/pom.xml b/rdf.virtuoso.storage/pom.xml
index 3183323..b7c8dc2 100644
--- a/rdf.virtuoso.storage/pom.xml
+++ b/rdf.virtuoso.storage/pom.xml
@@ -142,13 +142,25 @@
 
 	<profiles>
 		<profile>
-			<id>virtuoso-do-tests</id>
+			<id>virtuoso-skip-tests</id>
 			<activation>
-				<activeByDefault>false</activeByDefault>
+				<property>
+					<name>!virtuoso.test</name>
+				</property>
 			</activation>
-			<properties>
-				<virtuoso.test>true</virtuoso.test>
-			</properties>
+		<build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/**</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 		</profile>
 	</profiles>
 	<build>
@@ -157,7 +169,7 @@
 				<artifactId>maven-surefire-plugin</artifactId>
 				<executions>
 					<execution>
-						<id>default-test</id>
+						<id>virtuoso-tests</id>
 						<phase>test</phase>
 						<goals>
 							<goal>test</goal>