hi leszek,

i am running eclipse with:
afaik i am running it with jdk: "project compile [m2 build] 
C:\Programme\Java\jdk1.5.0_11\bin\javaw.exe" 

-----Ursprüngliche Nachricht-----
Von: Leszek Gawron [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 15. Juni 2007 11:29
An: [email protected]
Betreff: Re: [m2eclipse-user] compilation failure

Peter Schröder wrote:
> hi,
> 
> i currently downgraded to using 0.0.5 of the plugin because i have a lot of 
> problems using 0.0.10.
> 
> i dont understand why the plugin is not able to compile my project, while 
> maven-command-line works properly...
> 
> is there a possibility to get debugging-info like mvn -e ?
> 
> kind regards
> peter
> 
> [INFO] Compiling 26 source files to 
> C:\eclipse\3_2_2\workspace\klarmobilBusiness\target\classes
> [ERROR] mojo-execute : compiler:compile
> Diagnosis: Compilation failure
> FATAL ERROR: Error executing Maven for a project
> [ERROR] project-execute : de.freenet.pos:klarmobilBusiness:war:1.0.0-SNAPSHOT 
> (  task-segment: [clean, package, cargo:deployer-redeploy] )
> Diagnosis: Compilation failure
> FATAL ERROR: Error executing Maven for a project
> org.apache.maven.BuildFailureException: Compilation failure
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:552)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>       at 
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:472)
>       at 
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:413)
>       at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
> failure
>       at 
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
>       at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>       at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>       ... 8 more

you need to point your eclipse to JDK not JRE.

-- 
Leszek Gawron

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