You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/04/05 08:24:52 UTC
[2/2] syncope git commit: Run only core IT cases by default
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/76c79169
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/76c79169
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/76c79169
Branch: refs/heads/master
Commit: 76c79169ebdbaafde900aff82f0fca6a1a605b1f
Parents: 4fdf1c4
Author: Francesco Chicchiricc� <il...@apache.org>
Authored: Wed Apr 5 10:24:31 2017 +0200
Committer: Francesco Chicchiricc� <il...@apache.org>
Committed: Wed Apr 5 10:24:42 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/76c79169/fit/core-reference/pom.xml
----------------------------------------------------------------------
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index da0a2f6..f109bdc 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>