[ 
http://jira.codehaus.org/browse/MNG-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-4625.
----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Bentmann

Fixed in [r931545|http://svn.apache.org/viewvc?view=revision&revision=931545].

> Interpolation of settings.xml fails if an expression's value contains XML 
> markup
> --------------------------------------------------------------------------------
>
>                 Key: MNG-4625
>                 URL: http://jira.codehaus.org/browse/MNG-4625
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Settings
>    Affects Versions: 3.0-alpha-7
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-beta-1
>
>
> Using a {{settings.xml}} like
> {code:xml}
> <settings>
>   <profiles>
>     <profile>
>       <id>test</id>
>       <properties>
>         <jdbc.url>${test.prop}</jdbc.url>
>       </properties>
>     </profile>
>   </profiles>
> </settings>
> {code}
> the invocation
> {noformat}
> mvn validate -D "test.prop=&x=y"
> {noformat}
> fails with
> {noformat}
> [ERROR] Error executing Maven.
> [ERROR] 1 problem was encountered while building the effective settings
> [ERROR] Failed to interpolate settings: entity reference name can not contain 
> character =' (position: START_TAG seen ...<jdbc.url>&x=... @7:22)  @
> {noformat}

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

        

Reply via email to