I'm trying to adjust my build procedure to produce a standalone executable. There are a few tools that do this and Packr seems like the perfect one. Also as far as I can tell it is officially supported my maven.
After spending roughly an epoch of googlin' I haven't had any luck finding a simple maven XML example of a packr build step. Also I'm very new to Maven which makes this more complicated. It seems to me though, that there should be a fairly standard XML block where only a few jar names would need to be changed to get it working.
I'm also working in eclipse and trying to build executables for windows and linux.
Packr: https://github.com/libgdx/packr
Packr in Maven: https://mvnrepository.com/artifact/com.badlogicgames.packr/packr
1.Define profiles in pom.xml , for Windows, Linux and Mac OS X 2.Assuming that I have packr.jar downloaded , just invoke the necessary profile
To obtain your windows distributive, tell maven the desired profile :
You can see below also the config-windows.json :
Check it out on GitHub : https://github.com/scorobogaci/file-sorting-app