You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Clemens Wyss <cl...@mysign.ch> on 2011/02/16 11:06:07 UTC

Unable to find resource 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository central (http://repo1.maven.org/maven2)

Hi all,
just checked out the latest sources from the trunk and tried to build Sling. Unfortunately it fails due to a missing (maven) artifact. 
The maven output follows:
...
Downloading: http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.launchpad.base/2.3.0/org.apache.sling.launchpad.base-2.3.0-app.jar

[INFO] Unable to find resource 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.launchpad.base 
-Dversion=2.3.0 -Dclassifier=app -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId=org.apache.
sling.launchpad.base -Dversion=2.3.0 -Dclassifier=app -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.sling:org.apache.sling.launchpad.testing:jar:6-SNAPSHOT
        2) org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0

----------
1 required artifact is missing.

for artifact:
  org.apache.sling:org.apache.sling.launchpad.testing:jar:6-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2)
...


What am I missing?

Thx for your help
Clemens

AW: Unable to find resource 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository central (http://repo1.maven.org/maven2)

Posted by Clemens Wyss <cl...@mysign.ch>.
Thx!

> -----Ursprüngliche Nachricht-----
> Von: Bertrand Delacretaz [mailto:bdelacretaz@apache.org]
> Gesendet: Mittwoch, 16. Februar 2011 11:15
> An: dev@sling.apache.org
> Betreff: Re: Unable to find resource
> 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository
> central (http://repo1.maven.org/maven2)
> 
> Hi,
> 
> On Wed, Feb 16, 2011 at 11:06 AM, Clemens Wyss <cl...@mysign.ch>
> wrote:
> > ...just checked out the latest sources from the trunk and tried to build Sling.
> Unfortunately it fails due to a missing (maven) artifact.
> > The maven output follows:
> > ...
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.launchp
> ad.base/2.3.0/org.apache.sling.launchpad.base-2.3.0-app.jar
> 
> I just fixed that, svn up launchpad should help.
> 
> -Bertrand

Re: Unable to find resource 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository central (http://repo1.maven.org/maven2)

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,

On Wed, Feb 16, 2011 at 11:06 AM, Clemens Wyss <cl...@mysign.ch> wrote:
> ...just checked out the latest sources from the trunk and tried to build Sling. Unfortunately it fails due to a missing (maven) artifact.
> The maven output follows:
> ...
> Downloading: http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.launchpad.base/2.3.0/org.apache.sling.launchpad.base-2.3.0-app.jar

I just fixed that, svn up launchpad should help.

-Bertrand