maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MJAVADOC-541) Jenkinsfile withMaven causing JAVA_TOOL_OPTIONS message to be picked up as a Javadoc warning
Date Fri, 23 Nov 2018 10:06:00 GMT

    [ https://issues.apache.org/jira/browse/MJAVADOC-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16696613#comment-16696613
] 

Robert Scholte commented on MJAVADOC-541:
-----------------------------------------

probably duplicate or MJAVADOC-538

> Jenkinsfile withMaven causing JAVA_TOOL_OPTIONS message to be picked up as a Javadoc
warning
> --------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-541
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-541
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
> Maven home: /proj/eiffel004_config/fem163/slaves/RHEL6.9_GE_3/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.4
> Java version: 1.8.0_172, vendor: Oracle Corporation, runtime: /proj/ciexadm200/tools/jdk/8/jdk1.8.0_172/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "2.6.32-696.16.1.el6.x86_64", arch: "amd64", family: "unix"
>            Reporter: Sheikh Arouge Mehdi
>            Priority: Major
>
> When using *withMaven* in our Jenkinsfile, we can see the following message printed in
the log:
> {code:java}
> 17:00:10 ----- withMaven Wrapper script -----
> 17:00:10 Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/proj/eiffel004_config/fem163/slaves/RHEL6.9_GE_3/workspace/javadoc-test@tmp/withMavene04471f1/pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/proj/eiffel004_config/fem163/slaves/RHEL6.9_GE_3/workspace/javadoc-test@tmp/withMavene04471f1"
{code}
> See [https://issues.jenkins-ci.org/browse/JENKINS-42484] for the source on this message.
> This is causing the *maven-javadoc-plugin* to pick it up as a Javadoc error, causing
the build to fail as I've got _failOnWarnings_ enabled.
> Error:
> {code:java}
> 17:00:27 [INFO] --- maven-javadoc-plugin:3.0.1:jar (generate-javadocs) @ javadoc-test-jar
---
> ...
> 17:00:30 [WARNING] Javadoc Warnings
> 17:00:30 [WARNING] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/proj/eiffel004_config/fem163/slaves/RHEL6.9_GE_3/workspace/javadoc-test@tmp/withMavene04471f1/pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/proj/eiffel004_config/fem163/slaves/RHEL6.9_GE_3/workspace/javadoc-test@tmp/withMavene04471f1"
> ...
> 17:00:30 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar
(generate-javadocs) on project javadoc-test-jar: MavenReportException: Error while generating
Javadoc: Project contains Javadoc Warnings -> [Help 1]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message