Class DefaultLifecycleRegistry.DefaultLifecycle

java.lang.Object
org.apache.maven.internal.impl.DefaultLifecycleRegistry.DefaultLifecycle
All Implemented Interfaces:
ExtensibleEnum, Lifecycle
Enclosing class:
DefaultLifecycleRegistry

static class DefaultLifecycleRegistry.DefaultLifecycle extends Object implements Lifecycle
  • Constructor Details

    • DefaultLifecycle

      DefaultLifecycle()
  • Method Details

    • id

      public String id()
      Description copied from interface: Lifecycle
      Name or identifier of this lifecycle.
      Specified by:
      id in interface ExtensibleEnum
      Specified by:
      id in interface Lifecycle
      Returns:
      the unique identifier for this lifecycle
    • phases

      public Collection<Lifecycle.Phase> phases()
      Description copied from interface: Lifecycle
      Collection of main phases for this lifecycle
      Specified by:
      phases in interface Lifecycle
    • v3phases

      public Collection<Lifecycle.Phase> v3phases()
      Description copied from interface: Lifecycle
      Collection of main phases for this lifecycle used with the Maven 3 builders. Those builders does not operate on a graph, but on the list and expect a slightly different ordering (mainly unit test being executed before packaging).
      Specified by:
      v3phases in interface Lifecycle
    • aliases

      public Collection<Lifecycle.Alias> aliases()
      Description copied from interface: Lifecycle
      Collection of aliases.
      Specified by:
      aliases in interface Lifecycle