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 .