Class UpdateArchiveMojo.Update
java.lang.Object
de.iip_ecosphere.platform.tools.maven.dependencies.UpdateArchiveMojo.Update
- Enclosing class:
UpdateArchiveMojo
An update execution.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
file
-
fileUpdates
-
target
-
inplace
private boolean inplace -
quiet
private boolean quiet -
verbose
private boolean verbose
-
-
Constructor Details
-
Update
protected Update()
-
-
Method Details
-
copyAll
Copies all contents fromSourcesFiletopathInJar, file by file.- Parameters:
sourceFile- the source filepathInArchive- the target path-in-archive- Throws:
IOException- if accessing conteints fails
-
update
Updates an archive based on the given updates.- Returns:
- the updated archive
- Throws:
org.apache.maven.plugin.MojoExecutionException- if updating fails
-