Tabnine Logo
PluginManagerException.getMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
getMessage
method
in
org.apache.maven.plugin.PluginManagerException

Best Java code snippets using org.apache.maven.plugin.PluginManagerException.getMessage (Showing top 8 results out of 315)

origin: org.codehaus.mojo/versions-maven-plugin

/**
 * 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;
}
origin: mojohaus/versions-maven-plugin

/**
 * 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;
}
origin: org.codehaus.mojo/versions-maven-plugin

+ plugin.getKey() + "': " + e.getMessage(), e );
origin: mojohaus/versions-maven-plugin

+ plugin.getKey() + "': " + e.getMessage(), e );
origin: org.apache.maven.enforcer/enforcer-rules

+ plugin.getKey() + "': " + e.getMessage(), e );
origin: apache/maven-enforcer

+ plugin.getKey() + "': " + e.getMessage(), e );
origin: apache/maven-enforcer

+ plugin.getKey() + "': " + e.getMessage(), e );
origin: org.apache.maven.enforcer/enforcer-rules

+ plugin.getKey() + "': " + e.getMessage(), e );
org.apache.maven.pluginPluginManagerExceptiongetMessage

Popular methods of PluginManagerException

  • <init>
  • initCause

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JFileChooser (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now