Class UnpackPluginMojo.ClasspathFile

java.lang.Object
de.iip_ecosphere.platform.tools.maven.dependencies.UnpackPluginMojo.ClasspathFile
Enclosing class:
UnpackPluginMojo

private static class UnpackPluginMojo.ClasspathFile extends Object
Stores classpath file names with additional information for moving in the file system.
  • Field Details

    • name

      private String name
    • origPath

      private String origPath
    • pathSuffix

      private String pathSuffix
  • Constructor Details

    • ClasspathFile

      private ClasspathFile(String name)
      Classpath file without need for moving.
      Parameters:
      name - the name/path of the file
    • ClasspathFile

      private ClasspathFile(String name, String origPath, String pathSuffix)
      Classpath file with need for moving.
      Parameters:
      name - the name/path of the file
      origPath - the original path the file is located in
      pathSuffix - path addition causing the move
  • Method Details

    • getName

      private String getName()
      The name of the classpath file.
      Returns:
      the name, original before move/processing, modified after
    • preprocess

      private void preprocess(File targetDir) throws org.apache.maven.plugin.MojoFailureException
      Preprocesses the file in targetDir, i.e., moves it if needed. May affect getName().
      Parameters:
      targetDir - the target directory where the file/paths are located within
      Throws:
      org.apache.maven.plugin.MojoFailureException - if moving fails