Reputation: 571
I have 3 maven projects 'core', 'client-lib' and 'client'
However mvn install
fails on 'client' with following error
Failed to collect dependencies at myorg:client-lib:jar:RELEASE: Failed to read artifact descriptor for myorg:client-lib:jar:RELEASE: Failed to resolve version for myorg:client-lib:jar:RELEASE -> [Help 1]
I have successfully used version 'RELEASE' to get latest version of dependencies on multiple projects. However, for this particular case it seems to not like it. If I however use specific version, build goes fine.
What am I missing ?
Upvotes: 0
Views: 201
Reputation: 4802
Please try emptying (delete) your Maven cache directory and/or the local repository, then rebuild.
Besides that you can try -U and -X to force updated dependency check and to get more information about what Maven tries to do and dependency resolution.
Upvotes: 1