Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-476

add the ability to ignore dependencies in the analyze-* goals

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10
    • analyze
    • None
    • Patch

    Description

      The dependency plugin is an essential tool to keep any build sane and from going off the rails with stale and bad dependencies. However, there are the few very odd corner cases where a dependency must be on the class path to ensure compilation but it is not detectable from byte code.

      The most prominent example for this are the com.google.code.findbugs:annotations and com.google.code.findbugs:jsr305 jars, which only contain annotations but very often lead to unresolvable compilation problems with both jars present on the classpath.

      The analyze goals should have facilities to

      • list dependencies that should be ignored if they are declared but unused
      • list dependencies that should be ignored if they are undeclared but used
      • list dependencies that should be ignored in either case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            henning Henning Schmiedehausen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: