我目前正在使用maven从事Openjfx项目(用于Windows),所以我在我的POM中:
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.2</version>
</dependency>
[由于大流行,我不得不旅行,我只用我的Macbook卡在另一个城市。
我被要求在项目中进行一些更改。现在我想用Windows依赖项生成jar,但是maven只下载mac版本。
javafx-controls-12.0.2-mac.jar
javafx-graphics-12.0.2-mac.jar
javafx-base-12.0.2-mac.jar
javafx-fxml-12.0.2-mac.jar
有没有一种方法可以强制在Mac中下载Win版本的文件?
PS:我还使用Apache Maven Shade插件将Openjfx文件打包在jar中。