Package org.imixs.maven.manik
Class MojoHotdeployPlugin
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.imixs.maven.manik.MojoHotdeployPlugin
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="hotdeploy", defaultPhase=COMPILE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, threadSafe=true) public class MojoHotdeployPlugin extends org.apache.maven.plugin.AbstractMojoThe Imixs Manik Hotdeploy Plugin can be started by the goal 'hotdeploy' This goal can be used to hotdeploy changed made in a source directory.Plugin configuration example:
This plugin was inspired by https://github.com/fizzed/maven-plugins/blob/master/watcher/src/main/java/com/fizzed/maven/watcher/RunMojo.java See also: https://docs.oracle.com/javase/tutorial/essential/io/notification.html<hotdeployments> <deployment> <source>src/main/webapp</source> <target>docker/deployments/imixs-admin.war</target> </deployment> </hotdeployments>- Author:
- rsoika
-
-
Field Summary
Fields Modifier and Type Field Description protected List<HotDeployment>hotdeploymentsstatic StringSEPARATOR
-
Constructor Summary
Constructors Constructor Description MojoHotdeployPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
SEPARATOR
public static final String SEPARATOR
-
hotdeployments
@Parameter(property="hotdeployments", alias="hotdeploy.hotdeployments", required=true) protected List<HotDeployment> hotdeployments
-
-