问题
I have been able to run an Eclipse Java Maven project from a Windows shell. However, I am able to do so only by invoking mvn
from the parent directory of the Maven project.
Is it possible to invoke mvn
from any directory? In other words, are there any command line arguments mvn
supports that would allow invocation from any directory? I am not able to gather this from the mvn manual page.
来源:https://stackoverflow.com/questions/58737699/invoking-the-exec-maven-plugin-goal-execjava-from-any-directory