Package org.apache.maven.plugin
Class PluginExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.plugin.PluginManagerException
-
- org.apache.maven.plugin.PluginExecutionException
-
- All Implemented Interfaces:
java.io.Serializable
public class PluginExecutionException extends PluginManagerException
Exception in the plugin manager.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MojoExecutionmojoExecution
-
Constructor Summary
Constructors Constructor Description PluginExecutionException(MojoExecution mojoExecution, MavenProject project, java.lang.Exception cause)PluginExecutionException(MojoExecution mojoExecution, MavenProject project, java.lang.String message)PluginExecutionException(MojoExecution mojoExecution, MavenProject project, java.lang.String message, java.lang.Throwable cause)PluginExecutionException(MojoExecution mojoExecution, MavenProject project, DuplicateArtifactAttachmentException cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringconstructMessage(MojoExecution mojoExecution, java.lang.Throwable cause)MojoExecutiongetMojoExecution()-
Methods inherited from class org.apache.maven.plugin.PluginManagerException
getGoal, getPluginArtifactId, getPluginGroupId, getPluginVersion, getProject
-
-
-
-
Field Detail
-
mojoExecution
private final MojoExecution mojoExecution
-
-
Constructor Detail
-
PluginExecutionException
public PluginExecutionException(MojoExecution mojoExecution, MavenProject project, java.lang.String message)
-
PluginExecutionException
public PluginExecutionException(MojoExecution mojoExecution, MavenProject project, java.lang.String message, java.lang.Throwable cause)
-
PluginExecutionException
public PluginExecutionException(MojoExecution mojoExecution, MavenProject project, java.lang.Exception cause)
-
PluginExecutionException
public PluginExecutionException(MojoExecution mojoExecution, MavenProject project, DuplicateArtifactAttachmentException cause)
-
-
Method Detail
-
getMojoExecution
public MojoExecution getMojoExecution()
-
constructMessage
private static java.lang.String constructMessage(MojoExecution mojoExecution, java.lang.Throwable cause)
-
-