Debian Codegraph @

maven-packager-utils/src/test/resources/libplexus-compiler-java.rules

raw
1 # Maven rules - transform Maven dependencies and plugins
2 # Format of this file is:
3 # [group] [artifact] [type] [version] [classifier] [scope]
4 # where each element can be either
5 # - the exact string, for example org.apache for the group, or 3.1
6 # for the version. In this case, the element is simply matched
7 # and left as it is
8 # - * (the star character, alone). In this case, anything will
9 # match and be left as it is. For example, using * on the
10 # position of the artifact field will match any artifact id
11 # - a regular expression of the form s/match/replace/
12 # in this case, elements that match are transformed using
13 # the regex rule.
14 # All elements must match before a rule can be applied
15 # Example rule: match jar with groupid= junit, artifactid= junit
16 # and version starting with 3., replacing the version with 3.x
17 # junit junit jar s/3\..*/3.x/
18
19 junit junit jar s/3\..*/3.x/ * *
20 org.codehaus.plexus plexus-components pom s/1\..*/1.x/ * *
21 org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ * *