How to edit bundled or system plugins
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
In rare cases, although not advisable, some users need to edit the contents of the bundled plugin in Confluence. The guide below is an example to find and edit a bundled/system plugin
ソリューション
For Confluence 5.0 and above
Customizing the Contents of Bundled Plugin
⚠️ Please note that this will only work if the bundled plugin has not been upgraded
Backup
atlassian-bundled-plugins folder in <confluence-install>/confluence/WEB-INF/. This folder contains all of the Confluence bundled plugins.Locate the JAR file of the bundled plugin and unjar the
plugin-name-X.X.X.X.jarin the folderatlassian-bundled-plugins.Once unjarred, edit the necessary files and save the edited files
Jar the file back to
plugin-name-X.X.X.X.jar. Please refer to How to edit files in Confluence JAR files for more informationRestart your Confluence. Your changes would be reflected after this.
Customizing the Contents of Upgraded Bundled Plugin
If the bundled plugin has been upgraded, please do the following instead:
Downgrade the bundled plugin by uninstalling it from the Confluence Admin > Managed Add-ons under the User Installed Plugins section
Download the plugin JAR manually from the Atlassian Marketplace
Unjar the plugin, edit the necessary files, save the edited files, and jar it back
バックアップ
atlassian-bundled-plugins folder in <confluence-install>/confluence/WEB-INF/Delete the old plugin JAR file
Insert the new plugin JAR file
Upload the new plugin JAR file into Confluence
For Confluence below 5.0
Customizing the Contents of Bundled Plugin
⚠️ Please note that this will only work if the bundled plugin has not been upgraded
Backup
atlassian-bundled-plugins.zip in <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/. This zip file contains all of the Confluence bundled plugins.Unzip the
atlassian-bundled-plugins.zip.Locate the JAR file of the bundled plugin and unjar the
plugin-name-X.X.X.X.jarin the unzippedatlassian-bundled-plugins.zip.Once unjarred, edit the necessary files and save the edited files
Jar the file back to
plugin-name-X.X.X.X.jar. Please refer to How to edit files in Confluence JAR files for more informationZip the
atlassian-bundled-plugins.zipback.Restart your Confluence. Your changes would be reflected after this.
Customizing the Contents of Upgraded Bundled Plugin
If the bundled plugin has been upgraded, please do the following instead:
Downgrade the bundled plugin by uninstalling it from the Confluence Admin > Plugins under the User Installed Plugins section
Download the plugin JAR manually from the Atlassian Marketplace
Unjar the plugin, edit the necessary files, save the edited files, and jar it back
バックアップ
atlassian-bundled-plugins.zip in <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/Unzip the
atlassian-bundled-plugins.zip.Delete the old plugin JAR file
Insert the new plugin JAR file
Zip the
atlassian-bundled-plugins.zipback.Restart your Confluence. Your changes will be reflected after this.
この内容はお役に立ちましたか?