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 Details

    • targetName

      private String targetName
    • collectIfNotRelocate

      private boolean collectIfNotRelocate
  • Constructor Details

    • RelocatingFileMapper

      private RelocatingFileMapper(String targetName, boolean collectIfNotRelocate)
      Creates a relocating file mapper.
      Parameters:
      targetName - the target name to map to
      collectIfNotRelocate - collect the file names if we are not relocating
  • Method Details

    • getMappedFileName

      public String getMappedFileName(String pName)
      Specified by:
      getMappedFileName in interface org.codehaus.plexus.components.io.filemappers.FileMapper