You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Connolly (JIRA)" <ji...@apache.org> on 2017/04/25 20:27:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15983562#comment-15983562 ] 

Stephen Connolly commented on MNG-6208:
---------------------------------------

Could you provide a minimal pom sample that reproduces this behaviour? 

> 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
>         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
(v6.3.15#6346)