Hi John, On Thu, 2016-10-27 at 13:11 +0000, John Logan wrote: > Hi, > > > Until just recently, I've been able to build the Sling Launchpad > Builder project in isolation by cloning the Sling GitHub repo, and > running 'mvn build' from the builder/launchpad directory.
( I assume you mean mvn install ) > > > I'm now seeing the integration test failure shown at the bottom of > this message. I've looked at the logs for the integration test and > the only errors that I see are: > > > 27.10.2016 06:00:51.782 *ERROR* [qtp1620216741-76] > org.apache.sling.engine.impl.SlingHttpContext handleSecurity: > AuthenticationSupport service missing. Cannot authenticate request. > 27.10.2016 06:00:51.782 *ERROR* [qtp1620216741-76] > org.apache.sling.engine.impl.SlingHttpContext handleSecurity: > Possible reason is missing Repository service. Check > AuthenticationSupport dependencies. > > > and: > > > 27.10.2016 06:00:53.231 *ERROR* [OsgiInstallerImpl] > org.apache.sling.discovery.oak.pinger.OakViewChecker issueHeartbeat: > discoveryService is null > > > I'm using Oracle Java 8 for the build: > > > $ java -version > java version "1.8.0_101" > Java(TM) SE Runtime Environment (build 1.8.0_101-b13) > Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) > > > Should it be possible, in general, to build the stock launchpad in > isolation? If so, does anyone have suggestions on where I should > start looking for problems? Yes, it should be possible. We actually do this on our CI instance and right now it succeeds. https://builds.apache.org/job/sling-launchpad-builder-1.8/ I would try a couple of things. 1. Build using '-U' to pull in the latest snapshots, e.g. mvn -U clean install 2. Manually start the launchpad which was build by Maven, using java -jar target/org.apache.sling.launchpad-9-SNAPSHOT.jar and see if that works for you . If 3. As a last resort, run the build without testing mvn clean install -DskipTests This will build and install the launchpad without running the integration tests. But I'd still like to know why the build fails for you :-) Hope this helps, Robert