Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] pomless builds and source bundles

Hi,

I’m in the process of trying to switch our build to pomless, but I’m having a problem with the source bundles/feature.

The project is structured as follows:

org.eclipse.remote
|- bundles
|- features
   |- org.eclipse.remote-feature
|- releng
   |- org.eclipse.remote.build
   |- org.eclipse.remote.repo

The main pom.xml is in the org.eclipse.remote/releng/org.eclipse.remote.build directory. I have added pom.xml files to the bundles and features directories to “connect” them to the main pom.xml. This seems to work ok.

The category.xml contains:

   <feature url=“features/org.eclipse.remote.source_0.0.0.jar" id=“org.eclipse.remote.source" version=“0.0.0” />

Source builds are enabled in the main pom.xml and work fine with the original build (using tycho 0.20.0).

For the pomless build, I’m getting the error:

[INFO] --- tycho-p2-repository-plugin:0.24.0:assemble-repository (default-assemble-repository) @ org.eclipse.remote.repo ---
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.remote.repo raw:1.1.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.1.2-SNAPSHOT
[ERROR]   Missing requirement: org.eclipse.remote.repo raw:1.1.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.1.2-SNAPSHOT requires 'org.eclipse.remote.source.feature.group 0.0.0' but it could not be found
[ERROR] 

I checked in the features/org.eclipse.remote-feature/target directory, and it contains org.eclipse.remote-2.0.1-SNAPSHOT-sources-feature.jar, so the sources are being generated.

Can anyone suggest what might be wrong?

Thanks,
Greg



Back to the top