Cannot generate eclipse project config files for geronimo-commands
------------------------------------------------------------------

                 Key: GERONIMO-5215
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5215
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: buildsystem
    Affects Versions: 2.1.5
            Reporter: Forrest Xia
            Assignee: Forrest Xia
            Priority: Minor
             Fix For: 2.1.5


When executing mvn eclipse:eclipse against 
"framework/modules/geronimo-commands", an exception like this:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Request to merge when 'filtering' is not identical. Original=resource 
src/main/resources: output=target/classes, include=[**/*], exclude=[**/*.java], 
test=false, filtering=false, merging with=resource src/main/resources: 
output=target/classes, 
include=[org/apache/geronimo/commands/version.properties], exclude=[**/*.java], 
test=false, filtering=true

Seems the maven eclipse plugin cannot merge two resource definitions correctly 
as following:
 <resources>
            <resource>
                <directory>${pom.basedir}/src/main/resources</directory>
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>

            <resource>
                <directory>${pom.basedir}/src/main/resources</directory>
                <filtering>true</filtering>
                <includes>
                    
<include>org/apache/geronimo/commands/version.properties</include>
                </includes>
            </resource>
        </resources>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to