-
Method Summary
void
void
copyFile(Path from,
Path to,
boolean filtering,
org.apache.maven.api.Project mavenProject,
List<String> filters,
boolean escapedBackslashesInFilePath,
String encoding,
org.apache.maven.api.Session mavenSession)
Will copy a file with some filtering using defaultFilterWrappers.
void
-
Method Details
-
copyFile
void copyFile(Path from,
Path to,
boolean filtering,
org.apache.maven.api.Project mavenProject,
List<String> filters,
boolean escapedBackslashesInFilePath,
String encoding,
org.apache.maven.api.Session 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 - Project
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 - Session
- 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.