You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petr Prochazka (JIRA)" <ji...@codehaus.org> on 2011/02/18 18:53:22 UTC
[jira] Created: (MPLUGIN-181) Escape HTML entities in javadoc
Escape HTML entities in javadoc
-------------------------------
Key: MPLUGIN-181
URL: http://jira.codehaus.org/browse/MPLUGIN-181
Project: Maven 2.x Plugin Tools
Issue Type: New Feature
Components: Plugin Plugin
Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_23
Java home: D:\java\jdk\jre
Default locale: cs_CZ, platform encoding: Cp1250
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Petr Prochazka
Hello,
I am creating plugin, which has as parameter search mask in format {noformat}**/*.xml{noformat}
And I have problem, that sequence of chars */ is parsed as end of javadoc comment. So I created HTML escape sequence of / (/), see example for field:
{noformat} /**
* Comma separated list of mask to include.
*
* @parameter expression="${includes}" default-value="**/*.xml"
*/
private String includes;{noformat}
I will be very happy if HTML escape sequence was unescaped back in calling {{descriptor}} goal :-).
Best regards
Petr Prochazka
--
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: (MPLUGIN-181) Escape HTML entities in javadoc
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies closed MPLUGIN-181.
------------------------------------
Resolution: Not A Bug
Assignee: Benson Margulies
The right to solve this is a java-escape of the forward slash, so: default-value="**\/*.xml"
> Escape HTML entities in javadoc
> -------------------------------
>
> Key: MPLUGIN-181
> URL: https://jira.codehaus.org/browse/MPLUGIN-181
> Project: Maven 2.x Plugin Tools
> Issue Type: New Feature
> Components: Plugin Plugin
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_23
> Java home: D:\java\jdk\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Petr Prochazka
> Assignee: Benson Margulies
>
> Hello,
> I am creating plugin, which has as parameter search mask in format {noformat}**/*.xml{noformat}
> And I have problem, that sequence of chars */ is parsed as end of javadoc comment. So I created HTML escape sequence of / (/), see example for field:
> {noformat} /**
> * Comma separated list of mask to include.
> *
> * @parameter expression="${includes}" default-value="**/*.xml"
> */
> private String includes;{noformat}
> I will be very happy if HTML escape sequence was unescaped back in calling {{descriptor}} goal :-).
> Best regards
> Petr Prochazka
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPLUGIN-181) Escape HTML entities in javadoc
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277648#comment-277648 ]
Benson Margulies commented on MPLUGIN-181:
------------------------------------------
It seems to me that //* comments is an an adequate workaround.
> Escape HTML entities in javadoc
> -------------------------------
>
> Key: MPLUGIN-181
> URL: https://jira.codehaus.org/browse/MPLUGIN-181
> Project: Maven 2.x Plugin Tools
> Issue Type: New Feature
> Components: Plugin Plugin
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_23
> Java home: D:\java\jdk\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Petr Prochazka
>
> Hello,
> I am creating plugin, which has as parameter search mask in format {noformat}**/*.xml{noformat}
> And I have problem, that sequence of chars */ is parsed as end of javadoc comment. So I created HTML escape sequence of / (/), see example for field:
> {noformat} /**
> * Comma separated list of mask to include.
> *
> * @parameter expression="${includes}" default-value="**/*.xml"
> */
> private String includes;{noformat}
> I will be very happy if HTML escape sequence was unescaped back in calling {{descriptor}} goal :-).
> Best regards
> Petr Prochazka
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira