Skip to content

Commit

Permalink
Add version number to plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
gornik committed Oct 29, 2013
1 parent 61f44b7 commit ba15ff4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assembly/release.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<directory>${project.build.directory}/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>elasticsearch-${project.name}-${elasticsearch.version}.jar</include>
<include>${project.name}-${version}-${elasticsearch.version}.jar</include>
</includes>
</fileSet>
</fileSets>
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch.plugin.geohashcellfacet</groupId>
<artifactId>GeoHashCellFacetPlugin</artifactId>
<artifactId>gorgeo</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>GeoHashCellFacetPlugin</name>
<version>1.0.2</version>
<name>gorgeo</name>
<url>http://maven.apache.org</url>

<build>
Expand All @@ -17,7 +17,7 @@
<version>2.3</version>
<configuration>
<finalName>
elasticsearch-${project.name}-${elasticsearch.version}
${project.name}-${version}-${elasticsearch.version}
</finalName>
</configuration>
</plugin>
Expand Down Expand Up @@ -65,7 +65,7 @@
<version>2.2.1</version>
<configuration>
<finalName>
elasticsearch-${project.name}-${elasticsearch.version}
${project.name}-${version}-${elasticsearch.version}
</finalName>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}/release/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
* Plugin which extends ElasticSearch with a Geohash Cell facet functionality.
*/
public class GeoHashCellFacetPlugin extends AbstractPlugin {
private final static String version = "1.0.2";

/**
* Name of the plugin.
*
* @return Name of the plugin.
*/
@Override
public String name() {
return "geohashcell-facet";
return "gorgeo-" + version;
}

/**
Expand Down

0 comments on commit ba15ff4

Please sign in to comment.