Class RollbackMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="rollback",
          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.
    • Constructor Detail

      • RollbackMojo

        public RollbackMojo()
    • Method Detail