How to add local project (not jar) as a dependency to a Maven project

Your project B depends on project A and you have already specified this as a dependency in your pom file.
The only reason project B is not able to find project A may be due because of project A artifact is not installed in your local .m2 repository.
So you have to first do a mvn clean install of your project A which will create the artifact in your maven repository.
You should be then able to use artifact A in project B.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)