bnd
bnd copied to clipboard
[m2e] MavenWorkspaceRepository does not implement source lookup
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.
m2e has build in source attachment (go to Preferences -> Maven -> Download Artifact Sources
). Is that not sufficient?
Not for the way Bndtools debug source lookup is written. The .bndrun launch doesn't know anything about m2e's source lookup mechanism.
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.
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.