I compiled a jar file in one project so it can be consumed in the 2nd one. I can see the jar file in .m2 folder. But in the 2nd project it complains about artifact not found. I
You can also use this command on the command line:
mvn dependency:purge-local-repository clean install