bnd icon indicating copy to clipboard operation
bnd copied to clipboard

[m2e] MavenWorkspaceRepository does not implement source lookup

Open kriegfrj opened this issue 4 years ago • 2 comments

P2Repository and MavenBndRepository have a ~hack~feature where if you attempt to look for a bundle with a BSN name of the form my.fq.bsn.source, it will treat it as an attempt to load the source jar/bundle for my.fq.bsn.

MavenWorkspaceRepository does not support this feature and so source lookup doesn't work properly in m2e.

kriegfrj avatar Aug 04 '20 03:08 kriegfrj

m2e has build in source attachment (go to Preferences -> Maven -> Download Artifact Sources). Is that not sufficient?

rotty3000 avatar Aug 27 '21 14:08 rotty3000

Not for the way Bndtools debug source lookup is written. The .bndrun launch doesn't know anything about m2e's source lookup mechanism.

kriegfrj avatar Aug 27 '21 14:08 kriegfrj

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

github-actions[bot] avatar Nov 13 '22 03:11 github-actions[bot]

This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of Bnd/Bndtools or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.

github-actions[bot] avatar Dec 05 '22 02:12 github-actions[bot]