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
|
# Maven rules - transform Maven dependencies and plugins
# Format of this file is:
# [group] [artifact] [type] [version]
# 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/3\..*/3.x/
s/^hsqldb/org.hsqldb/ hsqldb jar s/.*/debian/
commons-collections commons-collections jar s/3\..*/3.x/
javax.transaction s/jta/transaction-api/ jar *
s/^ant/org.apache.ant/ ant jar s/.*/debian/
antlr antlr jar s/2\..*/2.x/
s/org.jboss.javaee/org.apache.geronimo.specs/ s/jboss-jacc-api_JDK4/geronimo-jacc_1.1_spec/ jar s/.*/debian/
s/org.hibernate.javax.persistence/org.apache.geronimo.specs/ s/hibernate-jpa-2.0-api/geronimo-jpa_2.0_spec/ jar s/.*/debian/
s/javax.validation/org.apache.geronimo.specs/ s/validation-api/geronimo-validation_1.0_spec/ jar s/.*/debian/
net.sf.ehcache s/ehcache/ehcache-core/ jar s/.*/debian/
|