Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-370

Option to rely on transitive dependencies

    XMLWordPrintableJSON

Details

    Description

      The generated .classpath file contains all transitive dependencies of a project. It is impossible to tell within Eclipse which dependencies are the immediate dependencies, without examining the pom.xml.

      With a large number of projects and a deep dependency tree, dependencies of a low-level project are duplicated in many other project classpaths. If I want to test a change to these dependencies, I cannot just change the low-level project's build path in Eclipse and see what happens, I have to change the pom.xml and regenerate all the other Eclipse projects.

      I would like an option for the .classpath to contain only the immediate dependencies of a project, i.e. those explicit in the project's pom.xml, marked as exported if the scope is not provided or test. This would keep each Eclipse project classpath as simple as its pom.xml, making it easy to see and change the dependency tree within Eclipse.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ben.peacock Ben Peacock
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: