[ http://jira.codehaus.org/browse/MJAVADOC-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100531 ]
Benjamin Bentmann commented on MJAVADOC-130: -------------------------------------------- I have to correct myself: The proper options line is -tag "generatorClass:t:Generator Class:" instead of -tag generatorClass:t:"Generator Class:" Putting the quotes just around the tag head causes javadoc to abort with Illegal package name: "Generator Class:" i.e. the parameter gets split up. > Inproper Handling of Tag Definitions > ------------------------------------ > > Key: MJAVADOC-130 > URL: http://jira.codehaus.org/browse/MJAVADOC-130 > Project: Maven 2.x Javadoc Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: JDK 1.5.0_12, Win32 > Reporter: Benjamin Bentmann > Priority: Minor > > Consider the following POM snippet for the Javadoc plugin: > <tags> > <tag> > <name>generatorClass</name> > <head>Generator Class:</head> > <placement>t</placement> > </tag> > <tag> > <name>version</name> > </tag> > <tags> > This leads to the following contents of the options file passed to javadoc: > -tag > "generatorClass:t:'Generator Class:'" > instead of > -tag > generatorClass:t:"Generator Class:" > -tag > version > The single quotation marks produced by the plugin will make it into the > generated HTML output which is not intended. Likewise, specifying the version > tag should allow to reorder the standard tags but the plugin will simply drop > the setting because no further tag option is provided: > A tag option is empty. Ignore this option. -- 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