diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/ControllerRequestClient.java b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/ControllerRequestClient.java
index 0b2ce9fd3c7b..9ce485adb54c 100644
--- a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/ControllerRequestClient.java
+++ b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/ControllerRequestClient.java
@@ -49,6 +49,8 @@
*
* It should be provided with a specified {@link ControllerRequestURLBuilder} for constructing the URL requests
* as well as a reusable {@link HttpClient} during construction.
+ *
+ * TODO: This should be moved to an external project in order to allow clients to use JDKs older than 21
*/
public class ControllerRequestClient {
private final HttpClient _httpClient;
diff --git a/pinot-core/pom.xml b/pinot-core/pom.xml
index bf729dd618db..4d08d43bab7c 100644
--- a/pinot-core/pom.xml
+++ b/pinot-core/pom.xml
@@ -31,6 +31,8 @@
https://pinot.apache.org/
${basedir}/..
+ 11
+ 21
diff --git a/pinot-plugins/pinot-metrics/pinot-yammer/pom.xml b/pinot-plugins/pinot-metrics/pinot-yammer/pom.xml
index 069a2ffba7d8..0329dc3eb35d 100644
--- a/pinot-plugins/pinot-metrics/pinot-yammer/pom.xml
+++ b/pinot-plugins/pinot-metrics/pinot-yammer/pom.xml
@@ -33,6 +33,7 @@
${basedir}/../../..
package
+ 11
diff --git a/pinot-segment-local/pom.xml b/pinot-segment-local/pom.xml
index ab428b8633a5..cc461e61f35a 100644
--- a/pinot-segment-local/pom.xml
+++ b/pinot-segment-local/pom.xml
@@ -32,6 +32,9 @@
https://pinot.apache.org/
${basedir}/..
+ 11
+
+ 21
diff --git a/pinot-segment-spi/pom.xml b/pinot-segment-spi/pom.xml
index bc7ae661da63..22837ed2d57e 100644
--- a/pinot-segment-spi/pom.xml
+++ b/pinot-segment-spi/pom.xml
@@ -32,6 +32,7 @@
https://pinot.apache.org/
${basedir}/..
+ 11
diff --git a/pinot-server/pom.xml b/pinot-server/pom.xml
index 09d2acc0755a..8fe9bceb31fb 100644
--- a/pinot-server/pom.xml
+++ b/pinot-server/pom.xml
@@ -112,6 +112,14 @@
lib
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 17
+ 17
+
+