You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Markus Joschko <ma...@gmail.com> on 2011/02/15 11:56:05 UTC

Build error

The api version has been changed to 1.0.0 which gives me the following
build error when trying to do a clean compile of trunk:


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.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.api -Dversion=1.0.0
-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.api -Dversion=1.0.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
        2) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.0

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

for artifact:
  org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT

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

Re: Build error

Posted by Markus Joschko <ma...@gmail.com>.
I also had difficulties with the dependency to launchpad.base in
launchpad testing.

And I currently can't get our custom launchpad to work which complains with:

ERROR: Error starting
slinginstall:org.apache.sling.launchpad.installer-1.0.1-SNAPSHOT.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.sling.launchpad.installer [54]: package;
(&(package=org.apache.sling.launchpad.api)(version>=1.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.sling.launchpad.installer [54]: package;
(&(package=org.apache.sling.launchpad.api)(version>=1.0.0))
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1653)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:662)




On Tue, Feb 15, 2011 at 3:11 PM, Justin Edelson
<ju...@justinedelson.com> wrote:
> Sorry about that. I tried to catch all the dependency changes, but I guess I missed this one.
>
> Thanks for catching it.
>
> Justin
>
> On Feb 15, 2011, at 5:56 AM, Markus Joschko <ma...@gmail.com> wrote:
>
>> The api version has been changed to 1.0.0 which gives me the following
>> build error when trying to do a clean compile of trunk:
>>
>>
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.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.api -Dversion=1.0.0
>> -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.api -Dversion=1.0.0
>> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>  Path to dependency:
>>        1) org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
>>        2) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.0
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>>  org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
>>
>> from the specified remote repositories:
>>  apache.snapshots (http://repository.apache.org/snapshots),
>>  central (http://repo1.maven.org/maven2),
>>  jboss (https://repository.jboss.org/nexus/content/repositories/releases/)
>

Re: Build error

Posted by Justin Edelson <ju...@justinedelson.com>.
Sorry about that. I tried to catch all the dependency changes, but I guess I missed this one.

Thanks for catching it.

Justin

On Feb 15, 2011, at 5:56 AM, Markus Joschko <ma...@gmail.com> wrote:

> The api version has been changed to 1.0.0 which gives me the following
> build error when trying to do a clean compile of trunk:
> 
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.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.api -Dversion=1.0.0
> -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.api -Dversion=1.0.0
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>  Path to dependency:
>        1) org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
>        2) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.0
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>  org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
> 
> from the specified remote repositories:
>  apache.snapshots (http://repository.apache.org/snapshots),
>  central (http://repo1.maven.org/maven2),
>  jboss (https://repository.jboss.org/nexus/content/repositories/releases/)

Re: Build error

Posted by Felix Meschberger <fm...@adobe.com>.
Hi Markus

We are currently voting on the release for this (and other launchpad)
bundles. So this is a temporary issue.

In the meantime I have fixed the references such that it should build
again.

Regards
Felix


Am Dienstag, den 15.02.2011, 10:56 +0000 schrieb Markus Joschko: 
> The api version has been changed to 1.0.0 which gives me the following
> build error when trying to do a clean compile of trunk:
> 
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.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.api -Dversion=1.0.0
> -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.api -Dversion=1.0.0
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
>         2) org.apache.sling:org.apache.sling.launchpad.api:jar:1.0.0
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   org.apache.sling:maven-launchpad-plugin:maven-plugin:2.0.11-SNAPSHOT
> 
> from the specified remote repositories:
>   apache.snapshots (http://repository.apache.org/snapshots),
>   central (http://repo1.maven.org/maven2),
>   jboss (https://repository.jboss.org/nexus/content/repositories/releases/)