[ 
https://issues.apache.org/jira/browse/MJAVADOC-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tony Stevenson deleted MJAVADOC-429:
------------------------------------


> Parameter 'additionalJOption' broken.
> -------------------------------------
>
>                 Key: MJAVADOC-429
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-429
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>         Environment: $ mvn -version
> Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 
> 2015-04-22T13:57:37+02:00)
> Maven home: /home/schulte/Applications/apache-maven-3.3.3
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: /usr/local/jdk-1.7.0/jre
> Default locale: de_DE, platform encoding: UTF-8
>            Reporter: Christian Schulte
>
> Please see the attached example project. Executing 'mvn javadoc:javadoc' the 
> following error occurs with plugin versions 2.10.2 and 2.10.3. This is a 
> regression as that parameter used to work with prior versions.
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc (default-cli) on 
> project javadoc: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - Unrecognized option: -client -J-Dfile.encoding=UTF-8
> [ERROR] Error: Could not create the Java Virtual Machine.
> [ERROR] Error: A fatal exception has occurred. Program will exit.
> [ERROR] 
> [ERROR] Command line was: /usr/local/jdk-1.7.0/jre/../bin/javadoc "-J-client 
> -J-Dfile.encoding=UTF-8" @options @packages
> {code}
> This is due to the plugin surrounding the value of the 'additionalJOption' 
> parameter with quote characters (").



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to