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

bdelacretaz pushed a commit to branch SLING-10224/withMainIT
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-launcher.git

commit b9331cde50c6d7b0b91f81a6e7a1e08c0d06e955
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Wed Mar 17 19:08:38 2021 +0100

    SLING-10224 - adapt tests to detect missing embedded classes
---
 pom.xml                                                | 18 ++++++++++++++++--
 .../launcher/impl/{MainTest.java => MainIT.java}       |  2 +-
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 79cbca8..16b43b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,6 @@
 
     <build>
         <plugins>
-        
                <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
@@ -144,7 +143,22 @@
                     </excludes>
                 </configuration>
             </plugin>
-        </plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-failsafe-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>integration-test</goal>
+                            <goal>verify</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    
<classpathDependencyScopeExclude>compile+runtime</classpathDependencyScopeExclude>
+                </configuration>
+            </plugin>
+          </plugins>
     </build>
 
     <dependencies>
diff --git a/src/test/java/org/apache/sling/feature/launcher/impl/MainTest.java 
b/src/test/java/org/apache/sling/feature/launcher/impl/MainIT.java
similarity index 99%
rename from src/test/java/org/apache/sling/feature/launcher/impl/MainTest.java
rename to src/test/java/org/apache/sling/feature/launcher/impl/MainIT.java
index 13f3431..28aa517 100644
--- a/src/test/java/org/apache/sling/feature/launcher/impl/MainTest.java
+++ b/src/test/java/org/apache/sling/feature/launcher/impl/MainIT.java
@@ -35,7 +35,7 @@ import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
-public class MainTest {
+public class MainIT {
 
     protected static class SystemExitException extends SecurityException {
 

Reply via email to