Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4070

[regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace

    XMLWordPrintableJSON

Details

    Description

      A parent POM with the coordinate snippet:

      <groupId>
        org.apache.maven.its.mng0680
      </groupId>
      <artifactId>
        parent
      </artifactId>
      <version>
        1.0
      </version>
      <packaging>
        pom
      </packaging>
      

      (note the whitespace!) can't be referenced by children via

      <parent>
        <groupId>org.apache.maven.its.mng0680</groupId>
        <artifactId>parent</artifactId>
        <version>1.0</version>
      </parent>
      

      because the whitespace in the XML is included in the string comparison of the ids.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: