File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
src/main/java/io/avaje/validation/generator Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 33
33
<optional >true</optional >
34
34
<scope >provided</scope >
35
35
</dependency >
36
+ <dependency >
37
+ <groupId >io.avaje</groupId >
38
+ <artifactId >avaje-spi-service</artifactId >
39
+ <version >1.9</version >
40
+ </dependency >
36
41
<dependency >
37
42
<groupId >io.avaje</groupId >
38
43
<artifactId >avaje-validator</artifactId >
Original file line number Diff line number Diff line change 3
3
import static io .avaje .validation .generator .APContext .filer ;
4
4
import static io .avaje .validation .generator .APContext .getModuleInfoReader ;
5
5
import static io .avaje .validation .generator .APContext .getProjectModuleElement ;
6
- import static io .avaje .validation .generator .APContext .logError ;
7
6
import static io .avaje .validation .generator .APContext .logWarn ;
8
7
import static java .util .stream .Collectors .toSet ;
9
8
@@ -86,18 +85,6 @@ static void validateModule(String fqn) {
86
85
&& (!buildPluginAvailable || !requireSet .contains ("io.avaje.validation" ))
87
86
&& !moduleInfo .containsOnModulePath ("io.avaje.validation.plugin" );
88
87
89
- var noProvides =
90
- moduleInfo .provides ().stream ()
91
- .flatMap (s -> s .implementations ().stream ())
92
- .noneMatch (s -> s .contains (fqn ));
93
-
94
- if (!buildPluginAvailable && noProvides ) {
95
- logError (
96
- module ,
97
- "Missing `provides io.avaje.validation.Validator.GeneratedComponent with %s;`" ,
98
- fqn );
99
- }
100
-
101
88
if (noHttpPlugin ) {
102
89
logWarn (
103
90
module ,
You can’t perform that action at this time.
0 commit comments