[ http://jira.codehaus.org/browse/MPLUGIN-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved MNG-703 to MPLUGIN-43: ----------------------------------------- Affects Version/s: (was: 2.0-beta-1) Fix Version/s: (was: 2.x) Component/s: (was: Plugin Creation Tools) Key: MPLUGIN-43 (was: MNG-703) Project: Maven 2.x Plugin Tools (was: Maven 2) > 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 > Priority: Minor > > 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