public MojoNotFoundException( String goal, PluginDescriptor pluginDescriptor ) { super( toMessage( goal, pluginDescriptor ) ); this.goal = goal; this.pluginDescriptor = pluginDescriptor; }
public PluginExecutionException( MojoExecution mojoExecution, MavenProject project, Exception cause ) { super( mojoExecution.getMojoDescriptor(), project, constructMessage( mojoExecution, cause ), cause ); this.mojoExecution = mojoExecution; }
public PluginExecutionException( MojoExecution mojoExecution, MavenProject project, String message, Throwable cause ) { super( mojoExecution.getMojoDescriptor(), project, message, cause ); this.mojoExecution = mojoExecution; }
public String getLifecyclePhase() { return mojoExecution.getLifecyclePhase(); }
@Override public Object evaluate( String expr ) throws ExpressionEvaluationException { return evaluate( expr, null ); }
protected static boolean pluginEquals( Plugin a, Plugin b ) { return CacheUtils.pluginEquals( a, b ); }
protected static int pluginHashCode( Plugin plugin ) { return CacheUtils.pluginHashCode( plugin ); }
public Key createKey( Plugin plugin, ClassLoader parentRealm, Map<String, ClassLoader> foreignImports, DependencyFilter dependencyFilter, List<RemoteRepository> repositories, RepositorySystemSession session ) { return new CacheKey( plugin, parentRealm, foreignImports, dependencyFilter, repositories, session ); }
public void setMojoExecutionListeners( final List<MojoExecutionListener> listeners ) { this.mojoExecutionListeners = listeners; this.mojoExecutionListener = new CompoundMojoExecutionListener( listeners ); }
public MojoDescriptor getMojoDescriptor( Plugin plugin, String goal, List<RemoteRepository> repositories, RepositorySystemSession session ) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException { return mavenPluginManager.getMojoDescriptor( plugin, goal, repositories, session ); }
@Override public Key createKey( List<Artifact> extensionArtifacts ) { return new CacheKey( extensionArtifacts ); }
public Key createKey( Plugin plugin, DependencyFilter extensionFilter, List<RemoteRepository> repositories, RepositorySystemSession session ) { return new CacheKey( plugin, extensionFilter, repositories, session ); }
public void dispose() { flush(); }
public void dispose() { flush(); }
public Key createKey( Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session ) { return new CacheKey( plugin, repositories, session ); }
public PluginExecutionException( MojoExecution mojoExecution, MavenProject project, DuplicateArtifactAttachmentException cause ) { super( mojoExecution.getMojoDescriptor(), project, constructMessage( mojoExecution, cause ), cause ); this.mojoExecution = mojoExecution; }
public PluginExecutionException( MojoExecution mojoExecution, MavenProject project, String message ) { super( mojoExecution.getMojoDescriptor(), project, message ); this.mojoExecution = mojoExecution; }
public MojoNotFoundException( String goal, PluginDescriptor pluginDescriptor ) { super( toMessage( goal, pluginDescriptor ) ); this.goal = goal; this.pluginDescriptor = pluginDescriptor; }
protected static boolean pluginEquals( Plugin a, Plugin b ) { return CacheUtils.pluginEquals( a, b ); }
protected static int pluginHashCode( Plugin plugin ) { return CacheUtils.pluginHashCode( plugin ); }