File tree Expand file tree Collapse file tree 7 files changed +315
-187
lines changed
flow-dev-bundle-plugin/src/main/java/com/vaadin/flow/plugin/maven
it/plugin-pinned-deps-project
main/java/com/vaadin/flow/plugin/maven
main/java/com/vaadin/flow/server/scanner
test/java/com/vaadin/flow/server/scanner Expand file tree Collapse file tree 7 files changed +315
-187
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public final class Reflector {
5656 "org.eclipse.sisu" );
5757 // Dependency required by the plugin but not provided by Flow at runtime
5858 private static final Set <String > REQUIRED_PLUGIN_DEPENDENCIES = Set .of (
59- "org.reflections:reflections :jar" ,
59+ "io.github.classgraph:classgraph :jar" ,
6060 "org.zeroturnaround:zt-exec:jar" );
6161 private static final ScopeArtifactFilter PRODUCTION_SCOPE_FILTER = new ScopeArtifactFilter (
6262 Artifact .SCOPE_COMPILE_PLUS_RUNTIME );
Original file line number Diff line number Diff line change 1414# the License.
1515#
1616
17- invoker.goals =clean package
17+ # Build will fail with a ClassNotFoundException if using the outdate version
18+ # of the plugin required dependencies.
19+ invoker.goals =clean package -ntp
Original file line number Diff line number Diff line change 3535 <version >${flow.version} </version >
3636 </dependency >
3737 <dependency >
38- <groupId >org.reflections </groupId >
39- <artifactId >reflections </artifactId >
40- <version >0.9.10 </version >
38+ <groupId >io.github.classgraph </groupId >
39+ <artifactId >classgraph </artifactId >
40+ <version >4.0.0 </version >
4141 </dependency >
4242 <dependency >
4343 <groupId >org.zeroturnaround</groupId >
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public final class Reflector {
6969 "org.eclipse.sisu" );
7070 // Dependency required by the plugin but not provided by Flow at runtime
7171 private static final Set <String > REQUIRED_PLUGIN_DEPENDENCIES = Set .of (
72- "org.reflections:reflections :jar" ,
72+ "io.github.classgraph:classgraph :jar" ,
7373 "org.zeroturnaround:zt-exec:jar" );
7474 private static final ScopeArtifactFilter PRODUCTION_SCOPE_FILTER = new ScopeArtifactFilter (
7575 Artifact .SCOPE_COMPILE_PLUS_RUNTIME );
Original file line number Diff line number Diff line change 3030 <artifactId >license-checker</artifactId >
3131 </dependency >
3232 <dependency >
33- <groupId >org.reflections</groupId >
34- <artifactId >reflections</artifactId >
35- <version >0.10.2</version >
36- <exclusions >
37- <exclusion >
38- <groupId >org.dom4j</groupId >
39- <artifactId >dom4j</artifactId >
40- </exclusion >
41- <exclusion >
42- <groupId >com.google.code.gson</groupId >
43- <artifactId >gson</artifactId >
44- </exclusion >
45- <exclusion >
46- <groupId >org.javassist</groupId >
47- <artifactId >javassist</artifactId >
48- </exclusion >
49- </exclusions >
50- </dependency >
51- <dependency >
52- <groupId >org.javassist</groupId >
53- <artifactId >javassist</artifactId >
54- <version >${javassist.version} </version >
33+ <groupId >io.github.classgraph</groupId >
34+ <artifactId >classgraph</artifactId >
35+ <version >4.8.184</version >
5536 </dependency >
5637 <dependency >
5738 <groupId >org.zeroturnaround</groupId >
You can’t perform that action at this time.
0 commit comments