>I'm not sure I understand the question about platform-specific jar files,
Last time I worked on native specifics (which was to package up RXTX dlls for different OSs / in 64/32 bit) The easiest solution for pure Maven builds seemed to be, to package DLLs inside a jar. We then used a profile to control which DLL's were grabbed in different cases. And surely for this specific case, it would be better to split the native specifics into separate jars per OS to avoid a huge cross-OS download?