I compile using jdk142_11

Thanks
Nawfel

----- Message d'origine ----
De : Daniel Serodio (lists) <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Jeudi, 26 Avril 2007, 19h12mn 57s
Objet : Re: [m2eclipse-user] Compiling anomalies

Are you running Eclipse with a JRE or a JDK? AFAIK, m2eclipse (as well as
Maven) needs to be ran using a JDK.

HTH,
Daniel Serodio

---- Mensagem Original ----
From: [EMAIL PROTECTED]
To: [email protected], [EMAIL PROTECTED]
Sent: Qui, Abril 26, 2007 12:22 pm
Subject: [m2eclipse-user] Compiling anomalies

> Hi all,
> when processing the mvn compile command through the command line I have in
> response all the errors details in my source code, but, surprisingly, when
> launching the compile or compiler:compile goal from eclipse I have only this
> log in return :
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Unnamed - com:myApp:jar:1.3
> [INFO]    task-segment: [compiler:compile]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Searching repository for plugin with prefix: 'compiler'.
> [INFO] compiler:compile
> [INFO] Compiling 523 source files to
> C:\works\workspaceM2\myAppName-v1.3\target\classes
> [ERROR] mojo-execute : compiler:compile
> Diagnosis: Compilation failure
> FATAL ERROR: Error executing Maven for a project
> [ERROR] project-execute : com:myApp:jar:1.3 (  task-segment:
> [compiler:compile] )
> 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:555)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>     at
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
>     at
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
>     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:412)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>     ... 8 more
>
> Thanks for helping
> Peace
> Nawfel
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes
> sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com




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

    http://xircles.codehaus.org/manage_email








      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Reply via email to