Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public final class Reflector {
"org.eclipse.sisu");
// Dependency required by the plugin but not provided by Flow at runtime
private static final Set<String> REQUIRED_PLUGIN_DEPENDENCIES = Set.of(
"org.reflections:reflections:jar",
"io.github.classgraph:classgraph:jar",
"org.zeroturnaround:zt-exec:jar");
private static final ScopeArtifactFilter PRODUCTION_SCOPE_FILTER = new ScopeArtifactFilter(
Artifact.SCOPE_COMPILE_PLUS_RUNTIME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
# the License.
#

invoker.goals=clean package
# Build will fail with a ClassNotFoundException if using the outdate version
# of the plugin required dependencies.
invoker.goals=clean package -ntp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<version>${flow.version}</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.zeroturnaround</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final class Reflector {
"org.eclipse.sisu");
// Dependency required by the plugin but not provided by Flow at runtime
private static final Set<String> REQUIRED_PLUGIN_DEPENDENCIES = Set.of(
"org.reflections:reflections:jar",
"io.github.classgraph:classgraph:jar",
"org.zeroturnaround:zt-exec:jar");
private static final ScopeArtifactFilter PRODUCTION_SCOPE_FILTER = new ScopeArtifactFilter(
Artifact.SCOPE_COMPILE_PLUS_RUNTIME);
Expand Down
25 changes: 3 additions & 22 deletions flow-plugins/flow-plugin-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,9 @@
<artifactId>license-checker</artifactId>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.10.2</version>
<exclusions>
<exclusion>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.184</version>
</dependency>
<dependency>
<groupId>org.zeroturnaround</groupId>
Expand Down
Loading
Loading