Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6533

Adjust test classpath order to reduce number of error markers in Eclipse

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.6, 1.8.0
    • examples, pojosr, solr
    • None

    Description

      Some modules get error markers in Eclipse but they compile fine using Maven. This happens usually because of a limitation of the Eclipse + m2e classpath setup - when depending on another module dependencies are transitive. So for instance a dependency on oak-jcr will bring in jackrabbit-core and then lucene-core with version 3.6.0.

      Pending a fix in Eclipse proper, a viable workaround is to reorder the artifacts to ensure the ones that bring in the proper dependency are placed higher in the pom.xml .

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: