[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