Interface LifecycleProvider


@Experimental @Consumer public interface LifecycleProvider
Interface that can be provided by the plugin to wire in custom lifecycles leveraged using the Execute annotation. If a META-INF/maven/lifecycle.xml file is packaged in the plugin, Maven will provide a default implementation that will parse the file and return the contained lifecycle definitions.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle>
     
  • Method Details

    • getLifecycles

      List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle> getLifecycles()