Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orbit-dev] Build failed : how to ensure a required dependency is used in the orbit-recipes build? (was Change 78687 in orbit/orbit-recipes[master]: [499378] Add Apache XML RPC 3.1.3)

I have tried to specify the required version (3.0.1 or higher) for an Import-Package statement on org.apache.commons.httpclient, in my recipe for org.apache.xmlrpc.client.

Before there was no version set, and the build worked for the Gerrit push.

But with the version, the build shows a success first :

...

[INFO] Apache XML-RPC Client Library ...................... SUCCESS [  0.535 s]
[INFO] Apache XML-RPC Common Library ...................... SUCCESS [  0.530 s]
[INFO] Apache XML-RPC Server Library ...................... SUCCESS [  0.525 s]

...

but in the install build after this, there is a failure :
[INFO] Computing target platform for MavenProject: org.eclipse.orbit.bundles:org.eclipse.orbit.releng.recipes.feature.aggregation:1.0.0-SNAPSHOT @ /jobs/genie.orbit/gerrit-orbit-recipes/workspace/releng/aggregationfeature/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.orbit.bundles:org.eclipse.orbit.releng.recipes.feature.aggregation:1.0.0-SNAPSHOT @ /jobs/genie.orbit/gerrit-orbit-recipes/workspace/releng/aggregationfeature/pom.xml
[INFO] {osgi.os=*, osgi.ws=*, org.eclipse.update.install.features=true, osgi.arch=*}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.orbit.releng.recipes.feature.aggregation.feature.group 1.0.0.qualifier
[ERROR]   Missing requirement: org.apache.xmlrpc.client 3.1.3.v20160814-1533 requires 'package org.apache.commons.httpclient 3.0.1' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.orbit.releng.recipes.feature.aggregation.feature.group 1.0.0.qualifier depends on: org.apache.xmlrpc.client [3.1.3,3.1.4)


This makes me wonder how the build finds the dependencies it needs for its target platform. 
I could not find any detailed dependencies in the poms, so I'm assuming the Tycho build checks the MANIFESTs to determine the required dependencies.
But I also could not find the spec of the target platform, p2 repos or so.

Is there some setting somewhere to use an Orbit build as repo? The required bundle (org.apache.commons.httpclient) is documented as being part of Orbit...
What is the approach to add dependencies to the orbit.recipse build, that are not themselves in the recipes?
Or am I making another error altogether here?

thanks
erwin

-------- Doorgestuurd bericht --------
Onderwerp: Change 78687 in orbit/orbit-recipes[master]: [499378] Add Apache XML RPC 3.1.3
Datum: Sun, 14 Aug 2016 11:36:12 -0400
Van: Hudson CI (Code Review) <gerrit@xxxxxxxxxxx>
Aan: erwin de ley <erwindl0@xxxxxxxxx>
CC: Roland Grunberg <rgrunber@xxxxxxxxxx>


Hudson CI has posted comments on this change.

Change subject: [499378] Add Apache XML RPC 3.1.3
......................................................................


Patch Set 2: Verified-1

Build Failed 

https://hudson.eclipse.org/orbit/job/gerrit-orbit-recipes/141/ : FAILURE

-- 
To view, visit https://git.eclipse.org/r/78687
To unsubscribe, visit https://git.eclipse.org/r/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4f53b2c8dab566571f6bc8b92a5cde5802f6bcd4
Gerrit-PatchSet: 2
Gerrit-Project: orbit/orbit-recipes
Gerrit-Branch: master
Gerrit-Owner: erwin de ley <erwindl0@xxxxxxxxx>
Gerrit-Reviewer: Hudson CI
Gerrit-Reviewer: Roland Grunberg <rgrunber@xxxxxxxxxx>
Gerrit-HasComments: No

Back to the top