Class UpdateArchiveMojo.Update

java.lang.Object
de.iip_ecosphere.platform.tools.maven.dependencies.UpdateArchiveMojo.Update
Enclosing class:
UpdateArchiveMojo

protected class UpdateArchiveMojo.Update extends Object
An update execution.
Author:
Holger Eichelberger, SSE
  • Field Details

    • id

      private String id
    • file

      private File file
    • fileUpdates

      private List<UpdateArchiveMojo.FileUpdate> fileUpdates
    • target

      private String target
    • inplace

      private boolean inplace
    • quiet

      private boolean quiet
    • verbose

      private boolean verbose
  • Constructor Details

    • Update

      protected Update()
  • Method Details

    • copyAll

      private void copyAll(Path sourceFile, Path pathInArchive) throws IOException
      Copies all contents from SourcesFile to pathInJar, file by file.
      Parameters:
      sourceFile - the source file
      pathInArchive - the target path-in-archive
      Throws:
      IOException - if accessing conteints fails
    • update

      private File update() throws org.apache.maven.plugin.MojoExecutionException
      Updates an archive based on the given updates.
      Returns:
      the updated archive
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if updating fails