When run projects from Eclipse with m2e plugin, it could resolve dependencies from Eclipse workspace first. Refer: https://stackoverflow.com/a/34725991/1568658
When running mvn spring-boot:run
from command line, it only searches for projects from maven repository. Which means I have to install the dependencies to maven repository via mvn install
first.
The questions is:
- Is it possible to resolve dependencies from Eclipse workspace when running
mvn spring-boot:run
from command line, before searching maven repository.
This might looks like an unreasonable request, but it could save a lot time, if it's doable.