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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class io.yupiik.bundlebee.maven.mojo.BaseMojo

    execute, toArgs

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RollbackMojo

      public RollbackMojo()
  • Method Details