Run Maven Enforcer Plugin rule on command line

后端 未结 4 1732
一个人的身影
一个人的身影 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 12:12

    It works with the 3.0.0-M3 version:

    mvn org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce -Drules=requireReleaseDeps
    

提交回复
热议问题