[ https://jira.codehaus.org/browse/MJAVADOC-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=345103#comment-345103 ]
Martin Desruisseaux commented on MJAVADOC-368: ---------------------------------------------- This is also a problem for the new JDK8 {{-Xdoclint}} option. For example: {noformat} <additionalparam>-Xdoclint:syntax,missing,accessibility</additionalparam> {noformat} produces the given lines in the {{options}} file generated by Maven: {noformat} -Xdoclint:syntax missing accessibility {noformat} It seems that Maven replaced the coma by line separator. Adding quote does not prevent that. This behavior is not documented in the [plugin goal|http://maven.apache.org/plugins/maven-javadoc-plugin/aggregate-mojo.html#additionalparam]. > Can not use a comma (,) in option additionalparam > ------------------------------------------------- > > Key: MJAVADOC-368 > URL: https://jira.codehaus.org/browse/MJAVADOC-368 > Project: Maven Javadoc Plugin > Issue Type: Bug > Affects Versions: 2.9 > Reporter: Andy Schönemann > > I would like to set an additional parameter for javadoc like > {{<additionalparam>-header 'A,B'</additionalparam>}} > But this is not possible! Every comma here separates the string into > different parameters. So I'm not able to set parameters including commas. > Furthermore, the options name is {{additionalparam}} and NOT > {{additionalparamS}}. So it should not be possible to set multiple parameters > here. > I also tried > {{<additionalparam>-header 'A,B'</additionalparam>}} > but this doesn't work either. > [Plugin > documentation|http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#additionalparam] > -- This message was sent by Atlassian JIRA (v6.1.6#6162)