diff --git a/graal-native-image-test/pom.xml b/graal-native-image-test/pom.xml
index 37f0b075b5..ce38f3eac4 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 b600b78389..bbc07c32e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -213,6 +213,11 @@
maven-jar-plugin
3.3.0
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 3.1.1
+
org.apache.maven.plugins
maven-source-plugin