I'm trying to write a program that uses jnetpcap and fits both linux and windows. I compile my program using Maven.
Currently the dependency to jnetpcap is:
<!-- https://mvnrepository.com/artifact/jnetpcap/jnetpcap -->
<dependency>
<groupId>jnetpcap</groupId>
<artifactId>jnetpcap</artifactId>
<version>1.4.r1425-1f</version>
</dependency>
When looking at: http://jnetpcap.com/download It shows different binaries for windows/linux/mac/etc.
How does maven know which binary to download from this dependency when trying to compile to windows/linux/mac.
Is there a repository for jnetpcap 1.3 for maven?