| 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 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/ |
| 18 |
|
| 19 |
junit junit jar s/4\..*/4.x/ * * |
| 20 |
org.apache.maven maven-embedder jar s/.*/3.x/ * * |
| 21 |
org.apache.maven maven-model-builder jar s/.*/3.x/ * * |
| 22 |
org.apache.maven maven-plugin-api jar s/.*/3.x/ * * |
| 23 |
org.apache.maven maven pom s/.*/3.x/ * * |
| 24 |
org.codehaus.plexus plexus-component-metadata maven-plugin s/.*/1.5.5/ * * |
| 25 |
commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * * |
| 26 |
|
| 27 |
org.sonatype.pmaven pmaven-common jar s/.*/debian/ * * |
| 28 |
org.sonatype.pmaven pmaven-groovy jar s/.*/debian/ * * |
| 29 |
org.sonatype.pmaven pmaven pom s/.*/debian/ * * |