/[Apache-SVN]
ViewVC logotype

Revision 169379


Jump to revision: Previous Next
Author: jdcasey
Date: Mon May 9 23:30:01 2005 UTC (19 years, 6 months ago)
Changed paths: 15
Log Message:
o Cleaned up a couple of things in repoclean that broke with the last update.
o Added concept of ErrorDiagnoser to help interpret errors and provide user feedback
o Added PluginParameterException to provide richer information than simply PluginConfigurationException (it's derived from PluginConfigurationException)
o Added implementations of ErrorDiagnoser for artifact resolution and plugin configuration handling.
o Modified DefaultMaven's logFailure(..) method to use errorDiagnosers Map (injected via Plexus)

I approached the plugin parameter expression/name feedback in this way, as it seems like a general pattern for interpreting errors without embedding this logic deep within the app itself. Feel free to rollback if this causes issues.

Changed paths

Path Details
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/usability/ added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/usability/ArtifactResolverDiagnoser.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/usability/ErrorDiagnoser.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/usability/PluginConfigurationDiagnoser.java added
Directorymaven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/components/trunk/maven-core/src/test/java/org/apache/maven/usability/ added
Directorymaven/components/trunk/maven-core/src/test/java/org/apache/maven/usability/PluginErrorDiagnoserTest.java added
Directorymaven/components/trunk/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java modified , text changed
Directorymaven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java modified , text changed
Directorymaven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/metadata/ProjectMetadata.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26