File: maven.rules

package info (click to toggle)
maven-dependency-tree 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 384 kB
  • ctags: 200
  • sloc: java: 1,127; xml: 676; sh: 12; makefile: 4
file content (29 lines) | stat: -rw-r--r-- 1,760 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maven rules - transform Maven dependencies and plugins
# Format of this file is:
# [group] [artifact] [type] [version] [classifier] [scope]
# where each element can be either
# - the exact string, for example org.apache for the group, or 3.1
#   for the version. In this case, the element is simply matched
#   and left as it is
# - * (the star character, alone). In this case, anything will
#   match and be left as it is. For example, using * on the
#  position of the artifact field will match any artifact id
# - a regular expression of the form s/match/replace/
#   in this case, elements that match are transformed using
#   the regex rule.
# All elements much match before a rule can be applied
# Example rule: match jar with groupid= junit, artifactid= junit
# and version starting with 3., replacing the version with 3.x
#   junit junit jar s/3\\..*/3.x/

jmock jmock jar s/1\..*/1.x/ * *
org.apache.maven.shared maven-dependency-tree jar s/.*/debian/ * *
s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * *
org.codehaus.plexus plexus-component-annotations * s/.*/1.5.5/ * *
org.codehaus.plexus plexus-component-metadata maven-plugin s/1.7.1/1.5.5/ * *
s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ * *
s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ * *
org.apache.maven maven-core * s/.*/3.x/ * *
s/org.sonatype.aether/org.apache.maven.resolver/ s/aether-api/maven-resolver-api/ * s/.*/debian/ * *
s/org.eclipse.aether/org.apache.maven.resolver/ s/aether-api/maven-resolver-api/ * s/.*/debian/ * *
s/org.eclipse.aether/org.apache.maven.resolver/ s/aether-util/maven-resolver-util/ * s/.*/debian/ * *