Bug#907477: maven-debian-helper: does not substitute values of plugins with maven.rules

Markus Koschany apo at debian.org
Tue Aug 28 14:25:25 BST 2018


Package: maven-debian-helper
Version: 2.3
Severity: normal


Currently mina2 version 2.0.16-2 fails to build from source because

Plugin org.apache.xbean:maven-xbean-plugin:4.1 or one of its
dependencies could not be resolved: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the
artifact org.apache.xbean:maven-xbean-plugin:jar:4.1 has not been
downloaded from it before.

I added a new rule to debian/maven.rules

org.apache.xbean maven-xbean-plugin * s/.*/4\.5/ * *

Expected behavior:

The version in src/pom.xml will be tranformed from 4.1 to 4.5.

Result:

Version is still 4.1

Ideally libxbean-java would provide a debian version of
maven-xbean-plugin but that's another story.

Markus

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages maven-debian-helper depends on:
ii  default-jdk                     2:1.10-68
ii  default-jdk-headless            2:1.10-68
ii  libmaven-clean-plugin-java      3.1.0-1
ii  libmaven-compiler-plugin-java   3.8.0-1
ii  libmaven-jar-plugin-java        3.1.0-1
ii  libmaven-resources-plugin-java  3.1.0-1
ii  libmaven-site-plugin-java       3.6-3
ii  libplexus-velocity-java         1.2-3
ii  libsurefire-java                2.21.0-1
ii  libxml2-utils                   2.9.4+dfsg1-7+b1
ii  maven                           3.5.3-1
ii  maven-repo-helper               1.9.3
ii  unzip                           6.0-21
ii  velocity                        1.7-5

maven-debian-helper recommends no packages.

Versions of packages maven-debian-helper suggests:
ii  apt-file                      3.1.6
pn  libmaven-javadoc-plugin-java  <none>
pn  licensecheck                  <none>
ii  subversion                    1.10.2-1

-- no debconf information



More information about the pkg-java-maintainers mailing list