Closed cdealti closed 4 years ago
Any idea on what can be wrong here?
Any idea on what can be wrong here?
So you're in the interesting position that the baseline version isn't available in any of your configured repositories:
The plugin tries to deal with this by including the release distribution management repository:
Unfortunately I don't think that this doesn't seem to be working for you either. I'd suggest checking that the release really is available somewhere visible in your pom, and if it is then looking around the indicated area of the code...
Your comment has been enlightening.
So you're in the interesting position that the baseline version isn't available in any of your configured repositories:
Adding the Kura release repository to <repositories>
did the trick.
The plugin tries to deal with this by including the release distribution management repository:
Is it still worth to investigate?
Thanks!
I think the issue was one of not having properly configured the pom to make the baseline available. Now that you have made it available, you can properly baseline. So I think we close this issue.
Is it still worth to investigate?
It should probably be investigated. The plugin does try to pick the configured release repository from distributionManagement, which I think should have worked in this case...
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.
Due to #1726 I need to use the latest 3.4.0 snapshot. My configuration of the plugin is [1] and [2].
By following the suggestions of bnd-baseline-maven-plugin I had to set the version of [2] to [1.1.0-SNAPSHOT].
The last released version of this project is 1.0.9 and I want this to be used as the baseline. Instead, the plugin assumes that 1.0.10-SNAPSHOT is the latest version and it looks like I cannot control the baseline.
I've also tried to specify the version of the baseline via the
<base>
configuration but it looks like it searches that version only in the Kura snapshots repository:Do I miss anything obvious?
[1] https://github.com/cdealti/kura/blob/api-analysis/kura/manifest_pom.xml [2] https://github.com/cdealti/kura/blob/api-analysis/kura/org.eclipse.kura.api/pom.xml