Apr 17, 2009

Eclipse failed during execution error message

Error: failed during execution of mojo: org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

Solution: Modify eclipse.ini file (found in the eclipse installation directory) -vm property with the same java jdk vm used for maven.

Example:
-vm
C:\Program Files\Java\jdk1.5.0_18\jre\bin\client\jvm.dll

Reference: http://archive.hausfoundation.org/lists/dev@m2eclipse.codehaus.org/msg/13206683.1196911797792.JavaMail.haus-jira@codehaus01.managed.contegix.com

No comments: