Bug#878461: maven-debian-helper: version of parent pom cannot be substituted with maven.rules

Markus Koschany apo at debian.org
Fri Oct 13 21:58:22 UTC 2017


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

The version of the parent pom in pom.xml cannot be replaced with a
rule in debian/maven.rules. This behavior can be observed in
src:jackson-dataformat-yaml

The parent pom exists in libjackson2-core-java and is installed into

/usr/share/maven-repo/com/fasterxml/jackson/jackson-parent/2.9.1/jackson-parent-2.9.1.pom

the debian version is located at

/usr/share/maven-repo/com/fasterxml/jackson/jackson-parent/debian/jackson-parent-debian.pom

The relevant part in pom.xml in jackson-dataformat-yaml is:

<parent>
    <groupId>com.fasterxml.jackson</groupId>
    <artifactId>jackson-parent</artifactId>
    <version>2.8</version>
</parent>

Expected behavior:

The following rule will replace version 2.8 with the debian version.

com.fasterxml.jackson jackson-parent * s/.*/debian/ * *

Result: no effect



More information about the pkg-java-maintainers mailing list