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

uri's in target platform references should also support maven project names #4731

Open
phermsdorf opened this issue Feb 21, 2025 · 1 comment

Comments

@phermsdorf
Copy link
Contributor

Using a maven project name in an uri to reference another target files does not work, if the foldername of the maven project is different than the project name.

Please see discussion #4730 for an example setup.

The workaround to use the maven coordinates works for the build but not in the IDE.
When opening such a target definition the PDE Target Editor shows:

Reading URI mvn:com.company:project.parent:11.0.0-SNAPSHOT:target failed: resolving artifact com.company:project.parent:target:11.0.0-SNAPSHOT failed
Thanks, Bye Peter

@laeubi
Copy link
Member

laeubi commented Feb 21, 2025

Tycho supports several "fallbacks" here and it includes the maven project name already.
So have you made sure that the Maven Name really matches the Eclipse Project Name?

If yes, can you provide an integration-test to demonstrate the issue?

By the way it seems you are now using an URI target with mvn protocol, this works if you install m2e pde extensions to your IDE but you most likely need to install the target project and it needs to include the target file.

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

2 participants