How to run maven from another directory (without cd to project dir)

use the parameter -f and specify the path to your pom file,

e.g.

mvn -f /path/to/pom.xml

猜你喜欢

转载自sunxboy.iteye.com/blog/1777179
今日推荐