Is that always the case?  I've seen this same problem, but have
co-workers whose m2eclipse plugin shows error stdout output within the
eclipse console just as if it were run from the command line.

Is there another solution?

-----Original Message-----
From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 27, 2008 10:44 AM
To: [email protected]
Subject: Re: [m2eclipse-user] Strange exception with 'test-compile' new
case

Simple explanation: You have a compilation error.

The embedded Maven in M2Eclipse does not currently show these. Try 
executing on the command line.

Stefan

Twinsen.Chu wrote:
> It block our progress. So is there anybody can give a hand to that ?
> 
> -------------------------- 
> [INFO] compiler:testCompile 
> [INFO] Compiling 88 source files to
> D:\DEV_Workspace\Eclipse\HY\HY_EIB\target\test-classes 
> org.apache.maven.plugin.CompilationFailureException: Compilation
failure 
>         at
>
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMoj
o.java:516) 
>         at
>
org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:1
02) 
>         at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:578) 
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:508) 
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:328) 
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:151) 
>         at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220) 
>         at
>
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813) 
>         at
>
org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:8
5) 
> [INFO]
>
------------------------------------------------------------------------
---- 
> [ERROR] BUILD FAILURE com.zaixin.app:HY_IBE:war:1 (  task-segment:
> [jetty:run] ) 
> [INFO]
>
------------------------------------------------------------------------
---- 
> [INFO] Build for project: com.zaixin.app:HY_IBE:war:1 failed during
> execution of mojo:
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile 
> [INFO]
>
------------------------------------------------------------------------
---- 
> [INFO] Total time: 57 second 
> [INFO] Finished at: Wed Feb 27 15:32:48 CST 2008 
> [INFO] Memory 3M/36M 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to