Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2102

Groovy-all pom.xml omits <optional> tag for its optional dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1-beta-2
    • 1.1-rc-1
    • groovy-jdk
    • None
    • Maven 2
    • Patch

    Description

      The POM file for groovy-all-1.1-beta-2 has many dependencies commented as optional components but none of them are marked as <optional>true</optional>. This causes bloat in any assemblies that depend on Groovy. The workaround requires the POM for a client project to explicitly exclude each of those unused dependencies.

      The fix is trivial: Just add <optional>true</optional> to each of the dependencies in the POM that were commented as optional (everything but junit).

      Attachments

        1. pom.xml.patch
          5 kB
          Walker Hale

        Activity

          People

            paulk Paul King
            walkerh Walker Hale
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: