Trigger mvn install pointing to remote pom file



as part of a complex multi-project build, I need to automatically update the local maven repository to make certain project dependencies resolvable.

The pom file I need to install is located here:

And I need to install it as part of the build also passing parameters i.e:
mvn install -f “” -D serverInstallationFolder=“C:/WebSphere/AppServer/”

I have looked at the gradle maven and maven-publish, but they all seem oriented to publish artifacts generated by the build and not generically import an existing pom file

Any suggestion is very appriciated