Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-73

Improve error message for unsupported type of dependency

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • 2.2.0-beta-1
    • 2.0.0-alpha-4
    • None
    • None

    Description

      <dependency> declaration might contain a type which is not valid at given place, such as import.

      We should definitely make exception message better if that happens.

      IllegalArgumentException : Packaging type import is not supported
      

      As a side note, type can be virtually anything, I'm not sure if we can provide a typesafe enum here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: