Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6659

DependencyResolutionResult not fired when dependency resolutions fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Dependencies
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              britter Benedikt Ritter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: