Archive for March, 2010

Appfuse: error when doing mvn install eclipse:eclipse

Wednesday, March 3rd, 2010

When creating a new appfuse project following the quick start guide you might see this error:

[INFO] Request to merge when ‘filtering’ is not identical. Original=resource src/main/resources: output=target/classes, include=[], exclude=[ApplicationResources_de.properties|ApplicationResources_fr.properties|ApplicationResources_ko.properties|ApplicationResources_nl.properties|ApplicationResources_no.properties|ApplicationResources_pt*.properties|ApplicationResources_tr.properties|ApplicationResources_zh*.properties|applicationContext-resources.xml|struts.xml|**/*.java], test=false, filtering=true, merging with=resource src/main/resources: output=target/classes, include=[applicationContext-resources.xml|struts.xml], exclude=[**/*.java], test=false, filtering=false

after the command:
mvn install eclipse:eclipse
This is due to an incompatibility with the eclipse maven plugin, you can solve this by running the command like:
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5.1:eclipse
I saw this solution here:
http://www.mail-archive.com/users@appfuse.dev.java.net/msg17295.html