Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Dependency Problems when building repository

Hi,

I am in the process of migrating our build from PDE build to tycho.
Plugins and features build just fine but when I reach the repository
(and RCA) build I get the following error:

$ mvn clean package

...

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building KIELER Repository and Product 0.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ de.cau.cs.kieler.repository ---
[INFO] 
[INFO] --- tycho-packaging-plugin:0.14.0:build-qualifier (default-build-qualifier) @ de.cau.cs.kieler.repository ---
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean-1) @ de.cau.cs.kieler.repository ---
[INFO] 
[INFO] --- tycho-source-plugin:0.14.0:plugin-source (plugin-source) @ de.cau.cs.kieler.repository ---
[INFO] 
[INFO] --- tycho-p2-publisher-plugin:0.14.0:publish-products (default-publish-products) @ de.cau.cs.kieler.repository ---
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: de.cau.cs.kieler.repository raw:0.6.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.6.0-SNAPSHOT
[ERROR]   Missing requirement: de.cau.cs.kieler.kiml.ogdf.feature.feature.group 0.4.0.201203130815 requires 'net.ogdf.bin.feature.feature.group 1.0.0.qualifier' but it could not be found
[ERROR]   Cannot satisfy dependency: de.cau.cs.kieler.repository raw:0.6.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.6.0-SNAPSHOT depends on: de.cau.cs.kieler.kiml.ogdf.feature.feature.group [0.4.0,0.4.1)
[ERROR] 

"net.ogdf.bin.feature" is successfully built in the same reactor before:

[INFO] net.ogdf.bin.feature .............................. SUCCESS [0.818s]

$ ls net.ogdf.bin.feature/target/*jar
net.ogdf.bin.feature/target/net.ogdf.bin.feature-1.0.0-SNAPSHOT.jar

Looking at de.cau.cs.kieler.kiml.ogdf.feature/feature.xml reveals:

   <requires>
      <import plugin="de.cau.cs.kieler.kiml"/>
      <import plugin="de.cau.cs.kieler.core"/>
      <import feature="net.ogdf.bin.feature" version="1.0.0.qualifier" match="greaterOrEqual"/>
   </requires>

   <plugin
         id="de.cau.cs.kieler.kiml.ogdf"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

Any ideas how this can be solved?

Many thanks in advance,
Tim Grebien


Back to the top