Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14589

Incorrect "Build path contains duplicate entry" report

    Details

      Description

      Sample project:

      pom.xml
      resources/
        foo
        bar
      child-module/
        pom.xml
      other-module/
        pom.xml
      
      child-module/pom.xml
      <project>
          ...
          <build>
              <resources>
                  <resource>
                      <directory>${basedir}/../resources</directory>
                      <includes>
                          <include>foo</include>
                      </includes>
                  </resource>
              </resources>
              ...
      
      other-module/pom.xml
      <project>
          ...
          <build>
              <resources>
                  <resource>
                      <directory>${basedir}/../resources</directory>
                      <includes>
                          <include>foo</include>
                          <include>bar</include>
                      </includes>
                  </resource>
              </resources>
              ...
      

      Importing it into Eclipse with current JBoss Tools 4.1 (Abridged Tools):

      Error Updating Maven Configuration
      Unable to update maven configuration for the following projects:
      
      child-module  |  Build path contains duplicate entry: '/.../resources' for project 'child-module'
      other-module  |  Build path contains duplicate entry: '/.../resources' for project 'other-module'
      

      Uninstalling the "JBoss Maven Seam configurator" (disabling it wasn't sufficient) made the problem disappear.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fbricon Fred Bricon
                Reporter:
                stani0 Stanimir Stamenkov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: