org.apache.maven.plugin.dependency.testUtils
Class DependencyTestUtils
java.lang.Object
org.apache.maven.plugin.dependency.testUtils.DependencyTestUtils
public class DependencyTestUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyTestUtils
public DependencyTestUtils()
removeDirectory
public static void removeDirectory(File dir)
throws IOException
- Deletes a directory and its contents.
- Parameters:
dir
- The base directory of the included and excluded files.
- Throws:
IOException
MojoExecutionException
- When a directory failed to get deleted.
getArtifactFactory
public static ArtifactFactory getArtifactFactory()
throws IllegalAccessException
- Throws:
IllegalAccessException
setVariableValueToObject
public static void setVariableValueToObject(Object object,
String variable,
Object value)
throws IllegalAccessException
- convience method to set values to variables in objects that don't have
setters
- Parameters:
object
- variable
- value
-
- Throws:
IllegalAccessException
setFileModifiedTime
public static void setFileModifiedTime(File file)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.