So I understand that we can have a deterministic classpath order from Maven POM. But how can I use this in my Java Service Wrapper configuration file?
As per the example in the link below, use the maven appassember plug-in to generate your jsw scripts.
Then whenever you add a new dependency in your pom and rebuild your app, your jsw script will be re-generated with the new dependency.
http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/usage_jsw.html