Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-331

Maven-enforcer-plugin's use of aether-util in transitive dependency

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Dependency upgrade
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-M3
    • Component/s: Standard Rules
    • Labels:
      None

      Description

      Hi Maven developers,
      (following "Contributing" section of maven-enforcer-plugin)
       
      I'm thinking to raise a PR to fix an issue below, so that maven-enforcer-plugin can work with maven-resolver-util without explicit "exclusion" element. Let me know what you think!
      While writing a custom enforcer rule, I encountered NoSuchMethodError org.eclipse.aether.util.ConfigUtils.getFloat. I believe it is caused by transitive dependency in org.eclipse.aether:aether-util. The class is also in org.apache.maven.resolver:maven-resolver-util:1.3.1. A workaround with exclusion element just worked fine for me but I'd like to contribute to fix the root cause if possible.

        Attachments

          Activity

            People

            • Assignee:
              eolivelli Enrico Olivelli
              Reporter:
              suztomo Tomo Suzuki

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 167h 50m
                167h 50m
                Logged:
                Remaining Estimate - 167h 50m
                10m

                  Issue deployment