Skip to content

Instantly share code, notes, and snippets.

@katta
Created December 21, 2012 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katta/4352385 to your computer and use it in GitHub Desktop.
Save katta/4352385 to your computer and use it in GitHub Desktop.
Elastic search plugin descriptor for maven assembly plugin
<?xml version="1.0"?>
<assembly>
<id>plugin</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<scope>compile</scope>
<excludes>
<exclude>org.elasticsearch:elasticsearch</exclude>
<exclude>org.apache.lucene:lucene-core</exclude>
<exclude>org.apache.lucene:lucene-analyzers</exclude>
<exclude>org.apache.lucene:lucene-queries</exclude>
<exclude>org.apache.lucene:lucene-memory</exclude>
<exclude>org.apache.lucene:lucene-highlighter</exclude>
</excludes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</assembly>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment