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/02/10 21:20:19 UTC

[jira] Created: (MNG-4027) [regression] Injection of dependencies from profiles crashes project builder

[regression] Injection of dependencies from profiles crashes project builder
----------------------------------------------------------------------------

                 Key: MNG-4027
                 URL: http://jira.codehaus.org/browse/MNG-4027
             Project: Maven 2
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 3.0-alpha-2
            Reporter: Benjamin Bentmann


For a POM like
{code:xml}
<dependencies>
</dependencies>

<profiles>
  <profile>
    <id>mng-1412</id>
    <activation>
      <activeByDefault>true</activeByDefault>
    </activation>
    <dependencies>
      <dependency>
        <groupId>org.apache.maven.its.mng1412</groupId>
        <artifactId>d</artifactId>
        <version>0.1</version>
      </dependency>
    </dependencies>
  </profile>
</profiles>
{code}
the project builder aborts with
{noformat}
java.io.IOException: 
org.codehaus.plexus.util.xml.pull.XmlPullParserException: 
Duplicated tag: 'dependencies' (position: START_TAG seen ...</profiles>\r\n<dependencies>... @23:15) :
{noformat}

The IT for MNG-1412 shows this, a corresponding UT will follow soon.

-- 
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-4027) [regression] Injection of dependencies from profiles crashes project builder

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

Shane Isbell closed MNG-4027.
-----------------------------

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

> [regression] Injection of dependencies from profiles crashes project builder
> ----------------------------------------------------------------------------
>
>                 Key: MNG-4027
>                 URL: http://jira.codehaus.org/browse/MNG-4027
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> For a POM like
> {code:xml}
> <dependencies>
> </dependencies>
> <profiles>
>   <profile>
>     <id>mng-1412</id>
>     <activation>
>       <activeByDefault>true</activeByDefault>
>     </activation>
>     <dependencies>
>       <dependency>
>         <groupId>org.apache.maven.its.mng1412</groupId>
>         <artifactId>d</artifactId>
>         <version>0.1</version>
>       </dependency>
>     </dependencies>
>   </profile>
> </profiles>
> {code}
> the project builder aborts with
> {noformat}
> java.io.IOException: 
> org.codehaus.plexus.util.xml.pull.XmlPullParserException: 
> Duplicated tag: 'dependencies' (position: START_TAG seen ...</profiles>\r\n<dependencies>... @23:15) :
> {noformat}
> The IT for MNG-1412 shows this, a corresponding UT will follow soon.

-- 
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-4027) [regression] Injection of dependencies from profiles crashes project builder

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

Benjamin Bentmann updated MNG-4027:
-----------------------------------

    Affects Version/s:     (was: 3.0-alpha-2)
                       3.0-alpha-3

> [regression] Injection of dependencies from profiles crashes project builder
> ----------------------------------------------------------------------------
>
>                 Key: MNG-4027
>                 URL: http://jira.codehaus.org/browse/MNG-4027
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>
> For a POM like
> {code:xml}
> <dependencies>
> </dependencies>
> <profiles>
>   <profile>
>     <id>mng-1412</id>
>     <activation>
>       <activeByDefault>true</activeByDefault>
>     </activation>
>     <dependencies>
>       <dependency>
>         <groupId>org.apache.maven.its.mng1412</groupId>
>         <artifactId>d</artifactId>
>         <version>0.1</version>
>       </dependency>
>     </dependencies>
>   </profile>
> </profiles>
> {code}
> the project builder aborts with
> {noformat}
> java.io.IOException: 
> org.codehaus.plexus.util.xml.pull.XmlPullParserException: 
> Duplicated tag: 'dependencies' (position: START_TAG seen ...</profiles>\r\n<dependencies>... @23:15) :
> {noformat}
> The IT for MNG-1412 shows this, a corresponding UT will follow soon.

-- 
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-4027) [regression] Injection of dependencies from profiles crashes project builder

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

Brett Porter updated MNG-4027:
------------------------------

    Fix Version/s: 3.0-alpha-5

> [regression] Injection of dependencies from profiles crashes project builder
> ----------------------------------------------------------------------------
>
>                 Key: MNG-4027
>                 URL: http://jira.codehaus.org/browse/MNG-4027
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0-alpha-5
>
>
> For a POM like
> {code:xml}
> <dependencies>
> </dependencies>
> <profiles>
>   <profile>
>     <id>mng-1412</id>
>     <activation>
>       <activeByDefault>true</activeByDefault>
>     </activation>
>     <dependencies>
>       <dependency>
>         <groupId>org.apache.maven.its.mng1412</groupId>
>         <artifactId>d</artifactId>
>         <version>0.1</version>
>       </dependency>
>     </dependencies>
>   </profile>
> </profiles>
> {code}
> the project builder aborts with
> {noformat}
> java.io.IOException: 
> org.codehaus.plexus.util.xml.pull.XmlPullParserException: 
> Duplicated tag: 'dependencies' (position: START_TAG seen ...</profiles>\r\n<dependencies>... @23:15) :
> {noformat}
> The IT for MNG-1412 shows this, a corresponding UT will follow soon.

-- 
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