Package org.basepom.mojo.duplicatefinder
Class ConflictingDependency
java.lang.Object
org.basepom.mojo.duplicatefinder.ConflictingDependency
Captures the <exceptions> section from the plugin configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsClass
(String className) boolean
containsResource
(String resource) String[]
String[]
String[]
boolean
isForArtifacts
(Set<org.apache.maven.artifact.Artifact> artifacts) void
setBootClasspath
(boolean bootClasspath) Deprecated.void
setClasses
(String... classes) void
setConflictingDependencies
(org.apache.maven.model.Dependency... conflictingDependencies) void
setCurrentProject
(boolean currentProject) void
setPackages
(String... packages) void
setResourcePatterns
(String... resourcePatterns) void
setResources
(String... resources)
-
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
-
getClasses
-
setClasses
-
getPackages
-
setPackages
-
getResources
-
setResources
-
setCurrentProject
public void setCurrentProject(boolean currentProject) -
setBootClasspath
Deprecated. -
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
-
containsResource
-