Class UpdateArchiveMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.dependencies.UpdateArchiveMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="update-archive",
threadSafe=true)
public class UpdateArchiveMojo
extends org.apache.maven.plugin.AbstractMojo
Extends the exec java mojo.
- Author:
- Gemini, Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classA single file update ontargetin the jar.protected classAn update execution. -
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()private static PathtranslatePath(Path sourcePath, FileSystem targetFs) Translates a Path from one FileSystem to its equivalent string path in another FileSystem.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
skip
@Parameter(property="updateArchive.skip", required=false, defaultValue="false") private boolean skip -
updates
-
-
Constructor Details
-
UpdateArchiveMojo
public UpdateArchiveMojo()
-
-
Method Details
-
translatePath
Translates a Path from one FileSystem to its equivalent string path in another FileSystem. -
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-