Interface DependencyProperties

All Known Implementing Classes:
DefaultDependencyProperties

@Experimental @Immutable public interface DependencyProperties
Dependency properties supported by Maven Core.
Since:
4.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Boolean flag telling that dependency is meant to be placed on class path.
    static final String
    Boolean flag telling that dependency contains all of its dependencies.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns immutable "map view" of all the properties.
    boolean
    Returns true if given flag is true.
  • Field Details

    • FLAG_INCLUDES_DEPENDENCIES

      static final String FLAG_INCLUDES_DEPENDENCIES
      Boolean flag telling that dependency contains all of its dependencies. Value of this key should be parsed with Boolean.parseBoolean(String) to obtain value.

      Important: this flag must be kept in sync with resolver! (as is used during collection)

      See Also:
    • FLAG_CLASS_PATH_CONSTITUENT

      static final String FLAG_CLASS_PATH_CONSTITUENT
      Boolean flag telling that dependency is meant to be placed on class path. Value of this key should be parsed with Boolean.parseBoolean(String) to obtain value.
      See Also:
  • Method Details