The following document contains the results of PMD's CPD 4.2.2.
| File | Line |
|---|---|
| org/apache/maven/plugin/DefaultPluginManager.java | 476 |
| org/apache/maven/plugin/DefaultPluginManager.java | 1306 |
+ e.getClass().getName() + ") and may be out-of-date. Check the realms:" );
ClassRealm pluginRealm = mojoDescriptor.getPluginDescriptor().getClassRealm();
StringBuffer sb = new StringBuffer();
sb.append( "Plugin realm = " + pluginRealm.getId() ).append( '\n' );
for ( int i = 0; i < pluginRealm.getConstituents().length; i++ )
{
sb.append( "urls[" + i + "] = " + pluginRealm.getConstituents()[i] );
if ( i != ( pluginRealm.getConstituents().length - 1 ) )
{
sb.append( '\n' );
}
}
getLogger().fatalError( sb.toString() );
ClassRealm containerRealm = container.getContainerRealm();
sb = new StringBuffer();
sb.append( "Container realm = " + containerRealm.getId() ).append( '\n' );
for ( int i = 0; i < containerRealm.getConstituents().length; i++ )
{
sb.append( "urls[" + i + "] = " + containerRealm.getConstituents()[i] );
if ( i != ( containerRealm.getConstituents().length - 1 ) )
{
sb.append( '\n' );
}
}
getLogger().fatalError( sb.toString() );
}
| |
| File | Line |
|---|---|
| org/apache/maven/lifecycle/DefaultLifecycleExecutor.java | 1283 |
| org/apache/maven/lifecycle/DefaultLifecycleExecutor.java | 1323 |
"Internal error in the plugin manager getting report '" + plugin.getKey() + "': " + e.getMessage(), e );
}
catch ( PluginVersionResolutionException e )
{
throw new LifecycleExecutionException( e.getMessage(), e );
}
catch ( InvalidVersionSpecificationException e )
{
throw new LifecycleExecutionException( e.getMessage(), e );
}
catch ( InvalidPluginException e )
{
throw new LifecycleExecutionException( e.getMessage(), e );
}
catch ( ArtifactNotFoundException e )
{
throw new LifecycleExecutionException( e.getMessage(), e );
}
catch ( ArtifactResolutionException e )
{
throw new LifecycleExecutionException( e.getMessage(), e );
}
catch ( PluginVersionNotFoundException e )
{
throw new LifecycleExecutionException( e.getMessage(), e );
}
return pluginDescriptor;
}
private void bindExecutionToLifecycle( PluginDescriptor pluginDescriptor, Map phaseMap, PluginExecution execution,
| |