Hello, May the plugin isn't compatible with Eclipse 3.2.1. In my mind, org.maven.ide.eclipse:0.0.9 has been released for a long time.
a cup of Java, cheers! Sha Jiang fy wrote: > > Hi, > My project develope with Eclipse:3.2.1 , maven:2.0.4 and > org.maven.ide.eclipse:0.0.9. > Eclipse throwed the error when runed compile: > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building maven_itms Maven Webapp > [INFO] task-segment: [compile] > [INFO] > ---------------------------------------------------------------------------- > [INFO] resources:resources > [INFO] Using default encoding to copy filtered resources. > [INFO] compiler:compile > Compiling 132 source files to D:\workspace\maven_itms\target\classes > [ERROR] mojo-execute : compiler:compile > Diagnosis: Compilation failure > FATAL ERROR: Error executing Maven for a project > [ERROR] project-execute : com.novitech.itms:maven_itms:war:1.0 ( > task-segment: [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.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 > But it was ok when runned mvn compile in CMD > D:\workspace\maven_itms>mvn compile > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building maven_itms Maven Webapp > [INFO] task-segment: [compile] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > Compiling 132 source files to D:\workspace\maven_itms\target\classes > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 14 seconds > [INFO] Finished at: Thu Jan 11 18:09:58 CST 2007 > [INFO] Final Memory: 4M/21M > [INFO] > ------------------------------------------------------------------------ > > Why? and how I to do? > > > -- View this message in context: http://www.nabble.com/Eclipse-throwed-the-error-when-runed-compile-tf2957962s177.html#a8404751 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
