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

    Constructors
    Constructor
    Description
    DependencyArtifactStubFactory(File theWorkingDir, boolean theCreateFiles)
     
    DependencyArtifactStubFactory(File theWorkingDir, boolean theCreateFiles, boolean flattenedPath)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DependencyArtifactStubFactory

      public DependencyArtifactStubFactory(File theWorkingDir, boolean theCreateFiles, boolean flattenedPath)
    • DependencyArtifactStubFactory

      public DependencyArtifactStubFactory(File theWorkingDir, boolean theCreateFiles)
  • 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 class org.apache.maven.plugin.testing.ArtifactStubFactory
      Throws:
      IOException