I would say simplify the first answer like the second answer.
Maven "install" your javafx project, it will create a artifact/library/jar in your local Maven repository.
Add the jar by "Manually add Library from repository" (the "Search repositories" didn't work for me, gave failed to install)