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

Emit warning when dependency with scope import but inproper type is declared

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

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0.1
    • Dependencies, POM
    • None

    Description

      Import of managed dependencies works only if the managed depencency uses scope import and is of type pom. The latter condition is easily forgotten/overlooked by users which then wonder why the import doesn't work. Maven should emit a validation warning to help troubleshoot this typo.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment