[ http://jira.codehaus.org/browse/MJETTY-1?page=all ]
Brett Porter moved MOJO-66 to MJETTY-1:
---------------------------------------
Component: (was: jetty)
Complexity: (was: Intermediate)
Key: MJETTY-1 (was: MOJO-66)
Project: Maven 2.x Jetty Plugin (was: Mojo)
> Unroll caught MultiExceptions
> -----------------------------
>
> Key: MJETTY-1
> URL: http://jira.codehaus.org/browse/MJETTY-1
> Project: Maven 2.x Jetty Plugin
> Type: Improvement
> Reporter: Trygve Laugstol
> Assignee: 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