public final class ExtractSrcAftifacts extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copyDirectory(File srcPath,
File dstPath)
Copy from one directory to another.
|
static void |
extract(Set<org.apache.maven.artifact.Artifact> artifacts,
String scope,
File outputDirectory)
Filter the artifacts, then extract the artifacts to a directory.
|
public static void extract(Set<org.apache.maven.artifact.Artifact> artifacts, String scope, File outputDirectory) throws IOException
artifacts - a set of artifacts to extractscope - the scope that must match the artifactoutputDirectory - the directory to copy them toIOException - if there is a problem copying or unzipping the filepublic static void copyDirectory(File srcPath, File dstPath) throws IOException
srcPath - the source directory to copy fromdstPath - the directory to copy toIOException - if there is a problem copying files or the directoryCopyright © 2015. All Rights Reserved.