mirror of https://github.com/apache/maven.git
Fix: XML property values should not have CDATA sections.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@697914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e000c61519
commit
2ce56f8aa4
|
@ -130,7 +130,7 @@ public final class ModelProperty
|
|||
*/
|
||||
public String getResolvedValue()
|
||||
{
|
||||
if( resolvedValue != null && !resolvedValue.startsWith ("<![CDATA[")
|
||||
if( !uri.contains("#property") && resolvedValue != null && !resolvedValue.startsWith ("<![CDATA[")
|
||||
&& (resolvedValue.contains( "=" ) || resolvedValue.contains( "<" )))
|
||||
{
|
||||
resolvedValue = "<![CDATA[" + resolvedValue + "]]>";
|
||||
|
|
Loading…
Reference in New Issue