SLING-7936 - Execute module integration tests in the launchpad-testing module
Execute ITs from the servlets.get module. For now, the dependency is added
manually to the POM but it should rather inferred by the slingstart-maven-plugin.
Not sure if the maven-surefire-plugin configuration can be automatically augmented.
diff --git a/pom.xml b/pom.xml
index 5651af6..9bcef83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,6 +138,7 @@
<configuration>
<dependenciesToScan>
<dependency>org.apache.sling:org.apache.sling.launchpad.integration-tests</dependency>
+ <dependency>org.apache.sling:org.apache.sling.servlets.get</dependency>
</dependenciesToScan>
<includes>
<include>**/*Test.java</include>
@@ -175,6 +176,15 @@
</exclusions>
</dependency>
+ <!-- TODO - should be automatically added as a dependency by the slingstart-maven-plugin -->
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.servlets.get</artifactId>
+ <version>2.1.37-SNAPSHOT</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+
<!-- depend on the exact same Slingstart version -->
<dependency>
<groupId>org.apache.sling</groupId>