From issues-return-126893-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Tue Jan 2 07:11:09 2018 Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A34B417D35 for ; Tue, 2 Jan 2018 07:11:09 +0000 (UTC) Received: (qmail 74480 invoked by uid 500); 2 Jan 2018 07:11:09 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 74429 invoked by uid 500); 2 Jan 2018 07:11:09 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 74417 invoked by uid 99); 2 Jan 2018 07:11:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2018 07:11:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A365FC1195 for ; Tue, 2 Jan 2018 07:11:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Wp4R_4emnUVC for ; Tue, 2 Jan 2018 07:11:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6B56C5F3B5 for ; Tue, 2 Jan 2018 07:11:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EAB07E002B for ; Tue, 2 Jan 2018 07:11:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2E969212F8 for ; Tue, 2 Jan 2018 07:11:01 +0000 (UTC) Date: Tue, 2 Jan 2018 07:11:00 +0000 (UTC) From: "Joel Costigliola (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MJAVADOC-509) additionalParam are overridden when used in maven release plugin ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Joel Costigliola created MJAVADOC-509: ----------------------------------------- Summary: additionalParam are overridden when used in maven release plugin ? Key: MJAVADOC-509 URL: https://issues.apache.org/jira/browse/MJAVADOC-509 Project: Maven Javadoc Plugin Issue Type: Bug Components: javadoc Affects Versions: 3.0.0-M1 Environment: Linux ubuntu 16.04 Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T20:58:13+13:00) Maven home: /home/joel/prog/apache-maven-3.5.2 Java version: 1.8.0_144, vendor: Oracle Corporation Java home: /home/joel/prog/java/jdk1.8.0_144/jre Default locale: en_NZ, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-104-generic", arch: "amd64", family: "unix" Reporter: Joel Costigliola I believe https://issues.apache.org/jira/browse/MJAVADOC-387 introduced a regression as it overrides any value set in {{additionalparam}} which only manifests when using the maven release plugin My open source project ([AssertJ|http://joel-costigliola.github.io/assertj/index.html]) adds javascript to the javadoc footer I thus need to add this parameter to be able to generate the javadoc: {{--allow-script-in-comments}} The {{mvn release:perform}} command failed with this error: {noformat} [INFO] Exit code: 1 - javadoc: error - Argument for -footer contains JavaScript. [INFO] Use --allow-script-in-comments to allow use of JavaScript. {noformat} the debug log shows that the {{--allow-script-in-comments}} parameter I set was not honored: {noformat} [INFO] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar' with basic configurator --> [INFO] [DEBUG] (f) additionalparam = -Xdoclint:none {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)