maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Commented] (MNG-6659) DependencyResolutionResult not fired when dependency resolutions fails
Date Wed, 22 May 2019 16:59:00 GMT


Michael Osipov commented on MNG-6659:

Can you name the code spot?

> DependencyResolutionResult not fired when dependency resolutions fails
> ----------------------------------------------------------------------
>                 Key: MNG-6659
>                 URL:
>             Project: Maven
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.6.1
>            Reporter: Benedikt Ritter
>            Priority: Major
> When dependency resolution starts Maven fires a DependencyResolutionRequest event object.
After dependencies have been resolved a DependencyResolutionResult event is fired. The problem
is, that the result is only fired if dependency resolution is successful. If dependency resolution
fails, one has to listen for ExecutionEvent carrying a LifeCycleException with DependencyResolutionException
as cause. The DependencyResolutionException will have the DependencyResolutionResult containing
the cause of why resolution failed.
> It would be great if the DependencyResolutionResult would be fired as an event even if
dependency resolutions fails.

This message was sent by Atlassian JIRA

View raw message