You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/03/06 21:59:13 UTC

[jira] Created: (MNG-4070) [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace

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

                 Key: MNG-4070
                 URL: http://jira.codehaus.org/browse/MNG-4070
             Project: Maven 2
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 3.0-alpha-3
            Reporter: Benjamin Bentmann
            Priority: Minor


A parent POM with the coordinate snippet:
{code:xml}
<groupId>
  org.apache.maven.its.mng0680
</groupId>
<artifactId>
  parent
</artifactId>
<version>
  1.0
</version>
<packaging>
  pom
</packaging>
{code}
(note the whitespace!) can't be referenced by children via
{code:xml}
<parent>
  <groupId>org.apache.maven.its.mng0680</groupId>
  <artifactId>parent</artifactId>
  <version>1.0</version>
</parent>
{code}
because the whitespace in the XML is included in the string comparison of the ids.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-4070) [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-4070.
------------------------------

    Resolution: Fixed

Fixed with model-builder update to 1.7.

> [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace
> ---------------------------------------------------------------------------------------------
>
>                 Key: MNG-4070
>                 URL: http://jira.codehaus.org/browse/MNG-4070
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0-alpha-3
>
>
> A parent POM with the coordinate snippet:
> {code:xml}
> <groupId>
>   org.apache.maven.its.mng0680
> </groupId>
> <artifactId>
>   parent
> </artifactId>
> <version>
>   1.0
> </version>
> <packaging>
>   pom
> </packaging>
> {code}
> (note the whitespace!) can't be referenced by children via
> {code:xml}
> <parent>
>   <groupId>org.apache.maven.its.mng0680</groupId>
>   <artifactId>parent</artifactId>
>   <version>1.0</version>
> </parent>
> {code}
> because the whitespace in the XML is included in the string comparison of the ids.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-4070) [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-4070:
-------------------------------

    Fix Version/s:     (was: 3.0-alpha-5)
                   3.0-alpha-3

> [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace
> ---------------------------------------------------------------------------------------------
>
>                 Key: MNG-4070
>                 URL: http://jira.codehaus.org/browse/MNG-4070
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0-alpha-3
>
>
> A parent POM with the coordinate snippet:
> {code:xml}
> <groupId>
>   org.apache.maven.its.mng0680
> </groupId>
> <artifactId>
>   parent
> </artifactId>
> <version>
>   1.0
> </version>
> <packaging>
>   pom
> </packaging>
> {code}
> (note the whitespace!) can't be referenced by children via
> {code:xml}
> <parent>
>   <groupId>org.apache.maven.its.mng0680</groupId>
>   <artifactId>parent</artifactId>
>   <version>1.0</version>
> </parent>
> {code}
> because the whitespace in the XML is included in the string comparison of the ids.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-4070) [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-4070:
------------------------------

    Fix Version/s: 3.0-alpha-5

> [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace
> ---------------------------------------------------------------------------------------------
>
>                 Key: MNG-4070
>                 URL: http://jira.codehaus.org/browse/MNG-4070
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0-alpha-5
>
>
> A parent POM with the coordinate snippet:
> {code:xml}
> <groupId>
>   org.apache.maven.its.mng0680
> </groupId>
> <artifactId>
>   parent
> </artifactId>
> <version>
>   1.0
> </version>
> <packaging>
>   pom
> </packaging>
> {code}
> (note the whitespace!) can't be referenced by children via
> {code:xml}
> <parent>
>   <groupId>org.apache.maven.its.mng0680</groupId>
>   <artifactId>parent</artifactId>
>   <version>1.0</version>
> </parent>
> {code}
> because the whitespace in the XML is included in the string comparison of the ids.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira