Updated the pom.xml file for proper JavaFX support.