You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mt...@apache.org on 2022/04/07 10:53:51 UTC

[nifi] branch main updated: NIFI-9887 Set minimum Java build version to 1.8.0-251

This is an automated email from the ASF dual-hosted git repository.

mthomsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new af3375669c NIFI-9887 Set minimum Java build version to 1.8.0-251
af3375669c is described below

commit af3375669c374ab0ca703aee42d4ae32cea10efc
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Wed Apr 6 18:24:31 2022 -0500

    NIFI-9887 Set minimum Java build version to 1.8.0-251
    
    - Set minimalJavaBuildVersion property for maven-enforcer-plugin configuration
    - Updated README to mention Java 8 Update 251 in Minimum Requirements
    - Disabled site-plugin from parent configuration
    
    This closes #5942
    
    Signed-off-by: Mike Thomsen <mt...@apache.org>
---
 README.md | 2 +-
 pom.xml   | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 19272084f2..a1120dfa38 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ Apache NiFi was made for dataflow. It supports highly configurable directed grap
   - Multiple teams can manage and share specific portions of the flow
 
 ## Minimum Requirements
-* JDK 8
+* JDK 8 Update 251
 * Apache Maven 3.6.0
 
 ## Getting Started
diff --git a/pom.xml b/pom.xml
index f295fae127..ad6c37f439 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,7 +92,11 @@
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
+        <!-- Set minimum Java version for maven-enforcer-plugin from parent POM -->
+        <minimalJavaBuildVersion>1.8.0-251</minimalJavaBuildVersion>
         <maven.surefire.arguments />
+        <!-- Disable maven-site-plugin from parent POM -->
+        <maven.site.skip>true</maven.site.skip>
         <node.version>v16.13.2</node.version>
         <frontend.mvn.plugin.version>1.12.1</frontend.mvn.plugin.version>
         <project.build.outputTimestamp>1647889104</project.build.outputTimestamp>