File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 255255 </execution >
256256 </executions >
257257 </plugin >
258+ <plugin >
259+ <artifactId >maven-enforcer-plugin</artifactId >
260+ <version >1.4.1</version >
261+ <executions >
262+ <execution >
263+ <id >enforce-bytecode-version</id >
264+ <goals >
265+ <goal >enforce</goal >
266+ </goals >
267+ <configuration >
268+ <rules >
269+ <banCircularDependencies />
270+ <enforceBytecodeVersion >
271+ <maxJdkVersion >1.8</maxJdkVersion >
272+ <ignoreClasses >
273+ <ignoreClass >module-info</ignoreClass >
274+ </ignoreClasses >
275+ </enforceBytecodeVersion >
276+ </rules >
277+ <fail >true</fail >
278+ </configuration >
279+ </execution >
280+ </executions >
281+ <dependencies >
282+ <dependency >
283+ <groupId >org.codehaus.mojo</groupId >
284+ <artifactId >extra-enforcer-rules</artifactId >
285+ <version >1.2</version >
286+ </dependency >
287+ </dependencies >
288+ </plugin >
258289 </plugins >
259290 </build >
260291</project >
You can’t perform that action at this time.
0 commit comments