Cleanup after Elasticsearch Maven plugin

(Kevin Bourne) #1

For anyone who is using the Elasticsearch Maven plugin for Integration tests....

Do you need to clean up the "elasticsearch0" that is created in the target directory by default? It seems to me that the log file just keeps growing and growing? Does the data automatically get deleted by the plugin?

I can't seem to find any of these answers on the Github site.

(David Pilato) #2

There is the keepExistingData parameter:

whether to keep the data and log directories if they already exist

May be force it to false?

(Kevin Bourne) #3

The documentation says the default is false for that parameter, though it also says this variable is a "work in progress". But, I haven't actually tried setting explicitly so i can, but I am not very optimistic.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.