File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 351351 </plugin >
352352 </plugins >
353353 </pluginManagement >
354-
354+ <plugins >
355+ <plugin >
356+ <groupId >org.apache.maven.plugins</groupId >
357+ <artifactId >maven-enforcer-plugin</artifactId >
358+ <version >3.5.0</version >
359+ <dependencies >
360+ <dependency >
361+ <groupId >org.codehaus.mojo</groupId >
362+ <artifactId >extra-enforcer-rules</artifactId >
363+ <version >1.9.0</version >
364+ </dependency >
365+ </dependencies >
366+ <executions >
367+ <execution >
368+ <id >enforce-bytecode-version</id >
369+ <goals >
370+ <goal >enforce</goal >
371+ </goals >
372+ <configuration >
373+ <rules >
374+ <enforceBytecodeVersion >
375+ <maxJdkVersion >${jre.version} </maxJdkVersion >
376+ <excludes >
377+ <exclude >software.amazon.awssdk:aws-sdk-java</exclude >
378+ </excludes >
379+ </enforceBytecodeVersion >
380+ </rules >
381+ <fail >true</fail >
382+ </configuration >
383+ </execution >
384+ </executions >
385+ </plugin >
386+ </plugins >
355387 </build >
356388
357389 <profiles >
You can’t perform that action at this time.
0 commit comments