Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build eclipse application repository or site with patch features #3839

Open
GorakhSaste opened this issue May 9, 2024 · 4 comments

Comments

@GorakhSaste
Copy link

This issue is based on https://bugs.eclipse.org/bugs/show_bug.cgi?id=389698

The feature patches are required to introduce new features, since to support the specific plugins to provide customers with the feature patches. unable to create the patch repository for patch feature using maven tycho.

I have created the sample application to reproduce this issue. (attached tycho-patch-feature-example.zip)
In this sample application, com.example.tycho.feature.patch contains feature.xml which will contain below code is added.

<import feature="com.example.tycho.feature" version="1.0.0.qualifier" patch="true"/>

tycho-patch-feature-example.zip

Patch feature is built with maven Tycho, but while create site with com.example.tycho.update.patch for the patch feature then below errors getting.

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:4.0.6:assemble-repository (default-assemble-repository) on project com.example.tycho.update.patch.eclipse-repository: Cannot resolve dependencies of project com.example.tycho:com.example.tycho.update.patch.eclipse-repository:eclipse-repository:1.0.0-SNAPSHOT
[ERROR]  with context {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true}
[ERROR]   Software being installed: com.example.tycho.update.patch.eclipse-repository raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT
[ERROR]   Missing requirement: com.example.tycho.feature.patch.feature.group 1.0.0.202405090622 requires 'org.eclipse.equinox.p2.iu; com.example.tycho.feature.feature.group [1.0.0.qualifier,1.0.0.qualifier]' but it could not be found
[ERROR]   Cannot satisfy dependency: com.example.tycho.update.patch.eclipse-repository raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT depends on: org.eclipse.equinox.p2.iu; com.example.tycho.feature.patch.feature.group [1.0.0,1.0.1): See log for details
[ERROR] -> [Help 1]

Our Project needs a patch feature mechanism support.
Please consider providing support for feature patching.

@GorakhSaste
Copy link
Author

GorakhSaste commented May 15, 2024

Greatly appreciate, if anyone could help and share the support.
Thanks.

@laeubi
Copy link
Member

laeubi commented May 15, 2024

If it is crucial to your business you can find dedicated support options for Tycho here:
https://github.com/eclipse-tycho/tycho#getting-support

@GorakhSaste
Copy link
Author

I need to understand that, latest Maven Tycho is support for the build eclipse application repository or site with patch features or not.

@eric-milles
Copy link

duplicate of #893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants