This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've produced a client jar to be downloaded and run in WebStart. Let's call it client.jar. groupId=myapp artifactId=client
I have another project groupId=myapp artifactId=webapp. This generates a .war file. I want to tell the war plugin to add the client.jar file to the root of the .war package. I don't want to add a <dependency> on the client.jar because this means that it will end up in /WEB-INF/lib. It shouldn't be on the server's classpath... so I don't want it in the lib directory.
I would have thought this was a very general requirement for anyone deploying a WebStart web application using Maven? Is there a way that I can order the war plugin to do the required bundling?
Joined: Nov 08, 2000
The solution involved using the Maven assembly plugin inside the war project.