On 14/06/2020 12:40, Xeno Amess wrote:
every time my update tool chain thinks 20030203.000550 is a greater version
than 2.7 (actually it is, if see it in number).
So have we some way to delete it from maven central? (or rename it?)
The same problem happened in BeanUtils, version 20030211.134440

That's why you can use a set of rules with the Maven versions plugin: https://www.mojohaus.org/versions-maven-plugin/version-rules.html

For instance, here's part of the rules I use:

<rule comparisonMethod="maven" groupId="commons-collections" artifactId="commons-collections">
      <ignoreVersions>
        <!-- Ignore versions using dates -->
        <ignoreVersion type="regex">200[34]\d{4}.*</ignoreVersion>
      </ignoreVersions>
    </rule>

In a similar way, you can exclude alpha, beta, release-candidate and milestone versions. You just need to find the proper regex.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to