You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/06/17 20:32:00 UTC

[jira] [Closed] (MNG-6208) maven.javadoc.failOnError=false prevents unit tests to fail on error

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

Michael Osipov closed MNG-6208.
-------------------------------
    Resolution: Incomplete

No sample project given.

> maven.javadoc.failOnError=false prevents unit tests to fail on error
> --------------------------------------------------------------------
>
>                 Key: MNG-6208
>                 URL: https://issues.apache.org/jira/browse/MNG-6208
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.3.9
>         Environment: Jenkins 2.32.3
> Unix server (don't have access for more details)
>            Reporter: LeNouveau
>            Priority: Major
>         Attachments: maven_failedButNotFailed.txt, maven_failedForReal.txt
>
>
> When using the parameter {{-Dmaven.javadoc.failOnError=false}} to prevent my build to fail because of Javadoc, my build does not fail anymore on failed unit tests. 
> I expect this option to only avoid failures from javadoc generation, not for unit tests too. 
> A solution would be to run **mvn** command twice. 



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