I have a multi module maven project. All modules are at version 0.0.1 and installed in maven's local repo.
Now I add bnd-baseline-maven-plugin (3.5.0) to my parent pom. I make some changes in one module and update its version. bnd-baseline-maven-plugin works fine for this module but fails for all other with "An error occurred while calculating the baseline: Unable to locate a previous version of the artifact".
What is the proper way to configure it in such scenario?
If I only add it to the module I change, I'd have to remember to add it to other modules when the time comes to first change them. That's less than ideal as I (or someone else) could change and publish them in the future without noticing.
If I keep it the way it is I can no longer run reactor build on all modules. Ideally it should be possible to tell bnd-baseline-maven-plugin "if there is previous version, assume this is the first one and don't complain" but I couldn't find a way to do that.
Best,
Milen