Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4877

Wrong warning on Maven metaversions for non-plugin dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • None
    • projects - Maven
    • None

    Description

      The editor shows warnings for the LATEST and RELEASE metaversions for regular dependencies, although those metaversions have only been deprecated/removed for plugin versions. The text of the warning is "'[dependencyManagement.]dependencies.dependency.version' for <groupId>:<artifactId>:jar is either LATEST or RELEASE (both of them are being deprecated)". This is incorrect.

      Expected behavior: Don't ever show that warning for <dependency> elements (as opposed to <plugin> elements).

      (There is a hint "No metaversions for plugins". Disabling it doesn't change the behavior for non-plugin versions, which makes sense; but it also indicates that there shouldn't be a warning for non-plugin versions.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            matthies Niklas Matthies
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: