diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36f4b8cf63a08169b6cb54120d48f397138db433..3b8f7c9f9bb6dc83b26b0821b134b0f24f774b24 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,7 +37,7 @@ deploy:
     - mvn deploy:deploy-file
         -Dfile=target/vospace-datamodel-test.jar
         -DrepositoryId=ia2.snapshots
-        -DpomFile=pom.xml
+        -DpomFile=flattened-pom.xml
         -Durl=${IA2_MVN_REPO_SNAPSHOTS}
   only:
     - test