Skip to content

Instantly share code, notes, and snippets.

@sankars
Created December 23, 2013 08:07
Show Gist options
  • Select an option

  • Save sankars/8093306 to your computer and use it in GitHub Desktop.

Select an option

Save sankars/8093306 to your computer and use it in GitHub Desktop.
Development Environment setup for Elastic Search using Maven
1) mvn archetype:create -DgroupId=com.jmi.elasticsearch -DartifactId=ESearchSamples
2) Open pom.xml and add
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>0.90.7</version>
</dependency>
3) mvn compile
4) mvn clean package //Find the jar in target directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment