Class RollbackMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.yupiik.bundlebee.maven.mojo.BaseMojo
io.yupiik.bundlebee.maven.generated.mojo.RollbackMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="rollback",
requiresProject=false,
threadSafe=true)
public class RollbackMojo
extends BaseMojo
Rollback an alveolus deployment. The strategy is the following one: * Load current alveolus (recursively) to list all descriptors in "current" version * Find previous version if not explicit (by choosing the first previous on in the list of available version on maven repository) * Run delete command for current version * Run apply command for previous version IMPORTANT: this command only uses releases when it guesses the versions, it does not handles SNAPSHOTs. If you want to rollback to a snapshot, ensure to configure `previous*` properties. TIP: this is equivalent to `apply` and `delete` commands successfully. For now it is recommended to do both manually.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext