Maven “versions” plugin - how to exclude alpha/beta versions from response?

后端 未结 1 1478
野的像风
野的像风 2020-12-30 21:52

I have an issue concerning the plugin versions.

When it generates a report with the goal:

mvn versions:display-dependency-updates

I

1条回答
  •  感动是毒
    2020-12-30 22:07

    You can configure the versions plugin like this:

    
        org.codehaus.mojo
        versions-maven-plugin
        2.1
        
            someUrl
        
    
    

    someUrl can also be a file URL. The syntax of the rules file is given in http://www.mojohaus.org/versions-maven-plugin/version-rules.html, it may contain something like this:

    
      
        .*-beta.
        .*_ALPHA
      
    
    

    0 讨论(0)
提交回复
热议问题