Class BuildCacheMojosExecutionStrategy

  • All Implemented Interfaces:
    org.apache.maven.plugin.MojosExecutionStrategy

    @Named
    @Priority(10)
    public class BuildCacheMojosExecutionStrategy
    extends Object
    implements org.apache.maven.plugin.MojosExecutionStrategy
    Build cache-enabled version of the MojosExecutionStrategy.
    • Constructor Detail

      • BuildCacheMojosExecutionStrategy

        @Inject
        public BuildCacheMojosExecutionStrategy​(CacheController cacheController,
                                                CacheConfig cacheConfig,
                                                MojoParametersListener mojoListener,
                                                LifecyclePhasesHelper lifecyclePhasesHelper,
                                                org.apache.maven.plugin.MavenPluginManager mavenPluginManager,
                                                org.apache.maven.execution.scope.internal.MojoExecutionScope mojoExecutionScope)
    • Method Detail

      • execute

        public void execute​(List<org.apache.maven.plugin.MojoExecution> mojoExecutions,
                            org.apache.maven.execution.MavenSession session,
                            org.apache.maven.plugin.MojoExecutionRunner mojoExecutionRunner)
                     throws org.apache.maven.lifecycle.LifecycleExecutionException
        Specified by:
        execute in interface org.apache.maven.plugin.MojosExecutionStrategy
        Throws:
        org.apache.maven.lifecycle.LifecycleExecutionException