openjfx / javafx-maven-plugin

Maven plugin to run JavaFX 11+ applications
Apache License 2.0
371 stars 59 forks source link

Error if settings file doesn't exist #139

Open jperedadnr opened 3 years ago

jperedadnr commented 3 years ago

Hotfix added this line: https://github.com/openjfx/javafx-maven-plugin/blob/master/src/main/java/org/openjfx/JavaFXRunFixMojo.java#L139 which takes the user settings file into account. But if it doesn't exist, there is a runtime error. See https://stackoverflow.com/questions/69336290/eclipse-maven-javafx-maven-home-not-specified

SingingBush commented 3 years ago

I've just hit this bug. A settings.xml file is optional so the plugin should not assume it exists. Rolling back to 0.0.6 sorted it.