You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2014/07/15 11:08:12 UTC

Circular dependency around launchpad/base

Hi,

I get the below error if trying to build on a local Maven repo that
does not have org.apache.sling.launchpad.base.

Building launchpad/base first solves the issue.

I guess the issue is that maven-launchpad-plugin depends on
org.apache.sling.launchpad.base:jar:4.4.1-2.5.1-SNAPSHOT, can we move
that dependency to an older, released version?

-Bertrand




$ cd sling
$ rm -rf $HOME/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base
$ mvn clean
...

[ERROR]   The project
org.apache.sling:org.apache.sling.launchpad.testing:7-SNAPSHOT
(/Users/bert/workspace/apache/sling/launchpad/testing/pom.xml) has 1
error

[ERROR]     Unresolveable build extension: Plugin
org.apache.sling:maven-launchpad-plugin:2.3.0 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:4.4.1-2.5.1-SNAPSHOT,
org.apache.sling:org.apache.sling.launchpad.base:jar:app:4.4.1-2.5.1-SNAPSHOT:
Could not find artifact
org.apache.sling:org.apache.sling.launchpad.base:jar:4.4.1-2.5.1-SNAPSHOT
in apache.snapshots (http://repository.apache.org/snapshots) -> [Help
2]