The pom file generated when requesting a JavaFX program assumes Java 1.7 where JavaFX was still part of the Java distribution. It also refers to the java packager that I believe is currently in limbo. There are also some other changes necessary so that Maven can execute an OpenFX project.
I have included two pom files. One is a pom that is brought in with the parent tag and the second is the pom in the app. They should be reviewed by someone better versed in Maven and FX. If needed I can give you the GitLab URLs to the project that uses them. They could be combined into a single pom.