Interface MavenExclusion

All Known Implementing Classes:
MavenExclusionBean

@Modifiable public interface MavenExclusion
Marker to exclude a specific transitive dependency.

Holds an optional classifier and optional extension, in addition to the group ID and artifact ID.

Since:
2.12.0
Author:
Ashley Scopes
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Value used by Eclipse Aether internally to imply a match for any value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the artifact ID.
    default String
    Get the artifact classifier.
    Get the group ID.
    default String
    Get the artifact type.
  • Field Details

    • WILDCARD

      static final String WILDCARD
      Value used by Eclipse Aether internally to imply a match for any value.
      See Also:
  • Method Details

    • getGroupId

      String getGroupId()
      Get the group ID.
      Returns:
      the group ID.
    • getArtifactId

      String getArtifactId()
      Get the artifact ID.
      Returns:
      the artifact ID.
    • getClassifier

      default String getClassifier()
      Get the artifact classifier.
      Returns:
      the classifier, or * by default which implies a match for any classifier.
    • getType

      default String getType()
      Get the artifact type.
      Returns:
      the type, or * by default which implies a match for any type.