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

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.6, 1.8.0
    • Component/s: examples, pojosr, solr
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: