You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@apache.org> on 2015/05/21 01:33:59 UTC

[jira] [Updated] (MJAVADOC-429) Parameter 'additionalJOption' broken.

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

Christian Schulte updated MJAVADOC-429:
---------------------------------------
    Attachment: MJAVADOC-429.zip

Example project demonstrating the issue. Downgrading the plugin version to something < 2.10.2 'mvn javadoc:javadoc' starts working.

> Parameter 'additionalJOption' broken.
> -------------------------------------
>
>                 Key: MJAVADOC-429
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-429
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.2, 2.10.3
>         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
>         Attachments: MJAVADOC-429.zip
>
>
> 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)