Hi,

After removing $HOME/.m2/repository/org/apache/sling, mvn install at
the top of the sling codebase says:

The project org.apache.sling:org.apache.sling.launchpad.testing:7-SNAPSHOT
has 1 error
[ERROR]     Unresolveable build extension:
Plugin org.apache.sling:maven-launchpad-plugin:2.1.2 or one of its
dependencies could not be resolved:
The following artifacts could not be resolved:
org.apache.sling:org.apache.sling.launchpad.base:jar:2.5.1-SNAPSHOT,
org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.5.1-SNAPSHOT:
...

but the launchpad/testing dependency:tree correctly includes
org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.5.1-SNAPSHOT:compile

Does the launchpad plugin dependency resolution happen before the
actual build and cause this error?

The workaround is to build launchpad/base manually first, but IMO the
build should work on an empty local Maven repo.

SLING-2770 look related but it's not the exact same problem.

-Bertrand

Reply via email to