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


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:

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

The main pom.xml is in the org.eclipse.remote/releng/ 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,, 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 ' 0.0.0' but it could not be found

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?


Back to the top