Set plugin name in manifest
Change-Id: I9d8cf680333903cbc471643bbba16929b5a61371
diff --git a/BUCK b/BUCK
index b08fee3..93830e2 100644
--- a/BUCK
+++ b/BUCK
@@ -3,6 +3,7 @@
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
manifest_entries = [
+ 'Gerrit-PluginName: force-draft',
'Gerrit-SshModule: com.googlesource.gerrit.plugins.forcedraft.ForceDraftSshModule',
]
-)
\ No newline at end of file
+)
diff --git a/pom.xml b/pom.xml
index 6367111..692c045 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,8 @@
<configuration>
<archive>
<manifestEntries>
- <Implementation-Title>Plugin ${project.artifactId}</Implementation-Title>
+ <Gerrit-PluginName>${project.name}</Gerrit-PluginName>
+ <Implementation-Title>Plugin ${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
<Implementation-Vendor-URL>http://code.google.com/p/gerrit/</Implementation-Vendor-URL>