I sometimes forget how maven works. When you have multiple projects and dependencies among time, sometimes you need to “install” the other artifact before it can be used.
In the dependent project, type:
mvn clean mvn compile mvn install
Then from the depending project, you can successfully type: