Skip to content

Commit

Permalink
#1134 Ensure that JDK 11 is used to build the release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
theigl committed Oct 10, 2024
1 parent 6204b96 commit a7a6504
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@
<profiles>
<profile>
<id>release</id>
<properties>
<maven.test.skip>true</maven.test.skip>
<skipTests>true</skipTests>
</properties>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -308,6 +312,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-jdk</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[11, 12)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit a7a6504

Please sign in to comment.