Fix Maven warning
Fix Maven warning

(cherry picked from commit 727b810)
(cherry picked from commit 9b6c4ac)
(cherry picked from commit 4edbe4e)

gammaliu/mongo-elastic-demo,gammaliu/mongo-elastic-demo,gammaliu/mongo-elastic-demo