@Override public String getLocalizedMessage() { return getMessage(); }
public void addReportPluginUsages( final URI source, final Builder builder, final MavenPomView pomView, final ProjectVersionRef projectRef ) throws CartoDataException { List<PluginView> plugins = null; try { plugins = pomView.getAllPluginsMatching( "//reporting/plugins/plugin" ); } catch ( final GalleyMavenException e ) { logger.error( String.format( "%s: Cannot retrieve reporting plugins: %s", pomView.getRef(), e.getMessage() ), e ); } catch ( final InvalidVersionSpecificationException e ) { logger.error( String.format( "%s: Cannot retrieve reporting plugins: %s", pomView.getRef(), e.getMessage() ), e ); } catch ( final InvalidRefException e ) { logger.error( String.format( "%s: Cannot retrieve reporting plugins: %s", pomView.getRef(), e.getMessage() ), e ); } addPlugins( plugins, projectRef, builder, source, false ); }
locations, e.getMessage() ), e );
private void addSiteReportPluginUsages( final URI source, final Builder builder, final MavenPomView pomView, final ProjectVersionRef projectRef ) throws CartoDataException { // final List<ProjectVersionRefView> refs = pomView.getProjectVersionRefs( "//plugin[artifactId/text()=\"maven-site-plugin\"]//reportPlugin" ); List<PluginView> plugins = null; try { plugins = pomView.getAllPluginsMatching( "//plugin[artifactId/text()=\"maven-site-plugin\"]//reportPlugin" ); } catch ( final InvalidRefException e ) { logger.error( String.format( "%s: Cannot retrieve site-plugin nested reporting plugins: %s", pomView.getRef(), e.getMessage() ), e ); } catch ( final InvalidVersionSpecificationException e ) { logger.error( String.format( "%s: Cannot retrieve site-plugin nested reporting plugins: %s", pomView.getRef(), e.getMessage() ), e ); } catch ( final GalleyMavenException e ) { logger.error( String.format( "%s: Cannot retrieve site-plugin nested reporting plugins: %s", pomView.getRef(), e.getMessage() ), e ); } addPlugins( plugins, projectRef, builder, source, false ); }
locations, e.getMessage() ), e );
e.getMessage() ), e ); logger.error( String.format( "%s: Cannot retrieve build plugins: %s", pomView.getRef(), e.getMessage() ), e );
e.getMessage() ), e ); pomView.getRef(), e.getMessage(), bomView.toXML() ), e ); pomView.getRef(), e.getMessage() ), e ); e.getMessage() ), e );
locations, e.getMessage() ), e );
locations, e.getMessage() ), e );
logger.error( String.format( "%s: Cannot retrieve build extensions: %s", pomView.getRef(), e.getMessage() ), e ); pomView.getRef(), e.getMessage(), ext.toXML() ), e );
e.getMessage(), plugin.toXML() ), e ); continue; projectRef, pluginRef, e.getMessage() ), e );
projectRef, e.getMessage(), dep.toXML() ), e );
projectRef, pluginRef, e.getMessage(), dep.toXML() ), e );