Class UnpackPluginMojo.RelocatingFileMapper
java.lang.Object
de.iip_ecosphere.platform.tools.maven.dependencies.UnpackPluginMojo.RelocatingFileMapper
- All Implemented Interfaces:
org.codehaus.plexus.components.io.filemappers.FileMapper
- Enclosing class:
UnpackPluginMojo
private class UnpackPluginMojo.RelocatingFileMapper
extends Object
implements org.codehaus.plexus.components.io.filemappers.FileMapper
Used for relocating classpath files, i.e., to rename them with their plugin short (artifactId) name.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsFields inherited from interface org.codehaus.plexus.components.io.filemappers.FileMapper
DEFAULT_ROLE_HINT, ROLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRelocatingFileMapper(String targetName, String pathSuffix, boolean collectIfNotRelocate) Creates a relocating file mapper. -
Method Summary
-
Field Details
-
targetName
-
pathSuffix
-
collectIfNotRelocate
private boolean collectIfNotRelocate
-
-
Constructor Details
-
RelocatingFileMapper
Creates a relocating file mapper.- Parameters:
targetName- the target name to map topathSuffix- optional path suffix for moving the target directory; underlying maven does not seem to consider a changed target path in herecollectIfNotRelocate- collect the file names if we are not relocating
-
-
Method Details
-
getMappedFileName
- Specified by:
getMappedFileNamein interfaceorg.codehaus.plexus.components.io.filemappers.FileMapper
-