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 2018/11/08 21:38:15 UTC

[sling-org-apache-sling-servlets-get] branch feature/SLING-7936 updated: SLING-7936 - Execute module integration tests in the launchpad-testing module

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

rombert pushed a commit to branch feature/SLING-7936
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-get.git


The following commit(s) were added to refs/heads/feature/SLING-7936 by this push:
     new b68e987  SLING-7936 - Execute module integration tests in the launchpad-testing module
b68e987 is described below

commit b68e987358f91a50661773289d01f78af1cf9e7e
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Nov 8 22:04:44 2018 +0100

    SLING-7936 - Execute module integration tests in the launchpad-testing module
    
    Deploy a jar with tests. To make sure only the needed ITs are executed, explicitly
    list want we want to include. Legal files must be there, of course.
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index dee4e96..e604fe4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,6 +51,23 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                        <configuration>
+                            <includes>
+                                <include>META-INF/**</include>
+                                <include>**/*IT.class</include>
+                            </includes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>