...
We also discussed how to handle tests deployed under the launchpad which test functionality which is only present in SNAPSHOT versions. A proposal was made to use The proposals where:
- Create an annotation/assumption related to the bundles deployed in the Sling launchpad, e.g. \@NeedsBundleVersion(name="org.apache.sling.api", version="2.10.0") or Assume.asumeThat(bundleVersionPresent("org.apache.sling.api", "2.10.0"));
- Use a simple exclusion lists for deactivating tests, ideally using the same mechanism as the one used to switch to snapshot versions
A new pair of Jenkins jobs need to be created, to cover building the unstable launchpad and running the integration tests against it. The launchpad should be deployed with a different classifier, to prevent any mix-ups on repository.apache.org.
Related concepts
Maven 3.5.0 has introduced a concept of CI-friendly-versions ( see more information at https://maven.apache.org/maven-ci-friendly.html ), but it's not clear if we can benefit from this feature.