score:1

when you run app it resolves artifact from workspace and it doesn't look into maven local repository, when you invoke maven command from eclipse (maven build) it invokes native mvn or embedded in both case it looks up for dependency in local maven repository and it doesn't find it

so to fix this, you run maven build on project b first with goal mvn clean install and then invoke your maven build on project a that will work


Related Query

More Query from same tag