Make querydsl-sql dependency again compile scope
Fix lucene version
Improve dist.sh script