syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/2] syncope git commit: Run only core IT cases by default
Date Wed, 05 Apr 2017 08:24:51 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X b88bcaf2b -> 0eedeb182
  refs/heads/master 4fdf1c435 -> 76c79169e


Run only core IT cases by default


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/0eedeb18
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0eedeb18
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0eedeb18

Branch: refs/heads/2_0_X
Commit: 0eedeb18221afa4dfdb3de750a4790100d038e39
Parents: b88bcaf
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Apr 5 10:24:31 2017 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Apr 5 10:24:31 2017 +0200

----------------------------------------------------------------------
 fit/core-reference/pom.xml | 46 +++++++++++++++++++++++++++++++++++------
 1 file changed, 40 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/0eedeb18/fit/core-reference/pom.xml
----------------------------------------------------------------------
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index 656c695..8b37843 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -206,6 +206,7 @@ under the License.
         </executions>
       </plugin>
 
+      <!-- By default, only core IT cases are run, use the 'full-it' profile for running
all IT cases -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-failsafe-plugin</artifactId>
@@ -214,6 +215,9 @@ under the License.
           <systemPropertyVariables>
             <jaxrsContentType>${jaxrs.content.type}</jaxrsContentType>
           </systemPropertyVariables>
+          <includes>
+            <include>**/org/apache/syncope/fit/core/*ITCase.java</include>
+          </includes>
         </configuration>
         <executions>
           <execution>
@@ -345,16 +349,16 @@ under the License.
       <testResource>
         <directory>src/test/resources</directory>
         <filtering>true</filtering>
-	<excludes>
-	  <exclude>keystore</exclude>
-	</excludes>
+        <excludes>
+          <exclude>keystore</exclude>
+        </excludes>
       </testResource>
       <testResource>
         <directory>src/test/resources</directory>
         <filtering>false</filtering>
-	<includes>
-	  <include>keystore</include>
-	</includes>
+        <includes>
+          <include>keystore</include>
+        </includes>
       </testResource>
       <testResource>
         <directory>${basedir}/../../core/rest-cxf/src/main/resources</directory>
@@ -367,6 +371,36 @@ under the License.
   
   <profiles>
     <profile>
+      <id>full-it</id>
+
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-failsafe-plugin</artifactId>
+            <inherited>true</inherited>
+            <configuration>
+              <systemPropertyVariables>
+                <jaxrsContentType>${jaxrs.content.type}</jaxrsContentType>
+              </systemPropertyVariables>
+              <includes>
+                <include>**/*ITCase.java</include>
+              </includes>
+            </configuration>
+            <executions>
+              <execution>
+                <id>verify</id>
+                <goals>
+                  <goal>verify</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  
+    <profile>
       <id>postgres-it</id>
 
       <properties>


Mime
View raw message