Licensing of Elasticsearch Dependencies

I'm working on a software project that outputs data into Elasticsearch, making it searchable. I want to release my project under the ASL2 license (as Elasticsearch is).

However, when I include Elasticsearch as a Maven dependency, I also get the JTS Topology Suite as a sub dependency. The JTS Topology Suite is licensed under the LGPL, and I didn't think the two licenses were compatible?

Could someone clarify what the situation is, and what steps I need to take when I release my project so that I can include Elasticsearch and it's dependencies without straying into dodgy legal territory?

Hi,
the JTS dependency is marked optional. You can exclude it, release without it and everything will work fine apart from the geo features that rely on JTS.