Compiler Plugin Fails
---------------------

                 Key: MNGECLIPSE-177
                 URL: http://jira.codehaus.org/browse/MNGECLIPSE-177
             Project: Maven 2.x Extension for Eclipse
          Issue Type: Bug
          Components: Maven Launcher
    Affects Versions: 0.0.9
         Environment: Eclipse 3.2, Windows XP, Java 1.5.0-06
            Reporter: Robert Elliot
         Assigned To: Eugene Kuleshov
         Attachments: lidalia-test-message.zip

Choosing "Run as" on a very simple maven enabled project and specifying as 
goals "clean install" results in a compiler error as so:

[INFO] compiler:compile
Compiling 1 source file to C:\Documents and Settings\Rob\Eclipse 
Workspaces\Experimentation Workspace\lidalia-test-remoting\target\classes
[ERROR] mojo-execute : compiler:compile
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : uk.org.lidalia:lidalia-test-remoting:jar:0.0.1 (  
task-segment: [clean, install] )
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:505)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 8 more

Running "mvn clean install" from the command line works fine.

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

        

Reply via email to