[
https://issues.apache.org/jira/browse/MANTRUN-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403289#comment-16403289
]
Evgeny commented on MANTRUN-207:
--------------------------------
It is also true if I don't use a CDATA (just plain text) and include only
<attribute/> node without any <element/> node.
> scriptdef ignores CDATA when there is also an element
> -----------------------------------------------------
>
> Key: MANTRUN-207
> URL: https://issues.apache.org/jira/browse/MANTRUN-207
> Project: Maven Antrun Plugin
> Issue Type: Bug
> Affects Versions: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8
> Environment: Windows 10 64bit, java 1.8.0_151, maven 3.5.0
> Reporter: Matteo Steccolini
> Priority: Major
> Attachments: build-main.xml, pom.xml
>
>
> When I put a CDATA node inside a scriptdef which has also an element node,
> the cdata is ignored. You can see it in the attached build-main.xml that is
> generated from the attached pom.xml (mvn antrun:run@hello).
> When I though I might be doing something wrong I wrote this question on
> stackoverflow:
> [https://stackoverflow.com/questions/47796805/maven-antrun-plugin-scriptdef-ignores-cdata-when-i-add-an-element]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)