Occasionally maven complains that a particular dependency, which is built and packaged locally, cannot be found in the local repository while building another project that h
Catch all. When solutions mentioned here don't work(happend in my case), simply delete all contents from '.m2' folder/directory, and do mvn clean install.