Skip to content

[MNG-5227] The 'optional' flag of a dependency should be manageable. #6974

@jira-importer

Description

@jira-importer

Christian Schulte opened MNG-5227 and commented

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>groupId</groupId>
      <artifactId>artifactId</artifactId>
      <version>version</version>
      <optional>false</optional> <!-- Ignored by Maven 2 & 3 in dependency management. -->
    </dependency>
  </dependencies>
</dependencyManagement>

Affects: 3.0.3

Attachments:

Issue Links:

  • MRESOLVER-9 DefaultDependencyCollector does not correctly handle dependency management
    ("is blocked by")

  • MNG-5632 Optional tag in dependencyManagement not inherited - disallow and/or document
    ("is duplicated by")

  • HIVE-27338 JDBC drivers are transitively inherited although declared optional
    ("causes")

  • MNG-5600 Dependency management import should support exclusions.

  • MNG-2984 Allow more control around the configuration and use of optional dependencies

  • MNG-6139 Addition of command line option 'legacy-dependency-management'.
    ("is required by")

  • MNG-4600 [regression] Optional flag from dependency management applied to dependencies
    ("supercedes")

  • MNG-1977 Global dependency exclusions
    ("supercedes")

  • MNG-5959 Can maven provide a features that exclude dependency gloablly
    ("supercedes")

  • MNG-5935 Optional true getting lost in managed dependencies when transitive
    ("is depended upon by")

Remote Links:

6 votes, 14 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions