Sunday, December 4, 2011

mvn eclipse:eclipse failed to work

I found that

  mvn eclipse:eclipse
do not really work well when you've got multiple modules in your maven structure like PlayN, spitting out the following error
   Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on project playn-archetype 
Request to merge when 'filtering' is not identical. 
After some digging and trying out, it seems that specifying a specific version of maven-eclipse-plugin seems to make it happy, guessing maven gets confused when trying to resolve which maven-eclipse-plugin to use in the process. Anyway here's the one that works for me

   org.apache.maven.plugins
   maven-eclipse-plugin
   2.6

No comments:

Post a Comment