# 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/
s/jdom/org.jdom/ jdom jar s/1\..*/debian/ * *
org.jdom jdom2 jar s/.*/debian/ * *
s/net.sf.kxml/kxml2/ kxml2-min jar s/.*/debian/ * *
s/net.sf.kxml/kxml2/ kxml2 jar s/.*/debian/ * *
org.codehaus.jettison jettison s/bundle/jar/ s/.*/debian/ * *
org.codehaus.woodstox s/wstx-asl/woodstox-core-lgpl/ * s/.*/debian/ * *
xpp3 s/xpp3_min/xpp3/ * s/.*/debian/ * *