Skip to content

Commit

Permalink
Explicit subscanner to avoid SubTypeScanner was not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
imonteroperez committed Sep 10, 2021
1 parent c28db64 commit 6ced1e9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.Set;
import java.util.stream.Collectors;
import org.reflections.Reflections;
import org.reflections.scanners.SubTypesScanner;

/**
* Loads and executes hooks for modifying the state of Plugin Compatibility Tester at different
Expand Down Expand Up @@ -106,7 +107,7 @@ private Map<String, Queue<PluginCompatTesterHook>> findHooks(String stage) {

// Search for all hooks defined within the given classpath prefix
for(String prefix : hookPrefixes) {
Reflections reflections = new Reflections(prefix);
Reflections reflections = new Reflections(prefix, new SubTypesScanner());
Set<Class<? extends PluginCompatTesterHook>> subTypes;

// Find all steps for a given stage. Long due to casting
Expand Down

0 comments on commit 6ced1e9

Please sign in to comment.