Skip to content

Commit

Permalink
Fixed regex used by versions-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cowwoc committed Jan 1, 2025
1 parent e71242a commit 2665fd4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.cowwoc.pouch</groupId>
<artifactId>root</artifactId>
Expand Down Expand Up @@ -148,15 +149,15 @@
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>.+-(alpha|beta).+|.+-rc-.*</version>
<version>.+(-|\.)(alpha|beta).+|.+-rc(-|\.).*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>(.+-SNAPSHOT|.+-M\d|.+(-|\.)(alpha|beta).+)||.+-rc-.*</version>
<version>(.+-SNAPSHOT|.+(-|\.)M\d|.+(-|\.)(alpha|beta).+)|.+-rc(-|\.).*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
Expand Down

0 comments on commit 2665fd4

Please sign in to comment.