Skip to content

Commit

Permalink
Introduce minimalMavenBuildVersion property
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Dec 10, 2023
1 parent dd3a89b commit 87047fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ limitations under the License.

<properties>
<javaVersion>8</javaVersion>
<minimalMavenBuildVersion>3.2.5</minimalMavenBuildVersion>
<maven.compiler.source>${javaVersion}</maven.compiler.source>
<maven.compiler.target>${javaVersion}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -620,8 +621,8 @@ limitations under the License.
<configuration>
<rules>
<requireMavenVersion>
<version>3.2.5</version>
<message>This project requires at least Maven 3.2.5</message>
<version>${minimalMavenBuildVersion}</version>
<message>This project requires at least Maven ${minimalMavenBuildVersion}</message>
</requireMavenVersion>
<enforceBytecodeVersion>
<maxJdkVersion>${maven.compiler.target}</maxJdkVersion>
Expand Down

0 comments on commit 87047fa

Please sign in to comment.