I have a simple Maven project and I want to download from Nexus repo JavaFX jars. The problem is that it downloads the jar files depending on the OS. POM example:
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11</version>
</dependency>
Now, how can I download all javafx-controls-11-xxx.jar files for all platforms? When uploading this to Jenkins it will download only the Linux jars and I need all of them to make the project cross platform.
Thanks in advance!
I've found the solution.
Using this <classifier>linux|mac|win</classifier>
solves the problem. I have to add a classifier for all jar files.