You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2022/11/21 08:24:23 UTC

[sling-parent] 01/02: SLING-11681 - Allow overriding the test classes directory for the failsafe plugin - starter-its profile

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git

commit fdae4a64a3b31652cdc1474ba8d0fc3dd7b5d1ac
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Nov 18 18:03:06 2022 +0100

    SLING-11681 - Allow overriding the test classes directory for the failsafe plugin - starter-its profile
    
    Add a new starter-its.failsafeTestClassesDirectory user property, defaulting to surefire's own default property value.
---
 sling-parent/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index 9db1732..35857f6 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -892,6 +892,7 @@
             </activation>
             <properties>
                 <it.startTimeoutSeconds>120</it.startTimeoutSeconds>
+                <starter-its.failsafeTestClassesDirectory>${project.build.testOutputDirectory}</starter-its.failsafeTestClassesDirectory>
             </properties>
             <dependencies>
                 <dependency>
@@ -1051,6 +1052,9 @@
                             <dependenciesToScan>
                                 <dependency>org.apache.sling:org.apache.sling.launchpad.integration-tests</dependency>
                             </dependenciesToScan>
+                            <testClassesDirectory>
+                                ${starter-its.failsafeTestClassesDirectory}
+                            </testClassesDirectory>
                             <includes>
                                 <include>**/*Test.java</include>
                                 <include>**/*IT.java</include>