File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 4343 <air .java.version>25.0.0</air .java.version>
4444 <air .check.skip-spotbugs>true</air .check.skip-spotbugs>
4545 <air .check.skip-pmd>true</air .check.skip-pmd>
46- <air .modernizer.java-version>8 </air .modernizer.java-version>
46+ <air .modernizer.java-version>25 </air .modernizer.java-version>
4747 <air .release.preparation-goals>clean verify -DskipTests</air .release.preparation-goals>
4848 </properties >
4949
101101
102102 <build >
103103 <plugins >
104+ <plugin >
105+ <groupId >org.gaul</groupId >
106+ <artifactId >modernizer-maven-plugin</artifactId >
107+ <configuration >
108+ <exclusions >
109+ <!-- Modernizer emits false-positive warnings even when presence is guaranteed -->
110+ <exclusion >java/util/Optional.get:()Ljava/lang/Object;</exclusion >
111+ </exclusions >
112+ </configuration >
113+ </plugin >
114+
104115 <plugin >
105116 <groupId >org.apache.maven.plugins</groupId >
106117 <artifactId >maven-compiler-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments