Invoking the Exec Maven Plugin goal exec:java from any directory

孤街浪徒 提交于 2020-02-06 19:37:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!