Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2899

One Dependency constructor ignores specified DependencyType

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.5.RELEASE
    • Fix Version/s: 1.2.0.RC1
    • Component/s: @ CORE
    • Labels:
      None

      Description

      The constructor o.s.r.project.Dependency#Dependency(String, String, String, DependencyType, DependencyScope) added in commit
      60ae6a8467e4b5628154f90042d6d45d8fe7f395 ignores the provided DependencyType and uses DependencyType.JAR instead. Despite the JavaDoc correctly describing this behaviour, this is obviously not what was intended and would be a surprise to any developer using this constructor.

      The potential impact of this bug seems small, given that most dependencies are actually JARs.

        Attachments

          Activity

            People

            Assignee:
            aswan Andrew Swan
            Reporter:
            aswan Andrew Swan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: