oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

enable the lucene analyzers compatiblity base tests #837

Open tarzanek opened 10 years ago

tarzanek commented 10 years ago

when I was porting to lucene 4.x I added a test that adds a dependency on some new jars + properly tests compatibility of analyzers with recent lucene version

https://github.com/OpenGrok/OpenGrok/blob/master/test/org/opensolaris/opengrok/analysis/LuceneCompatibilityTest.java

Dimitri reminded me that I never finished enabling that class with his blog http://dmitrykan.blogspot.cz/2014/06/low-level-testing-your-lucene.html so filing this bug so we don't forget again ...

tarzanek commented 10 years ago

looking at source it might not be even that bad, seems I just didn't solve the jar/test classes dependency question ... which I guess can be solved in a similar way as we solve e.g. jflex dependency in the build.xml and by a proper pom change for mvn