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
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
14
# All elements much 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/
2
org.apache.velocity velocity jar s/.*/debian/ * *
19
3
org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ * *
20
4
org.codehaus.plexus plexus-velocity jar s/.*/debian/ * *
21
commons-collections commons-collections * s/2\..*/2.x/ * *
5
commons-collections commons-collections * s/3\..*/3.x/ * *
22
6
s/velocity/org.apache.velocity/ * * s/.*/debian/ * *