Skip to content

Commit

Permalink
chore(ci): add bytecode version verification plugin (#590)
Browse files Browse the repository at this point in the history
Co-authored-by: Jerry Lee <oldratlee@gmail.com>
  • Loading branch information
wuwen5 and oldratlee committed Dec 21, 2023
1 parent cbc0f64 commit b2cde0d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
Expand All @@ -418,10 +418,20 @@
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
<enforceBytecodeVersion>
<maxJdkVersion>${maven.compiler.source}</maxJdkVersion>
</enforceBytecodeVersion>
</rules>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.7.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
Expand Down Expand Up @@ -847,7 +857,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-jdk-versions</id>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
Expand Down

0 comments on commit b2cde0d

Please sign in to comment.