Package org.apache.maven.plugins.pmd
Class DependencyArtifactStubFactory
java.lang.Object
org.apache.maven.plugin.testing.ArtifactStubFactory
org.apache.maven.plugins.pmd.DependencyArtifactStubFactory
public class DependencyArtifactStubFactory
extends org.apache.maven.plugin.testing.ArtifactStubFactory
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyArtifactStubFactory
(File theWorkingDir, boolean theCreateFiles) DependencyArtifactStubFactory
(File theWorkingDir, boolean theCreateFiles, boolean flattenedPath) -
Method Summary
Methods inherited from class org.apache.maven.plugin.testing.ArtifactStubFactory
createArtifact, createArtifact, createArtifact, createUnpackableFile, getArtifactArtifacts, getClassifiedArtifacts, getFormattedFileName, getGroupIdArtifacts, getMixedArtifacts, getReleaseAndSnapshotArtifacts, getReleaseArtifact, getScopedArtifacts, getSnapshotArtifact, getSrcFile, getTypedArchiveArtifacts, getTypedArtifacts, getUnpackableFileName, getWorkingDir, isCreateFiles, setArtifactFile, setArtifactFile, setCreateFiles, setSrcFile, setUnpackableArtifactFile, setUnpackableArtifactFile, setUnpackableFile, setVariableValueToObject, setWorkingDir
-
Constructor Details
-
DependencyArtifactStubFactory
public DependencyArtifactStubFactory(File theWorkingDir, boolean theCreateFiles, boolean flattenedPath) -
DependencyArtifactStubFactory
-
-
Method Details
-
createArtifact
public org.apache.maven.artifact.Artifact createArtifact(String groupId, String artifactId, org.apache.maven.artifact.versioning.VersionRange versionRange, String scope, String type, String classifier, boolean optional) throws IOException - Overrides:
createArtifact
in classorg.apache.maven.plugin.testing.ArtifactStubFactory
- Throws:
IOException
-