You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Thomas Van de Velde (JIRA)" <ji...@codehaus.org> on 2005/10/06 16:59:11 UTC

[jira] Created: (MNG-1115) Non descriptive Error handling

Non descriptive Error handling
------------------------------

         Key: MNG-1115
         URL: http://jira.codehaus.org/browse/MNG-1115
     Project: Maven 2
        Type: Bug
  Components: maven-ejb-plugin  
    Versions: 2.0-beta-3    
 Reporter: Thomas Van de Velde
    Priority: Critical


When running into a problem with the EJB install goal (even with the -e option) , I get an error message  that give absolutely no information about the cause of the issue:

[INFO] [ejb:ejb]
[INFO] Building ejb prm-core-business-service-1.0
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Diagnosis: Error assembling EJB
[INFO] -------------------------------------------------------------------------
---
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu Oct 06 16:53:30 CEST 2005
[INFO] Final Memory: 3M/7M
[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


[jira] Updated: (MNG-1115) Non descriptive Error handling

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1115?page=all ]

Brett Porter updated MNG-1115:
------------------------------

    Fix Version: 2.0-beta-4

> Non descriptive Error handling
> ------------------------------
>
>          Key: MNG-1115
>          URL: http://jira.codehaus.org/browse/MNG-1115
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ejb-plugin
>     Versions: 2.0-beta-3
>     Reporter: Thomas Van de Velde
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
>
> When running into a problem with the EJB install goal (even with the -e option) , I get an error message  that give absolutely no information about the cause of the issue:
> [INFO] [ejb:ejb]
> [INFO] Building ejb prm-core-business-service-1.0
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Diagnosis: Error assembling EJB
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Oct 06 16:53:30 CEST 2005
> [INFO] Final Memory: 3M/7M
> [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


[jira] Closed: (MNG-1115) Non descriptive Error handling

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1115?page=all ]
     
John Casey closed MNG-1115:
---------------------------

    Resolution: Fixed

added error diagnoser for MojoExecutionException that should pull root cause and solve this problem.

> Non descriptive Error handling
> ------------------------------
>
>          Key: MNG-1115
>          URL: http://jira.codehaus.org/browse/MNG-1115
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ejb-plugin
>     Versions: 2.0-beta-3
>     Reporter: Thomas Van de Velde
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
>
> When running into a problem with the EJB install goal (even with the -e option) , I get an error message  that give absolutely no information about the cause of the issue:
> [INFO] [ejb:ejb]
> [INFO] Building ejb prm-core-business-service-1.0
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Diagnosis: Error assembling EJB
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Oct 06 16:53:30 CEST 2005
> [INFO] Final Memory: 3M/7M
> [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


[jira] Commented: (MNG-1115) Non descriptive Error handling

Posted by "Thomas Van de Velde (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1115?page=comments#action_47964 ] 

Thomas Van de Velde commented on MNG-1115:
------------------------------------------

After investigation, the error is thrown because of a missing ejb-jar.xml file.  Therefore I'd like to suggest to provide a message that states the source of the issue (missing ejb configuration).

> Non descriptive Error handling
> ------------------------------
>
>          Key: MNG-1115
>          URL: http://jira.codehaus.org/browse/MNG-1115
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ejb-plugin
>     Versions: 2.0-beta-3
>     Reporter: Thomas Van de Velde
>     Priority: Critical

>
>
> When running into a problem with the EJB install goal (even with the -e option) , I get an error message  that give absolutely no information about the cause of the issue:
> [INFO] [ejb:ejb]
> [INFO] Building ejb prm-core-business-service-1.0
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Diagnosis: Error assembling EJB
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Oct 06 16:53:30 CEST 2005
> [INFO] Final Memory: 3M/7M
> [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