Robert Munteanu created SLING-6074: -------------------------------------- Summary: Healthcheck ITs fail in isolated job on Jenkins Key: SLING-6074 URL: https://issues.apache.org/jira/browse/SLING-6074 Project: Sling Issue Type: Bug Components: Health Check Reporter: Robert Munteanu
Since moving to per-module builds in the ASF Jenkins instance the health check ITs fail, both for Java 7 and Java 8. As far as I what happens is: - the ITs reference SNAPSHOT versions of the HC bundles - these snapshots are referenced from Pax-Exam tests - Pax-Exam tries to reference them using the default Maven settings ( ~/.m2/respository and Maven Central ). But since the snapshots are deployed on repository.apache.org this does not work. This used to work when using reactor builds since the dependencies would be installed locally. The concrete error message is {noformat}1240 [main] WARN org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Error resolving artifactorg.apache.sling:org.apache.sling.hc.samples:jar:1.0.7-SNAPSHOT:Could not find artifact org.apache.sling:org.apache.sling.hc.samples:jar:1.0.7-SNAPSHOT in central (http://repo1.maven.org/maven2/) org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.sling:org.apache.sling.hc.samples:jar:1.0.7-SNAPSHOT in central (http://repo1.maven.org/maven2/){noformat} One possible way out is to modify the pax-exam tests to take into account repository.apache.org. [~bdelacretaz], [~olli] as you know HC and respectively Pax-Exam better, how do you suggest we approach this? -- This message was sent by Atlassian JIRA (v6.3.4#6332)