Package: ant-contrib
Version: 1.0~b3+svn177-5
Severity: serious
Tags: patch

Hi,

ant-contrib's installed POM contains 3 dependencies that are
unsatisfiable in the Debian maven repository. This means that
maven-based builds of packages that depend upon it will fail.

The enclosed patch adds a maven.rules file which adjusts these
dependencies so that they can be satisfied by other debian java
packages.

Regards,

Matthew

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
diff -ruN ant-contrib-1.0~b3+svn177/debian/maven.rules ant-contrib-1.0~b3+svn177-new/debian/maven.rules
--- ant-contrib-1.0~b3+svn177/debian/maven.rules	1970-01-01 01:00:00.000000000 +0100
+++ ant-contrib-1.0~b3+svn177-new/debian/maven.rules	2014-02-28 14:01:18.081945556 +0000
@@ -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/ * *
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to