Package: maven-repo-helper
Version: 1.8.12
Severity: wishlist

Dear Maintainer,

POMReader contains a function expandProperties which expands any properties 
infered or specified in the POM into GroupId, ArtifactId, Type and Version for 
each dependancy. However, POMReader does not appear to expand properties 
defined in parent or grandparent POMs. For example, in qpid-java, 
broker-core/pom.xml contains the fragments

  <parent>
    <groupId>org.apache.qpid</groupId>
    <artifactId>qpid-java-build</artifactId>
    <version>6.0.2</version>
  </parent>

  ...

    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-core</artifactId>
      <version>${fasterxml-jackson-version}</version>
    </dependency>

But the property fasterxml-jackson-version is defined in the parent POM.

Ideally POMReader would be able to handle this situation.

Thanks.

Christopher Hoskin

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

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages maven-repo-helper depends on:
ii  default-jre-headless [java2-runtime-headless]    2:1.8-57
ii  libstax-java                                     1.2.0-3
ii  openjdk-8-jre-headless [java2-runtime-headless]  8u91-b14-2

Versions of packages maven-repo-helper recommends:
ii  debhelper  9.20160403

Versions of packages maven-repo-helper suggests:
ii  maven-debian-helper  2.0.7

-- no debconf information

Reply via email to