Fork me on GitHub

PF4J allows other applications using this library to use test/src classes, utility classes used for PF4J testing.
We have some interesting concepts like PluginJar, PluginZip, ClassDataProvider (and more will probably be added in the future).

It’s very simple to use these classes in your test suite. Just add the snippet below to your Maven POM file and that it’s all:

<dependency>
    <groupId>org.pf4j</groupId>
    <artifactId>pf4j</artifactId>
    <version>${pf4j.version}</version>
    <!--            
    <classifier>tests</classifier>
    -->
    <type>test-jar</type>
    <scope>test</scope>
</dependency>