File: maven.rules

package info (click to toggle)
stapler 1.231-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,632 kB
  • ctags: 6,023
  • sloc: ruby: 25,691; java: 14,050; xml: 863; jsp: 61; makefile: 8; sh: 6
file content (32 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download
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
30
31
32
# 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/

junit junit jar s/4\..*/4.x/ * *
commons-collections commons-collections * s/3\..*/3.x/ * *
s/org.kohsuke/org.ow2.asm/ s/asm5/asm-all/ * s/.*/4.x/ * *
org.codehaus.groovy * * s/.*/1.x/ * *
s/javax.servlet/javax.servlet.jsp/ jsp-api jar s/2\..*/2.1/ * *
javax.servlet servlet-api jar s/2\..*/2.5/ * *
org.jvnet.maven-jellydoc-plugin * * s/.*/1.x/ * *
s/org.jvnet.hudson/org.jenkins-ci/ commons-jelly-tags-define * s/.*/debian/ * *
s/org.jvnet.hudson/org.jenkins-ci/ htmlunit * s/.*/debian/ * *
org.mockito s/mockito-all/mockito-core/ * s/.*/debian/ * *
org.mortbay.jetty jetty * s/6\..*/6.x/ * *
s/org.jvnet.hudson/org.jenkins-ci/ annotation-indexer * s/.*/debian/ * *
s/org.jvnet.hudson.dom4j/org.jenkins-ci.dom4j/ dom4j * s/.*/debian/ * *
s/com.google.code.findbugs/org.jsr-305/ jsr305 * s/.*/0.x/ * *