maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MJAVADOC-429) Parameter 'additionalJOption' broken.
Date Wed, 20 May 2015 23:29:00 GMT
Christian Schulte created MJAVADOC-429:
------------------------------------------

             Summary: 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.3, 2.10.2
         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)

Mime
View raw message