I have a question regarding the execution order of maven-assembly-plugin and maven-jar-plugin. What I am trying to do is to put together an uberjar file for the pf4j framework (plugin framework for java). For this to be able to do I need to first…
I am trying to create an endpoint at runtime using the PF4J library. I have managed to load the Plugin with rest API functionality at boot time, but now I try to map the endpoint at runtime when the plugin gets installed at runtime. I have tried to…
We are trying to utilize pf4j and pf4j-spring to provide a flexible application based on Spring.
Ideally, we would like to define Spring beans (@Service, @Repository and others) in plugins and inject them in the main application.
From what I can…
Im building a java application using the pf4j plugin framework with gradle as the build service. Initially everything worked great. Since I migrated to a new machine with a JDK10 and probably some other installations properties on gradle or…
I am getting an exception when using pf4j with Spring Data.
My project structure is a web application org.home.server.communication (war) which is deployed into Tomcat and uses Spring MVC. It loads loads a pf4j plugin - org.home.server.core…
I import https://github.com/pf4j/pf4j to Eclipse 4.27.0 with M2E plugin installed and got bunch of errors in test folder:
Description Resource Path Location Type
AbstractExtensionFinder cannot be resolved AbstractExtensionFinderTest.java …
I'm writing a pf4j plugin that uses liquibase. The plugin host has dependencies on slf4j
implementation "org.slf4j:slf4j-log4j12:$slf4jVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
And the plugin has these dependencies as compile…
I'm trying to use PF4J in an existing codebase. I've tried to transfer all the necessary from the demo plugins and app to my existing maven project. I've compared the demo and my code, and I can't find anything that is different. And yet, when I…
I am writing a plugin API for a Java application, the idea being that eventually third parties will provide their own plugin extensions for the application and all the user needs to do is place the plugin jar into a plugins directory of the…
I built a large JAVA web application using SPRING & MongoDB,
In some scenarios, I want to allow my users to upload their own code, and the application will run it later on when necessary.
I called this operation "Plugin framework", the plugin is the…
I set up a PF4J plugin as described on the github readme, but without using maven.
I get the following error:
[main] ERROR ro.fortsoft.pf4j.DefaultPluginManager - Plugin-Version cannot be empty
ro.fortsoft.pf4j.PluginException: Plugin-Version cannot…
I'm working with the developer of PF4J(Plugin Framework for Java) to provide better plugin functionality for Wicket. There is already a pf4j-spring and a pf4j-wicket project to provide some basic integration. In order to allow the @SpringBean or…
I am using the PF4J framework to load plugins into a Spring application. I would like the Component/Service beans defined by the plugin to be able to autowire beans that are defined by the parent context. That is, the application has some services…
I'm using a Spring Boot application. For now, the use of the plugins is very simple. I'm just following the tutorial. My plugin is started, I'm trying to find the extensions like this:
final List sections =…
I have created a spring-boot application (2.6.4) and I want to integrate some plugins using p4fj. I have used p4fj before in non spring boot applications, but I see that now it has the p4fj-spring to help on this process.
The idea is not only…