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
  • From: "Keppler Michael (ETAS/ESW-CI)" <Michael.Keppler@xxxxxxxx>
  • Date: Tue, 20 Apr 2021 11:44:57 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) smtp.rcpttodomain=eclipse.org smtp.mailfrom=etas.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=etas.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NYzXkhudBB/4DFxoMAa/wN8Hr0d4hvzcZjodw/ZrKgM=; b=bH1PwxivAmL2c94vJCmjZ5flbroPcKFO84mnbnAkAO/k3afIZ4XCmN+4vaXbBBWJV+NdF/B0e3oNfEWSIdZtCoUt/y7/wL6y+QMh22rokmfnh4uVIRSzTlJnIwztSlRTPLmI9YHrRucTmOyc4zr8QhqH0QatUFxp8XN6BK0nxIHas5w8tSZSE7fmoUhdnQt+XW/WwQahhoP5ww2Un942kKEGkJO6msz/QgLJNU8EkoB8XFeRa1esQrd1r5Km5dZWCNgTqbu5p5LVhNqISf8XzGsX4D0NUbOOZM8jT34B7Hs1oLzcTynpGTuSxlVpQA3UGiSOALNdvRrZYXq/E2WNdA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=haaW4v8z6UXqXYN2l/f0WXdhO4IiPcQ7iV7WQNpXo7aZWFuZVOshvmZotM+4ah3OhwOACBlfDVZpYBnp6L55hHXQ6jAkKeXO723gQ8oY90qwj5kIhCPemrNUdu7M9RMr7r6TaPIpSoK+V5e0u2dhBcs0aozW+vl8DMC3L78JwlIFscVo8taWIoqYd2ACAE59ul64zYGMyQEKQblZlO6Oc1Zyhk8rY44z3f8R9liISDlx9SU/9nm6DFGInDBaROhKg/gWZ5lHLtZHM0iD0tYCD5+/v4Z52BfcbQaG5nM39EyZ/h2tVGan3tYQazRiAligNMO0KlKmqJpBngclSFpNeg==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-user/>
  • List-help: <mailto:tycho-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXNcnF0+Tix9YCQkCew96oMto7rKq9B9GAgABBU+A=
  • Thread-topic: [tycho-user] Switching to tycho-source-plugin:feature-source causes build failure: Missing requirement

Can you retry after removing the version tag? I vaguely remember that I removed the 'version="0.0.0"' part from all update sites I maintain because of similar dependency problems, but more than a year ago...

Mit freundlichen Grüßen / Best regards

Michael Keppler

LTO Release Engineering (ETAS/ESW-CI) 
Tel. +49 711 3423-2429 | Fax +49 711 89661-0 | Michael.Keppler@xxxxxxxx


-----Ursprüngliche Nachricht-----
Von: tycho-user <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Christoph Läubrich
Gesendet: Dienstag, 20. April 2021 11:50
An: tycho-user@xxxxxxxxxxx
Betreff: 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwik
> i.eclipse.org%2FTycho%2FRelease_Notes%2F2.2%23Tycho_Source_Feature_Gen
> eration_moved_from_tycho_extras_to_tycho_core&amp;data=04%7C01%7Cmicha
> el.keppler%40etas.com%7C8c9c0adb7c094b57998308d903e1a0fb%7C0ae51e1907c
> 84e4bbb6d648ee58410f4%7C0%7C0%7C637545089867149822%7CUnknown%7CTWFpbGZ
> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> D%7C1000&amp;sdata=PSRAXIoc0s%2FIUFJndc%2BVdejNPtYA1FGScknZIEYkcoc%3D&
> amp;reserved=0>
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C01%7Cmicha
> el.keppler%40etas.com%7C8c9c0adb7c094b57998308d903e1a0fb%7C0ae51e1907c
> 84e4bbb6d648ee58410f4%7C0%7C0%7C637545089867159817%7CUnknown%7CTWFpbGZ
> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> D%7C1000&amp;sdata=6Wrdgs3REddZnUCZpYDW1Rc9a0bKgwgmwRM9fONxYZM%3D&amp;
> reserved=0
> 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C8c9c0adb7c094b57998308d903e1a0fb%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637545089867159817%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=6Wrdgs3REddZnUCZpYDW1Rc9a0bKgwgmwRM9fONxYZM%3D&amp;reserved=0


Back to the top