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

Incorrect "Build path contains duplicate entry" report

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Beta1
    • 4.1.0.Alpha2
    • maven

    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.

      Attachments

        Activity

          People

            fbricon@redhat.com Fred Bricon
            stani0 Stanimir Stamenkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: