Bug#907554: maven-debian-helper: relocations do not work for packaging type pom
Markus Koschany
apo at debian.org
Wed Aug 29 11:25:23 BST 2018
Package: maven-debian-helper
Version: 2.3
Severity: normal
While I was investigating RC bug #906350 in doxia, I discovered that
the root cause of the build failure is the relocation of
org.apache.maven:maven-parent in libmaven-parent-java. Apparently the
idea was to redirect the current version 31 to version 27 again.
libmaven-parent-java.poms:
pom.xml --has-package-version --site-xml=src/site-docs/site.xml --keep-elements=build --relocate=org.apache.maven:maven-parent:27
However now the relocated pom.xml is of packaging type jar and no
longer packaging type pom. Maven complains about that in doxia and
fails.
Ideally this use case should be supported in
maven-debian-helper/maven-repo-helper. Other options are to fix this
in libmaven-parent-java or work around it in doxia.
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