Commit Graph

31 Commits

Author SHA1 Message Date
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
Rene Pfeuffer
2d755aae9a Fix plugin load order
The old algorithm failed, because the tree below lead to the issue, that
the scm-branchwp-plugin was loaded before the scm-review-plugin was
ready.

This commit changes the order in the way, that leafs are loaded last.

+- scm-editor-plugin d
   +- scm-branchwp-plugin a
+- scm-mail-plugin c
   +- scm-review-plugin b
      +- scm-branchwp-plugin a
   +- scm-branchwp-plugin a
2020-01-16 08:56:57 +01:00
Sebastian Sdorra
c1aa4af6e0 implemented optional dependencies
Plugin authors could now define optional dependencies to other plugins in their pom.
Extensions which are using classes from optional dependencies must specify this
with the "requires" attribute of the extension annotation.
Extensions with "requires" attribute are not installed if one of the specified plugins,
is not installed.
2020-01-08 14:27:11 +01:00
Eduard Heimbuch
913b7080fd mark installed plugin as core after server started 2019-09-18 15:47:58 +02:00
Rene Pfeuffer
0fdd1cea17 Detect core plugins and prevent installation 2019-09-11 16:46:27 +02:00
Sebastian Sdorra
1acdb44c47 Merged in bugfix/ignore_old_plugin_dir (pull request #296)
ignore old plugins folder
2019-08-27 12:30:25 +00:00
Sebastian Sdorra
b36c2dd698 use nio api and added test for plugin directory check 2019-08-27 13:59:14 +02:00
Eduard Heimbuch
58e5667e82 pluginprocessor only consider directories that contains plugin.xml 2019-08-27 08:52:38 +02:00
Eduard Heimbuch
230ac848eb ignore old plugins folder 2019-08-20 16:39:50 +02:00
Sebastian Sdorra
3f1521bcca create new simplified PluginManager API 2019-08-20 10:33:57 +02:00
Sebastian Sdorra
1a01216f62 renamed Plugin to InstalledPluginDescriptor and added PluginDescriptor interface 2019-08-20 08:05:41 +02:00
Sebastian Sdorra
ae19ad9327 renamed PluginWrapper to InstalledPlugin 2019-08-20 07:54:00 +02:00
Eduard Heimbuch
785e5e1142 refactor plugin backend + fix tests 2019-07-29 11:52:53 +02:00
Eduard Heimbuch
27dc47a590 parse pluginBackendResponse to pluginCenterDto / add Endpoint / remove groupId + artefactId from plugins 2019-07-26 13:04:54 +02:00
Sebastian Sdorra
80febf9424 added modules, classloading and view packages to sonia.scm.lifecycle 2019-06-25 09:49:52 +02:00
Sebastian Sdorra
99f1c8c55e rename package sonia.scm.boot to sonia.scm.lifecycle 2019-06-25 08:36:57 +02:00
Sebastian Sdorra
91fd259f07 use ClassLoaderLeakPreventor to reduce ClassLoaderLeaks of plugins 2019-06-19 11:52:20 +02:00
René Pfeuffer
0784030941 Fix double loading of plugins (PluginProcessor#appendPluginWrapper)
Additionally: Add logging.
2019-01-10 12:09:07 +01:00
Mohamed Karray
ed98d04be4 #8630 use try-with-resources to close used resources 2018-08-31 09:55:45 +02:00
Sebastian Sdorra
1bd4743444 added unit test for plugin updates 2014-12-07 18:28:24 +01:00
Sebastian Sdorra
3c678dce12 new plugin structure 2014-08-29 10:50:14 +02:00
Sebastian Sdorra
a3be1c775b implement WebResourceLoaders for loading plugin web resources 2014-08-27 21:01:05 +02:00
Sebastian Sdorra
ad686cb787 remove .link directory, because it is not longer needed 2014-08-24 21:20:17 +02:00
Sebastian Sdorra
e08ebfb6da append pluing wrapper to plugin node 2014-08-23 17:39:29 +02:00
Sebastian Sdorra
301cc19290 implement option for plugins to use child first classloaders 2014-08-19 21:01:11 +02:00
Sebastian Sdorra
e569d916e9 build plugin tree 2014-08-19 19:30:13 +02:00
Sebastian Sdorra
c5399823a7 use jaxb to parse plugin descriptor 2014-07-13 13:47:35 +02:00
Sebastian Sdorra
4afc54bb20 install plugins in the right order 2014-07-13 09:47:14 +02:00
Sebastian Sdorra
283422d4e3 improve plugin installation and backup installed archives 2014-07-12 17:17:24 +02:00
Sebastian Sdorra
598f8c95ba use new core plugin index and improved plugin directory structure 2014-07-12 16:41:20 +02:00
Sebastian Sdorra
1d6db4424b start implementation of isolated classloaders 2014-06-06 08:57:41 +02:00