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-org-apache-sling-starter.git
commit 8ef520c879b32278b0a98bad84447091e13fb461 Author: Robert Munteanu <[email protected]> AuthorDate: Fri Oct 2 14:59:29 2020 +0200 SLING-9637 - Re-enable Smoke IT, but only keep the repository available check Configure the build to run the ITs --- pom.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/pom.xml b/pom.xml index 0d0ad5e..56bd885 100644 --- a/pom.xml +++ b/pom.xml @@ -180,6 +180,76 @@ </execution> </executions> </plugin> + <!-- reserve a network port for the integration tests --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>reserve-network-port</id> + <goals> + <goal>reserve-network-port</goal> + </goals> + <phase>pre-integration-test</phase> + <configuration> + <portNames> + <portName>http.port</portName> + </portNames> + </configuration> + </execution> + </executions> + </plugin> + <!-- launch the oak_tar aggregate for the integration tests --> + <plugin> + <groupId>org.apache.sling</groupId> + <artifactId>feature-launcher-maven-plugin</artifactId> + <version>0.1.0</version> + <configuration> + <launches> + <launch> + <id>sling-12-oak-tar</id> + <feature> + <groupId>${project.groupId}</groupId> + <artifactId>${project.artifactId}</artifactId> + <version>${project.version}</version> + <classifier>oak_tar</classifier> + <type>slingosgifeature</type> + </feature> + <launcherArguments> + <frameworkProperties> + <org.osgi.service.http.port>${http.port}</org.osgi.service.http.port> + </frameworkProperties> + </launcherArguments> + </launch> + </launches> + </configuration> + <executions> + <execution> + <goals> + <goal>start</goal> + <goal>stop</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- run the ITs --> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + <configuration> + <systemPropertyVariables> + <launchpad.http.port>${http.port}</launchpad.http.port> + <IT.expected.bundles.count>${IT.expected.bundles.count}</IT.expected.bundles.count> + </systemPropertyVariables> + </configuration> + </plugin> </plugins> <pluginManagement>
