[ http://jira.codehaus.org/browse/MOJO-66?page=comments#action_56863 ] 

Miguel Griffa commented on MOJO-66:
-----------------------------------

it seems to me that this can be closed,
the stack trace refers to older code and current code logs all exceptions 
inside multiexception



> Unroll caught MultiExceptions
> -----------------------------
>
>          Key: MOJO-66
>          URL: http://jira.codehaus.org/browse/MOJO-66
>      Project: Mojo
>         Type: Improvement

>   Components: jetty
>     Reporter: Trygve Laugstol

>
>
> By unrolling the exceptions it's way easier to see the actual errors as 
> MultiException.toString() only includes the error messages.
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Diagnosis: Failed to start Jetty.
> [INFO] 
> ----------------------------------------------------------------------------
> [DEBUG] Trace:
> org.apache.maven.plugin.MojoExecutionException: Failed to start Jetty.
>         at org.codehaus.mojo.jetty.RunWarMojo.execute(RunWarMojo.java:111)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:515)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:478)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:460)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:136)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:216)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.mortbay.util.MultiException[java.lang.RuntimeException: foo]
>         at org.mortbay.http.HttpServer.start(HttpServer.java:640)
>         at org.codehaus.mojo.jetty.RunWarMojo.execute(RunWarMojo.java:104)
>         ... 16 more

-- 
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

Reply via email to