Package org.apache.maven.buildcache
Class BuildCacheMojosExecutionStrategy
java.lang.Object
org.apache.maven.buildcache.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 Summary
ConstructorsConstructorDescriptionBuildCacheMojosExecutionStrategy(CacheController cacheController, CacheConfig cacheConfig, MojoParametersListener mojoListener, LifecyclePhasesHelper lifecyclePhasesHelper, org.apache.maven.plugin.MavenPluginManager mavenPluginManager, org.apache.maven.execution.scope.internal.MojoExecutionScope mojoExecutionScope) -
Method Summary
-
Constructor Details
-
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 Details
-
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:
executein interfaceorg.apache.maven.plugin.MojosExecutionStrategy- Throws:
org.apache.maven.lifecycle.LifecycleExecutionException
-