You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/10/17 14:43:00 UTC

[jira] [Commented] (YETUS-558) Provide ability to pass debug (-X) flag to maven

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

Allen Wittenauer commented on YETUS-558:
----------------------------------------

In non-Docker mode, one can set MAVEN_OPTS, BUILD_OPTS, etc directly. Docker mode is a bit trickier, as the assumption is currently that the Docker image will contain the necessary env var bits.  But it should probably be a bit smarter than that.

> Provide ability to pass debug (-X) flag to maven
> ------------------------------------------------
>
>                 Key: YETUS-558
>                 URL: https://issues.apache.org/jira/browse/YETUS-558
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Test Patch
>            Reporter: Mike Drob
>
> Currently, we lack the ability to get debug output from maven, which would be useful when trying to diagnose subtle failures.
> I specifically want the ability to pass the {{-X}} flag to a maven build, which could be done when debug is enabled from the jenkins job.
> More generally, we need a way to set MAVEN_OPTS or even BUILD_OPTS for ant/maven/make/whatever, but both of those ideas are more work than what I'm asking for.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)