elasticsearch-reindexing icon indicating copy to clipboard operation
elasticsearch-reindexing copied to clipboard

How to deploy for Elasticsearch 2.1.0

Open kaplun opened this issue 9 years ago • 3 comments

Hi!

I have seen you have committed in the master branch the support for Elasticsearch 2.1.0. I would like to test your plugin, but so far I haven't managed to compile it successfully.

$ mvn package
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building elasticsearch-reindexing 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.codelibs:elasticsearch-cluster-runner:jar:2.1.0.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.838 s
[INFO] Finished at: 2015-12-11T14:36:51+01:00
[INFO] Final Memory: 11M/208M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elasticsearch-reindexing: Could not resolve dependencies for project org.codelibs:elasticsearch-reindexing:jar:2.1.0-SNAPSHOT: Failure to find org.codelibs:elasticsearch-cluster-runner:jar:2.1.0.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException

I am not a Java expert, so I was wondering how can make elasticsearch-cluster-runner:jar:2.1.0.0-SNAPSHOT available to maven, so that I can then build successfully your plugin.

kaplun avatar Dec 11 '15 13:12 kaplun

Updated pom.xml now.

marevol avatar Dec 11 '15 13:12 marevol

Dear @marevol, thanks a lot for the prompt answer. I successfully managed to install the plugin!

I will now proceed with the tests.

kaplun avatar Dec 14 '15 08:12 kaplun

Hi again. I can confirm it works nicely as it should. Thanks a lot for your great work!

kaplun avatar Dec 14 '15 20:12 kaplun