You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stormcrawler.apache.org by jn...@apache.org on 2025/04/09 17:24:16 UTC

(incubator-stormcrawler) branch main updated: Update README and compiler target to Java 17 in several plugins (#1518)

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

jnioche pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler.git


The following commit(s) were added to refs/heads/main by this push:
     new a27e2a4e Update README and compiler target to Java 17 in several plugins (#1518)
a27e2a4e is described below

commit a27e2a4e05c3e4af8f852c08c24743c33e2ad5b6
Author: Richard Zowalla <13...@users.noreply.github.com>
AuthorDate: Wed Apr 9 19:24:12 2025 +0200

    Update README and compiler target to Java 17 in several plugins (#1518)
---
 README.md                                                             | 4 ++--
 archetype/src/main/resources/archetype-resources/pom.xml              | 4 ++--
 .../archetype/src/main/resources/archetype-resources/pom.xml          | 4 ++--
 .../solr/archetype/src/main/resources/archetype-resources/pom.xml     | 4 ++--
 pom.xml                                                               | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index e3dfea92..97d55741 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ Apache StormCrawler (Incubating) is an open source collection of resources for b
 
 NOTE: These instructions assume that you have [Apache Maven](https://maven.apache.org/install.html) installed. You will need to install [Apache Storm 2.8.0](http://storm.apache.org/) to run the crawler.
 
-StormCrawler requires Java 11 or above. To execute tests, it requires you to have a locally installed and working Docker environment.
+StormCrawler requires Java 17 or above. To execute tests, it requires you to have a locally installed and working Docker environment.
 
 Once Storm is installed, the easiest way to get started is to generate a new StormCrawler project following the instructions below:
 
@@ -52,7 +52,7 @@ mvn clean install -Dskip.format.code=false
 
 The requirements for building from source are as follows
 
-- JDK 11+
+- JDK 17+
 - Apache Maven 3
 - Docker (if you want to run tests)
 
diff --git a/archetype/src/main/resources/archetype-resources/pom.xml b/archetype/src/main/resources/archetype-resources/pom.xml
index 4148c67e..55d46813 100644
--- a/archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetype/src/main/resources/archetype-resources/pom.xml
@@ -42,8 +42,8 @@ under the License.
 				<artifactId>maven-compiler-plugin</artifactId>
 				<version>3.11.0</version>
 				<configuration>
-					<source>11</source>
-					<target>11</target>
+					<source>17</source>
+					<target>17</target>
 				</configuration>
 			</plugin>
 			<plugin>
diff --git a/external/opensearch/archetype/src/main/resources/archetype-resources/pom.xml b/external/opensearch/archetype/src/main/resources/archetype-resources/pom.xml
index 1cd543a4..8153ccec 100644
--- a/external/opensearch/archetype/src/main/resources/archetype-resources/pom.xml
+++ b/external/opensearch/archetype/src/main/resources/archetype-resources/pom.xml
@@ -44,8 +44,8 @@ under the License.
 				<artifactId>maven-compiler-plugin</artifactId>
 				<version>3.11.0</version>
 				<configuration>
-					<source>11</source>
-					<target>11</target>
+					<source>17</source>
+					<target>17</target>
 				</configuration>
 			</plugin>
 			<plugin>
diff --git a/external/solr/archetype/src/main/resources/archetype-resources/pom.xml b/external/solr/archetype/src/main/resources/archetype-resources/pom.xml
index d0fcd532..501c7753 100644
--- a/external/solr/archetype/src/main/resources/archetype-resources/pom.xml
+++ b/external/solr/archetype/src/main/resources/archetype-resources/pom.xml
@@ -44,8 +44,8 @@ under the License.
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.11.0</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/pom.xml b/pom.xml
index 54e9ab4a..5b042c4c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -425,7 +425,7 @@ under the License.
 				<artifactId>forbiddenapis</artifactId>
 				<version>3.8</version>
 				<configuration>
-					<targetVersion>11</targetVersion>
+					<targetVersion>17</targetVersion>
 					<ignoreSignaturesOfMissingClasses>true</ignoreSignaturesOfMissingClasses>
 					<failOnUnsupportedJava>false</failOnUnsupportedJava>
 					<excludes>test-documents/*.class</excludes>