You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "yair567 (JIRA)" <ji...@codehaus.org> on 2007/08/01 16:09:13 UTC

[jira] Updated: (MCOMPILER-10) display summary information including number of compiler errors when compiler plugin fails.

     [ http://jira.codehaus.org/browse/MCOMPILER-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

yair567 updated MCOMPILER-10:
-----------------------------

    Attachment: logExample.bmp

HI evry one
I tried to send mail to the mailing list but i got an eror
so here is my question

 

I new to maven 

I try integration between eclipse and maven with my little project example but I got a Compilation error

The problem is that it not tell me what is the problem

 

These is what I got

 

[INFO] ----------------------------------------------------------------------------

[INFO] Building Unnamed - logging:logging:jar:0.0.1

[INFO]    task-segment: [package]

[INFO] ----------------------------------------------------------------------------

[INFO] resources:resources

[INFO] Using default encoding to copy filtered resources.

[INFO] compiler:compile

[INFO] Compiling 3 source files to D:\ladpc\workspaces\ladpcApp\logging\target\classes

[ERROR] mojo-execute : compiler:compile

Diagnosis: Compilation failure

FATAL ERROR: Error executing Maven for a project

[ERROR] project-execute : logging:logging:jar:0.0.1 (  task-segment: [package] )

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.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)

      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)

      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

 

But what is the problem?

 

Here is my project tree

 

Thank you all

 

Yair



> display summary information including number of compiler errors when compiler plugin fails.
> -------------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-10
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-10
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>            Reporter: John Casey
>            Priority: Minor
>         Attachments: logExample.bmp
>
>


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