mirror of https://github.com/apache/maven.git
o throwing required exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc5a6695c1
commit
449e42223f
|
@ -131,15 +131,15 @@ public class DescribeMojo
|
||||||
|
|
||||||
if ( pluginPrefix != null )
|
if ( pluginPrefix != null )
|
||||||
{
|
{
|
||||||
// try
|
try
|
||||||
// {
|
{
|
||||||
descriptor = pluginManager.getPluginDescriptorForPrefix( pluginPrefix );
|
descriptor = pluginManager.getPluginDescriptorForPrefix( pluginPrefix );
|
||||||
// }
|
}
|
||||||
// catch ( PluginManagerException e )
|
catch ( PluginManagerException e )
|
||||||
// {
|
{
|
||||||
// throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix
|
throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix
|
||||||
// + "\'.", e );
|
+ "\'.", e );
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
else if ( groupId != null && artifactId != null )
|
else if ( groupId != null && artifactId != null )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue