File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/io/avaje/inject/mojo Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,8 @@ public class ModuleSPIMojo extends AbstractMojo {
22
22
@ Override
23
23
public void execute () throws MojoExecutionException {
24
24
25
-
26
25
if (Integer .getInteger ("java.specification.version" ) < 24 ) {
27
- getLog ()
28
- .error (
29
- "This version of the avaje-provides-plugin only works on JDK 24 and up" );
26
+ getLog ().error ("This version of the avaje-provides-plugin only works on JDK 24 and up" );
30
27
return ;
31
28
}
32
29
@@ -50,7 +47,9 @@ private Set<String> compiledClasses() throws MojoExecutionException {
50
47
}
51
48
return targetClasses ;
52
49
} catch (final Exception e ) {
53
- throw new MojoExecutionException ("Failed to get compiled classes" , e );
50
+ getLog ().warn ("Failed to get compiled classes" , e );
51
+
52
+ return Set .of ();
54
53
}
55
54
}
56
55
}
You can’t perform that action at this time.
0 commit comments