Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.7, 2.8
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
mvn eclipse:eclipse fails with a "Request to merge when 'filtering' is not identical" message. There is a discussion about this on the internet and the accepted workaround is to user eclipse plugin 2.6 (see http://forums.atlassian.com/thread.jspa?threadID=34952)
In my case it is happening with non standard maven directory structure. The parent pom has the config in the attached parent_pom.txt file.
I have the same issue for the following case: I would like *.properties resources to be filtered, any other resources to stay unfiltered.
Resulting error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on project service-extractor: Request to merge when 'filtering' is not identical. Original=resource src/main/resources: output=bin, include=[**/*.properties], exclude=[**/*.java], test=false, filtering=true, merging with=resource src/main/resources: output=bin, include=[], exclude=[**/*.properties|**/*.java], test=false, filtering=false -> [Help 1]