Class ConflictingDependency

java.lang.Object
org.basepom.mojo.duplicatefinder.ConflictingDependency

public class ConflictingDependency extends Object
Captures the <exceptions> section from the plugin configuration.
  • Constructor Details

    • ConflictingDependency

      public ConflictingDependency()
  • Method Details

    • setConflictingDependencies

      public void setConflictingDependencies(org.apache.maven.model.Dependency[] conflictingDependencies) throws org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
      Throws:
      org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
    • setResourcePatterns

      public void setResourcePatterns(String[] resourcePatterns)
    • getClasses

      public String[] getClasses()
    • setClasses

      public void setClasses(String[] classes)
    • getPackages

      public String[] getPackages()
    • setPackages

      public void setPackages(String[] packages)
    • getResources

      public String[] getResources()
    • setResources

      public void setResources(String[] resources)
    • setCurrentProject

      public void setCurrentProject(boolean currentProject)
    • setBootClasspath

      @Deprecated public void setBootClasspath(boolean bootClasspath)
      Deprecated.
    • getDependencyNames

      public List<String> getDependencyNames()
    • isForArtifacts

      public boolean isForArtifacts(Set<org.apache.maven.artifact.Artifact> artifacts) throws org.apache.maven.artifact.versioning.OverConstrainedVersionException
      Throws:
      org.apache.maven.artifact.versioning.OverConstrainedVersionException
    • containsClass

      public boolean containsClass(String className)
    • containsResource

      public boolean containsResource(String resource)