I am customizing the openfire and moving the openfire archive messages to elasticsearch instead of db but My build is failing due to monitoring plugin of openfire(Using Lucene.jar) and elasticaearch using Lucene.jar have contradiction . Kindly advise how I can proceed further in this case .
If I am understand correctly you have a dependency collision on the Lucene jar coming from both openfire and Elasticsearch transport client.
If this is correct, then I suggest that you drop the Elasticsearch transport client from your code and connect to the cluster using the REST API (the transport client will be deprecated anyway).
Until 6.0 is not released, you can use a third-party library like Jest
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.