Run Maven Enforcer Plugin rule on command line

后端 未结 4 1773
一个人的身影
一个人的身影 2021-01-17 11:28

I would like to enforce the requireReleaseDeps rule of the Maven Enforcer Plugin on a Maven project without any POM configuration simply as a command line call.

Acco

4条回答
  •  自闭症患者
    2021-01-17 11:55

    It is available from 3.0.0. The Jira issue from accepted answer got resolved: https://issues.apache.org/jira/browse/MENFORCER-142

    mvn enforcer:enforce -Drules=alwaysPass,alwaysFail
    

提交回复
热议问题