You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2014/11/20 17:55:39 UTC

svn commit: r1640766 - /uima/sandbox/uima-ducc/trunk/uima-ducc-container/pom.xml

Author: cwiklik
Date: Thu Nov 20 16:55:39 2014
New Revision: 1640766

URL: http://svn.apache.org/r1640766
Log:
UIMA-4113 Added profile to conditionally execute plugins if -DskipTests is not defined

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-container/pom.xml

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-container/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-container/pom.xml?rev=1640766&r1=1640765&r2=1640766&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-container/pom.xml (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-container/pom.xml Thu Nov 20 16:55:39 2014
@@ -64,7 +64,15 @@
 			<artifactId>uima-ducc-user</artifactId>
 		</dependency>
 	</dependencies>
-  	<build>
+    <profiles>
+	<profile>
+	   <id>run-junit-tests</id>	
+	   <activation>
+	      <!-- Execute the plugins if -DskipTests is not defined -->
+	      <property><name>!skipTests</name></property>
+	   </activation>
+       
+  	   <build>
 		<pluginManagement>
 		   <plugins>
 		      <plugin>
@@ -109,7 +117,6 @@
 		      </plugin>
 		   </plugins>
 		</pluginManagement>
-		
 		<plugins>
 		<plugin>
                <groupId>org.apache.uima</groupId>
@@ -235,6 +242,7 @@
 		</plugins>
 		
 	</build>
-		
+   </profile>
+   </profiles>		
 
 </project>