omegat icon indicating copy to clipboard operation
omegat copied to clipboard

feat: refactor: o.o.plugins package and plugin management subsystem

Open miurahr opened this issue 1 year ago • 3 comments

Internal plugin management enhancement

Pull request type

Please mark github LABEL of the type of change your PR introduces:

  • Feature enhancement -> [enhancement]

Which ticket is resolved?

What does this PR change?

  • Introduce a package org.omegat.plugins and gather related classes; PluginUtils PluginInformation PluginInstaller PluginInstaller
  • Move MainClassLoader to o.o.p.cl package
  • Gather all the test classes related to plugin management into o.o.plugins
  • Introduce new class o.o.p.PluginLifecycleManager class that support Plugins in a new way
  • We use individual class loader instance for each plugin jar files. It allow plugins to use same but different version of library.

Other information

miurahr avatar Jan 13 '24 02:01 miurahr

❌ Run Gradle test failed:

github-actions[bot] avatar Jan 13 '24 03:01 github-actions[bot]

❌ Run Gradle test failed:

github-actions[bot] avatar Feb 05 '24 14:02 github-actions[bot]

❌ Run Gradle test failed:

github-actions[bot] avatar Feb 05 '24 14:02 github-actions[bot]