You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/02/02 15:44:58 UTC

[jira] Closed: (MPLUGIN-43) Adding validation in PluginXdocGenerator class?

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

Vincent Siveton closed MPLUGIN-43.
----------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 2.4

Used jtidy to fix potential errors

> Adding validation in PluginXdocGenerator class?
> -----------------------------------------------
>
>                 Key: MPLUGIN-43
>                 URL: http://jira.codehaus.org/browse/MPLUGIN-43
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>            Assignee: Vincent Siveton
>            Priority: Minor
>             Fix For: 2.4
>
>
> If we call the plugin:xdoc goal on a mojo defined like the following:
> /**
>  * Generates something <b> for the project.
>  *  
>  * @goal agoal
>  */
> The generated file (mymojo-mojo.xml) is not valid but the build is successful.
> Thus, the site:site goal generates the following exception:
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: end tag name </p> must be the same as start tag <b> from line 7 (position: TEXT seen ...<b> Checkstyle definitions defined by the project.</p>... @7:150)
> I think that the PluginXdocGenerator class should validate the generated file.

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