You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sp...@yahoo.fr on 2007/04/25 20:45:15 UTC

Where's the error ?

Hi maveners,
I've added an external tool compile (the same problem with compiler:compile)

when I run it I get *ONLY* this :

WARN] While downloading xml-apis:xml-apis:2.0.2
  This artifact has been relocated to xml-apis:xml-apis:1.0.b2.


[WARN] While downloading jta:jta:1.0.1B
  This artifact has been relocated to javax.transaction:jta:1.0.1B.


[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - com:AstreeTutelec:jar:1.3
[INFO]    task-segment: [compiler:compile]
[INFO] ----------------------------------------------------------------------------
[INFO] Searching repository for plugin with prefix: 'compiler'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] compiler:compile
[INFO] Compiling 523 source files to C:\works\workspaceM2\TutelecOJV-v1.3\target\classes
[ERROR] mojo-execute : compiler:compile
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : com:AstreeTutelec: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


where's the error ?

please help

Thanks
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

Re: Where's the error ?

Posted by Wayne Fay <wa...@gmail.com>.
Please show us the relevant portions of your pom.

Wayne

On 4/25/07, spouynt@yahoo.fr <sp...@yahoo.fr> wrote:
> Hi maveners,
> I've added an external tool compile (the same problem with compiler:compile)
>
> when I run it I get *ONLY* this :
>
> WARN] While downloading xml-apis:xml-apis:2.0.2
>  This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
>
>
> [WARN] While downloading jta:jta:1.0.1B
>  This artifact has been relocated to javax.transaction:jta:1.0.1B.
>
>
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - com:AstreeTutelec:jar:1.3
> [INFO]    task-segment: [compiler:compile]
> [INFO] ----------------------------------------------------------------------------
> [INFO] Searching repository for plugin with prefix: 'compiler'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] compiler:compile
> [INFO] Compiling 523 source files to C:\works\workspaceM2\TutelecOJV-v1.3\target\classes
> [ERROR] mojo-execute : compiler:compile
> Diagnosis: Compilation failure
> FATAL ERROR: Error executing Maven for a project
> [ERROR] project-execute : com:AstreeTutelec: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
>
>
> where's the error ?
>
> please help
>
> Thanks
> 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, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org