Maven 1.x Eclipse Plugin
  1. Maven 1.x Eclipse Plugin
  2. MPECLIPSE-49

duplicate build path added if resouce directory is the same as java source dir

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This is a problem in MPECLIPSE-47, committed a few hours ago:
      if your pom declares the same directory both in sourceDirectory and in
      resources (common for .properties files)

      <build>
      <sourceDirectory>src/java</sourceDirectory>
      <resources>
      <resource>
      <directory>src/java</directory>
      <includes>
      <include>*/.properties</include>
      </includes>
      <filtering>false</filtering>
      </resource>
      </resources>
      </build>

      the resulting .classpath file has duplicate entries and eclipse complains about it.

        Activity

        Hide
        fabrizio giustina added a comment -

        A fix for duplicate directories is included in the patch for MPECLIPSE-48

        Show
        fabrizio giustina added a comment - A fix for duplicate directories is included in the patch for MPECLIPSE-48

          People

          • Assignee:
            David Eric Pugh
            Reporter:
            fabrizio giustina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: