Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Switching to tycho-source-plugin:feature-source causes build failure: Missing requirement

Hi,

I am currently in the process of replacing
tycho-source-feature-plugin:source-feature with
tycho-source-plugin:feature-source. But what according to the release
notes [1] should be a drop-in replacement breaks the build at the
earliest moment: during dependency resolution.

> [ERROR] Cannot resolve project dependencies:
> [ERROR]   Software being installed: update-site raw:0.0.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.1-SNAPSHOT
> [ERROR]   Missing requirement: com.teamscale.ide.eclipse.feature.source.feature.group 0.0.1.202104200825 requires 'org.eclipse.equinox.p2.iu; com.teamscale.ide.eclipse.feature.feature.group [0.0.1.202104200825,0.0.1.202104200825]' but it could not be found
> [ERROR]   Cannot satisfy dependency: update-site raw:0.0.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.1-SNAPSHOT depends on: org.eclipse.equinox.p2.iu; com.teamscale.ide.eclipse.feature.source.feature.group 0.0.0

This is my category.xml from the update-site project:

> <?xml version="1.0" encoding="UTF-8"?>
> <site>
> 	<feature id="com.teamscale.ide.eclipse.feature" version="0.0.0">
> 		<category name="com.teamscale.eclipse.category"/>
> 	</feature>
> 	<feature id="com.teamscale.ide.eclipse.feature.source" version="0.0.0">
> 		<category name="com.teamscale.eclipse.category"/>
> 	</feature>
> 	<category-def name="com.teamscale.eclipse.category" label="Teamscale"/>
> </site>

Can anyone help me with this one? I am really at a loss what to tweak in
my build to make this work. Maybe Christoph, the author of the
feature-source goal, can help.

Best wishes,

Andreas Sewe

[1]
<https://wiki.eclipse.org/Tycho/Release_Notes/2.2#Tycho_Source_Feature_Generation_moved_from_tycho_extras_to_tycho_core>

-- 
Dr. Andreas Sewe | sewe@xxxxxxx | +49 152 56342856
CQSE GmbH | Centa-Hafenbraedl-Strasse 59 | 81249 Muenchen | www.cqse.eu
Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top