Use jfx:jar goal, not javafx:jar or package.