diff --git a/graal-native-image-test/pom.xml b/graal-native-image-test/pom.xml
index 76391200a4..f51b60018c 100644
--- a/graal-native-image-test/pom.xml
+++ b/graal-native-image-test/pom.xml
@@ -85,6 +85,15 @@
true
+
+ org.apache.maven.plugins
+ maven-install-plugin
+
+
+ true
+
+
org.apache.maven.plugins
maven-deploy-plugin
diff --git a/pom.xml b/pom.xml
index 844dac36ff..73924ac5e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,6 +194,11 @@
maven-jar-plugin
3.3.0
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 3.1.1
+
org.apache.maven.plugins
maven-source-plugin