Making a JAR file of Appium tests for distribution

I am making appium tests in java. I have used maven to include dependencies in my code in IDE.
Now i want to package my tests into a jar file so that others can run on their machines. But they may not have node.js, appium and android sdk tools installed in their machines. So i want to make an installer that installs these dependencies before running my jar. I will be starting appium server by running the “appium” command from my java code.
Is there some way to make an installer so that my jar file can be run on Windows,linux and mac machines?

This may help, it is for Java with Selenium but princible is still the same.