I have a webapp that has two servlets:

  1. A server for my application
  2. A JnlpDownloadServlet that serves a webstart app that is a swing
     client to my server

The two servlets share many of the same jar dependencies.

I use the webstart-maven-plugin and its jnlp-download-servlet goal to package the webstart app within my webapp. The problem is that the shared jars between the two servlets are now duplicated under WEB-INF/lib and webstart directories.
The webstart directory has the signed version of the shared jars.

This jar duplication is costing nearly 30 MB in the size of my war file for my webapp. Is there some option in the webstart-maven-plugin that somehow eliminated the jar duplication?

--
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com


Reply via email to