java - jnetpcap dependency for multiple OSes -


i'm trying write program uses jnetpcap , fits both linux , windows. compile program using maven.

currently dependency 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 shows different binaries windows/linux/mac/etc.

how maven know binary download dependency when trying compile windows/linux/mac.

is there repository jnetpcap 1.3 maven?

maven doesn't know binary include, unlike individual packages jnetpcap download page, maven jar file contains binaries both windows , linux in 32 , 64 bit versions. can check decompressing jar file - see native directory. long deploy jar came maven application, able run on windows , linux clients.

there no repository version 1.3, if want use version, you'll have download jar download site , manually install local repository able build project.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -