I have got a multi-module Java project which has got inter-module dependency. When I try to build this project using mvn -e --batch-mode release:prepare -DdryRun -DreleaseVersion=1.2.999
it fails with the following error:
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Can't release project due to non released dependencies :
....
This seems to me like a known limitation of release:prepare plugin. What are the possible workarounds?
Apologies if this problem has been posted before...your suggestions would be appreciated.
P.S. This question doesn't have a final convincing answer How to release Maven multi-module project with inter-project dependencies?)
Regards, Benil