Skip to content

Commit

Permalink
Use a regex pattern to match possible future multi-release versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmist committed Nov 2, 2023
1 parent aaee28d commit 9e46f75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,9 @@
needed due to a bug in the Maven Shade plugin, which only relocates the content but not
the package structure itself, see https://issues.apache.org/jira/browse/MSHADE-406. -->
<relocation>
<pattern>META-INF/versions/9/org.yaml.snakeyaml</pattern>
<shadedPattern>META-INF/versions/9/net.datafaker.shaded.snakeyaml</shadedPattern>
<pattern>META-INF/versions/(\d+)/org/yaml/snakeyaml</pattern>
<shadedPattern>META-INF/versions/$1/net/datafaker/shaded/snakeyaml</shadedPattern>
<rawString>true</rawString>
</relocation>
<relocation>
<pattern>com.mifmif.common.regex</pattern>
Expand Down

0 comments on commit 9e46f75

Please sign in to comment.