[pkg-java] r17827 - trunk/ant-contrib/debian

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Mar 5 23:09:15 UTC 2014


Author: ebourg-guest
Date: 2014-03-05 23:09:15 +0000 (Wed, 05 Mar 2014)
New Revision: 17827

Added:
   trunk/ant-contrib/debian/maven.rules
Modified:
   trunk/ant-contrib/debian/changelog
Log:
Added Maven rules to fix the dependencies in the installed pom



Modified: trunk/ant-contrib/debian/changelog
===================================================================
--- trunk/ant-contrib/debian/changelog	2014-03-05 22:54:25 UTC (rev 17826)
+++ trunk/ant-contrib/debian/changelog	2014-03-05 23:09:15 UTC (rev 17827)
@@ -1,6 +1,8 @@
 ant-contrib (1.0~b3+svn177-6) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Added Maven rules to fix the dependencies in the installed pom.
+    Thanks to Matthew Vernon (Closes: #740350)
   * Removed the --has-package-version pom option since the version of the Maven
     artifact installed is different from the package version.
   * debian/control:

Added: trunk/ant-contrib/debian/maven.rules
===================================================================
--- trunk/ant-contrib/debian/maven.rules	                        (rev 0)
+++ trunk/ant-contrib/debian/maven.rules	2014-03-05 23:09:15 UTC (rev 17827)
@@ -0,0 +1,21 @@
+# 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/bcel/org.apache.bcel/ bcel jar s/5\..*/5.x/ * *
+s/jayasoft/org.apache.ivy/ ivy jar s/.*/debian/ * *
+commons-httpclient commons-httpclient jar s/3\..*/3.x/ * *




More information about the pkg-java-commits mailing list