The most likely cause is that the failing module doesn’t inherit the repository configuration. Check for which module the dependency resolution
 is failing, and verify the parent(s) of that module. 
  
Regards 
Robias 
  
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Robert Gründler 
Sent: Donnerstag, 18. Oktober 2012 11:59 
To: Tycho user list 
Subject: Re: [tycho-user] Missing requirement confusion 
 
 
  
Hi Wim, 
 
thanks for the feedback. I have already put the repository in pom of project B: 
 
Project A: https://github.com/pulse00/p2-nightly/blob/master/pom.xml
 
Project B: 
https://github.com/pulse00/Composer-Eclipse-Plugin/blob/master/pom.xml 
 
So the repo is present in the  parent poms of both projects, still it can't be resolved in project A. 
 
 
regards 
 
-robert 
 
 
 
 
On Thu, Oct 18, 2012 at 11:10 AM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote: 
I think you have to build a common parent project than contains the repositories. Otherwise also add the repository in the pom of B 
W. 
Hi, 
 
i have 2 project:  
 
Project A contains bundles and a feature. The bundle in project A requires org.apache.commons.exec which is availabe via orbit. I've added the orbit to the repositories of project A's pom.xml 
Project B has Project A as a module and builds a p2 repository from Project A and several other projects 
 
When i build Project A via maven, everything is working fine, all dependencies resolved. 
 
When i build Project B (which has Project A as a submodule), i'm getting Missing requirement: com.dubture.composer.core 0.0.7.qualifier requires 'bundle org.apache.commons.exec 0.0.0' but it could not be found.
 
 
I've tried all different things, which is adding the orbit repo to the parent pom of project B too, but tycho fails to resolve this. 
 
 
Has anyone an idea why this is happening? 
 
 
regards 
 
-robert 
 
 
 
 
 
_______________________________________________ 
tycho-user mailing list 
tycho-user@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/tycho-user 
 
 
  
 
 
_______________________________________________ 
tycho-user mailing list 
tycho-user@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/tycho-user 
 
  
 
 
 |