Skip to main content

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

Can you try to provide a small example that reproduces the issue?

Its often easier to analyses on those, you can earn some bonus-point if you can even provide a PR with an itest showing the problem so the issue does not occur any time later again :-)

The feature:source goal is mostly a copy of the "old" one but maybe there are some differences / more subtile changes.

Am 20.04.21 um 11:44 schrieb Andreas Sewe:
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>


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



Back to the top