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?
Asked
Active
Viewed 1,499 times
1 Answers
2
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

crowne
- 8,456
- 3
- 35
- 50
-
appassembler-maven-plugin doesn't support 64-bit JSW nor (I think) wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperJarApp – Paul McKenzie Jan 25 '11 at 13:37
-
Although I never mention 64bit or WrapperJarApp in the question, to be fair. So I will up-vote the answer, but not accept it. – Paul McKenzie Jan 27 '11 at 11:42
-
in the end I accepted the answer; despite the fact it doesn't help me in my particular situation, it is a feasible solution. – Paul McKenzie Feb 25 '11 at 08:03