maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Falko Modler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MENFORCER-314) DependencyConvergence fails sporadically with a null message
Date Tue, 30 Oct 2018 09:38:00 GMT

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

Falko Modler commented on MENFORCER-314:
----------------------------------------

[~khmarbaise] Any chance to have one of the PRs integrated into 3.0.0? :)

> DependencyConvergence fails sporadically with a null message
> ------------------------------------------------------------
>
>                 Key: MENFORCER-314
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-314
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 1.4.1, 3.0.0-M1
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Java version: 1.8.0_162, vendor: Oracle Corporation
>            Reporter: Falko Modler
>            Priority: Major
>
> Our Jenkins builds fail sporadically without providing a message:
> {noformat}
> 17:08:28 [WARNING] Rule 4: org.apache.maven.plugins.enforcer.DependencyConvergence failed
with message:
> 17:08:28 null
> {noformat}
> Looking at the code, I suspect that this can happen [on line 132 of the rule|https://github.com/apache/maven-enforcer/blob/enforcer-3.0.0-M2/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java#L132]
when some underlying exception is caught which itself does not provide a (localized) message.
> As the plugin [does not include the cause|https://github.com/apache/maven-enforcer/blob/enforcer-3.0.0-M2/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java#L212]
(unless {{failFast}} is set), you will just see a null message.



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

Mime
View raw message