[ http://jira.codehaus.org/browse/MNG-703?page=all ]
John Casey updated MNG-703: --------------------------- Fix Version: 2.2 > Adding validation in PluginXdocGenerator class? > ----------------------------------------------- > > Key: MNG-703 > URL: http://jira.codehaus.org/browse/MNG-703 > Project: Maven 2 > Type: Bug > Components: Plugin Creation Tools > Versions: 2.0-beta-1 > Reporter: Vincent Siveton > Priority: Minor > Fix For: 2.2 > > > 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