结合网上的相关资料,要使用Lifecycle下的install 原因好像是Lifecycle下才会走Maven完整的phase。 转载于:https://www.cnblogs.com/xiang--liu/p/11505941.html