You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/10/12 09:13:11 UTC

[jira] Commented: (MNG-1093) Improve Error Handling

    [ http://jira.codehaus.org/browse/MNG-1093?page=comments#action_48407 ] 

John Casey commented on MNG-1093:
---------------------------------

actually, it seems that this mojo (eclipse:clean) does in fact exist. If you run 'eclipse:foo' you will see that it reports the mojo to be non-existent. However, the error handling for eclipse:clean does still need work, as I got a StackOverflowError when I tried to run it just now.

> 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
>      Fix For: 2.0-beta-4

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org