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
try using -U (aka --update-snapshots) when you run maven
-U
--update-snapshots
And make sure the dependency definition is correct