Maven Eclipse Plugin
  1. Maven Eclipse Plugin
  2. MECLIPSE-706

[regression] Resources are excluded if resource dir is declared twice

    Details

      Description

      <build>
        <resources>
          <resource>
            <directory>src/main/java</directory>
            <includes>
              <include>**/*.properties</include>
            </includes>
          </resource>
        </resources>
      </build>
      

      For a non-standard project layout like sketched above where some resource files reside next to the source files (e.g. Messages.properties in Mercury), the change for MECLIPSE-443 causes these resources files to be excluded from the build path since they don't match the filter "*/.java". This can for instance cause test failures in Eclipse due to resources missing on the class path.

      When source and resource directories equal, the includes/excludes need to be merged.

        Activity

        Gabriel Goïc created issue -
        Hide
        Gabriel Goïc added a comment -

        wrongly cloned, will create a proper new one

        Show
        Gabriel Goïc added a comment - wrongly cloned, will create a proper new one
        Gabriel Goïc made changes -
        Field Original Value New Value
        Fix Version/s 2.7 [ 15130 ]
        Resolution Incomplete [ 4 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 10:00:37 UTC 2015 [ 1428228037919 ]
        Mark Thomas made changes -
        Workflow jira [ 12721092 ] Default workflow, editable Closed status [ 12750526 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 23:47:18 UTC 2015 [ 1428277638729 ]
        Mark Thomas made changes -
        Workflow jira [ 12958362 ] Default workflow, editable Closed status [ 12995274 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        2m 1 Gabriel Goïc 15/Dec/11 08:50

          People

          • Assignee:
            Barrie Treloar
            Reporter:
            Gabriel Goïc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development