-
Method Summary
void
void
void
copyFile(File from,
File to,
boolean filtering,
org.apache.maven.project.MavenProject mavenProject,
List<String> filters,
boolean escapedBackslashesInFilePath,
String encoding,
org.apache.maven.execution.MavenSession mavenSession)
Will copy a file with some filtering using defaultFilterWrappers.
void
-
Method Details
-
copyFile
void copyFile(File from,
File to,
boolean filtering,
org.apache.maven.project.MavenProject mavenProject,
List<String> filters,
boolean escapedBackslashesInFilePath,
String encoding,
org.apache.maven.execution.MavenSession mavenSession)
throws MavenFilteringException
Will copy a file with some filtering using defaultFilterWrappers.
- Parameters:
from - file to copy/filter
to - destination file
filtering - enable or not filtering
mavenProject - MavenProject
filters - List of String which are path to a Property file
escapedBackslashesInFilePath - escape backslashes in file path.
encoding - The encoding which is used during the filtering process.
mavenSession - MavenSession
- Throws:
MavenFilteringException - in case of failure.
- See Also:
-
-
copyFile
- Parameters:
mavenFileFilterRequest - the request
- Throws:
MavenFilteringException - in case of failure.
- Since:
- 1.0-beta-3
-
copyFile
- Parameters:
from - The source file
to - The target file
filtering - true to apply filtering
filterWrappers - List of FileUtils.FilterWrapper
encoding - The encoding used during the filtering.
- Throws:
MavenFilteringException - In case of an error.
-
copyFile
- Parameters:
from - The source file
to - The destination file
filtering - true to apply filtering
filterWrappers - The filters to be applied.
encoding - The encoding to use
overwrite - Overwrite to file ?
- Throws:
MavenFilteringException - In case of an error.
- Since:
- 1.0-beta-2