/** * Verify plugin. * * @param plugin the plugin * @param project the project * @param session the session * @return the plugin descriptor * @throws LifecycleExecutionException the lifecycle execution exception * @throws PluginNotFoundException the plugin not found exception */ private PluginDescriptor loadPluginDescriptor( Plugin plugin, MavenProject project, MavenSession session ) throws LifecycleExecutionException, PluginNotFoundException { PluginDescriptor pluginDescriptor; try { pluginDescriptor = pluginManager.loadPluginDescriptor( plugin, project, session ); } catch ( PluginManagerException e ) { throw new LifecycleExecutionException( "Internal error in the plugin manager getting plugin '" + plugin.getKey() + "': " + e.getMessage(), e ); } catch ( PluginVersionResolutionException | InvalidVersionSpecificationException | InvalidPluginException // | ArtifactNotFoundException | ArtifactResolutionException | PluginVersionNotFoundException e ) { throw new LifecycleExecutionException( e.getMessage(), e ); } return pluginDescriptor; }
/** * Verify plugin. * * @param plugin the plugin * @param project the project * @param session the session * @return the plugin descriptor * @throws LifecycleExecutionException the lifecycle execution exception * @throws PluginNotFoundException the plugin not found exception */ private PluginDescriptor loadPluginDescriptor( Plugin plugin, MavenProject project, MavenSession session ) throws LifecycleExecutionException, PluginNotFoundException { PluginDescriptor pluginDescriptor; try { pluginDescriptor = pluginManager.loadPluginDescriptor( plugin, project, session ); } catch ( PluginManagerException e ) { throw new LifecycleExecutionException( "Internal error in the plugin manager getting plugin '" + plugin.getKey() + "': " + e.getMessage(), e ); } catch ( PluginVersionResolutionException | InvalidVersionSpecificationException | InvalidPluginException // | ArtifactNotFoundException | ArtifactResolutionException | PluginVersionNotFoundException e ) { throw new LifecycleExecutionException( e.getMessage(), e ); } return pluginDescriptor; }
+ plugin.getKey() + "': " + e.getMessage(), e );
+ plugin.getKey() + "': " + e.getMessage(), e );
+ plugin.getKey() + "': " + e.getMessage(), e );
+ plugin.getKey() + "': " + e.getMessage(), e );
+ plugin.getKey() + "': " + e.getMessage(), e );
+ plugin.getKey() + "': " + e.getMessage(), e );