Improve Error Handling
----------------------
Key: MNG-1093
URL: http://jira.codehaus.org/browse/MNG-1093
Project: Maven 2
Type: Improvement
Components: maven-eclipse-plugin
Versions: 2.0-beta-3
Reporter: Thomas Van de Velde
Priority: Minor
When running a goal that doesn't exist (eclipse:clean), you get a non
descriptive error:
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Project Reference Manager Project
[INFO] task-segment: [eclipse:clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Diagnosis: Failed to configure plugin parameters for: org.apache.maven.pl
ugins:maven-eclipse-plugin:2.0-beta-1
Reason: Cannot assign value 'C:\dev\projects\M2P' to fiel
d: org.apache.maven.plugin.eclipse.EclipseCleanMojo.basedir; type: java.io.File
Root Cause: null
[INFO] -------------------------------------------------------------------------
---
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 05 13:27:10 CEST 2005
[INFO] Final Memory: 1M/3M
[INFO] -------------------------------------------------------------------------
---
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]