Remove plugin name from build configuration Removing the pluginName from the build configuration allows the Gerrit plugin loader to dynamically set the plugin name to the same as the file name (minus the extension). This makes it a little more flexible for the end user. In cases where the end users wants to change the plugin name they only need to rename the plugin file instead of having to rebuild the plugin. This is a follow on to change Ib685a802 which documents a use case for changing an its plugin file name. Change-Id: I8a625b470a38757af490e2f48f251a48ac898c06
diff --git a/BUCK b/BUCK index 1d62377..041a12e 100644 --- a/BUCK +++ b/BUCK
@@ -17,11 +17,10 @@ srcs = glob(['src/main/java/**/*.java']), resources = glob(['src/main/resources/**/*']), manifest_entries = [ - 'Gerrit-PluginName: its-jira', 'Gerrit-Module: com.googlesource.gerrit.plugins.hooks.jira.JiraModule', 'Gerrit-InitStep: com.googlesource.gerrit.plugins.hooks.jira.InitJira', 'Gerrit-ReloadMode: reload', - 'Implementation-Title: Plugin its-jira', + 'Implementation-Title: Jira ITS Plugin', 'Implementation-URL: http://www.gerritforge.com', 'Implementation-Vendor: GerritForge LLP', ],
diff --git a/pom.xml b/pom.xml index 76f30ff..641a6c0 100644 --- a/pom.xml +++ b/pom.xml
@@ -25,7 +25,6 @@ <properties> <Gerrit-ApiType>plugin</Gerrit-ApiType> <Gerrit-ReloadMode>reload</Gerrit-ReloadMode> - <Gerrit-PluginName>its-jira</Gerrit-PluginName> <Gerrit-InitStep>com.googlesource.gerrit.plugins.hooks.jira.InitJira</Gerrit-InitStep> <Gerrit-Module>com.googlesource.gerrit.plugins.hooks.jira.JiraModule</Gerrit-Module> </properties> @@ -112,7 +111,6 @@ <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> <Gerrit-ReloadMode>${Gerrit-ReloadMode}</Gerrit-ReloadMode> - <Gerrit-PluginName>${Gerrit-PluginName}</Gerrit-PluginName> <Gerrit-InitStep>${Gerrit-InitStep}</Gerrit-InitStep> <Gerrit-Module>${Gerrit-Module}</Gerrit-Module> </manifestEntries>