{"id":17405216,"url":"https://github.com/dve/spring-boot-plugins-example","last_synced_at":"2025-07-31T00:34:47.517Z","repository":{"id":77318246,"uuid":"79552778","full_name":"dve/spring-boot-plugins-example","owner":"dve","description":"An example of building a spring-boot application extendable with plugins","archived":false,"fork":false,"pushed_at":"2017-01-20T12:38:06.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T00:52:11.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-20T11:14:46.000Z","updated_at":"2017-03-03T09:32:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe608925-c5f5-465b-8f17-ec2c826e6221","html_url":"https://github.com/dve/spring-boot-plugins-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dve%2Fspring-boot-plugins-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dve%2Fspring-boot-plugins-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dve%2Fspring-boot-plugins-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dve%2Fspring-boot-plugins-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dve","download_url":"https://codeload.github.com/dve/spring-boot-plugins-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245937930,"owners_count":20696988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-16T20:43:06.957Z","updated_at":"2025-03-27T22:44:17.337Z","avatar_url":"https://github.com/dve.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-plugins-example\nAn example of building a spring-boot application extendable with plugins.\n## Plugins? Why not osgi?\nThis approach has some weak points:\n  * There is not separation between the plugins, its just all on one classpath at runtime. So be careful if you import dependencies in a plugin - they my conflict with the ones from another plugin\n  * You can only install plugins before you start the application, not at runtime\n  * You can not remove or update plugins at runtime\n\nBut if you can live with this, it has some advantages too:\n  * No osgi runtime needed  \n  * One plugin can totally use the other. An extension of the database like the team plugin is not possible with osgi bundles AFAIK\n  * Simply use spring in all parts of your application\n  \n## Description\nThis demo uses vaadin for the UI and spring-data-jpa with geodb and hibernate for persistence.\n  \n## Usage\n\n1. Clone the reopsitory\n2. Build the stuff ``mvn install``\n3. Start the application: ``cd application/target`` and then: ``java -jar application-0.0.1-SNAPSHOT.jar``\n\nNow the application starts just with the people plugin. To add the team plugin:\n\n1. Stop the application\n2. Create a folder called ``lib`` next to ``application-0.0.1-SNAPSHOT.jar`` and place ``plugin-team-0.0.1-SNAPSHOT.jar`` in it.\n3. Start the application again\n\nNow the application starts with both plugins.\n\n## Layout\n\u003cdl\u003e\n\u003cdt\u003eplugin\u003c/dt\u003e\n  \u003cdd\u003eA pom with the dependencies need and common classes for all plugins. In this case just the MenuEntry stuff\u003c/dd\u003e\n  \u003cdt\u003eapplication\u003c/dt\u003e\n  \u003cdd\u003eThis contains the spring-boot application\u003c/dd\u003e\n  \u003cdt\u003eplugin-*\u003c/dt\u003e\n  \u003cdd\u003eThis modules contain the implementation of the modules.\n\u003c/dl\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdve%2Fspring-boot-plugins-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdve%2Fspring-boot-plugins-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdve%2Fspring-boot-plugins-example/lists"}