I try to install elasticsearch-mapper-attachments-es-2.1 with no success.
As there is no ready-to-use package to download I try to compile using gradle, as it is said in documentation. I have the following error message (note that I don't know gradle):
D:\Java\elasticsearch-mapper-attachments-es-2.1>gradle clean assemble
FAILURE: Build failed with an exception.
* What went wrong:
Task 'clean' not found in root project 'elasticsearch-mapper-attachments-es-2.1'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.924 secs
D:\Java\elasticsearch-mapper-attachments-es-2.1>
I also tried to compile with Maven:
D:\Java\elasticsearch-mapper-attachments-es-2.1>mvn compile
I obtain the following error:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] D:\Java\elasticsearch-mapper-attachments-es-2.1\src\main\java\org\elasticsearch\index\mapper\attachment\RegisterAttachmentType.java:[27,39] error: cannot find symbol
[ERROR] symbol: class IndexSettings
location: package org.elasticsearch.index.settings
D:\Java\elasticsearch-mapper-attachments-es-2.1\src\main\java\org\elasticsearch\index\mapper\attachment\RegisterAttachmentType.java:[35,48] error: cannot find symbol
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.218 s
[INFO] Finished at: 2015-11-25T17:44:40+01:00
[INFO] Final Memory: 16M/82M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project elasticsearch-mapper-attachments: Compilation failure: Compilation failure:
[ERROR] D:\Java\elasticsearch-mapper-attachments-es-2.1\src\main\java\org\elasticsearch\index\mapper\attachment\RegisterAttachmentType.java:[27,39] error: cannot find symbol
[ERROR] symbol: class IndexSettings
[ERROR] location: package org.elasticsearch.index.settings
[ERROR] D:\Java\elasticsearch-mapper-attachments-es-2.1\src\main\java\org\elasticsearch\index\mapper\attachment\RegisterAttachmentType.java:[35,48] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Could you please help me?