Skip to content

Commit

Permalink
filter non-final dependencies from the upgrade report
Browse files Browse the repository at this point in the history
  • Loading branch information
chabala committed Oct 21, 2019
1 parent d5c8e02 commit a89dad8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Expand Up @@ -350,6 +350,9 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<rulesUri>${project.baseUri}/src/main/config/versions-maven-rules.xml</rulesUri>
</configuration>
<reportSets>
<reportSet>
<reports>
Expand Down
9 changes: 9 additions & 0 deletions src/main/config/versions-maven-rules.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset comparisonMethod="maven"
xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 https://www.mojohaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">
<ignoreVersions>
<ignoreVersion type="regex">.*-(alpha|beta)(.*)?</ignoreVersion>
</ignoreVersions>
</ruleset>

0 comments on commit a89dad8

Please sign in to comment.