Hi all, I've discovered that the easist way to extract the local application domain resources out of a maven packaged bundle is to extract them as a bunch of jars - as stored in the standard war's WEB-INF/lib directory.
This way, they're easy to find, automatically packaged in a useful form by maven, and setup is simple (just a once-off edit of the Class-Path in the main jar). Regards, Kevin On 25 May 2011 at 22:19, Dan Haywood wrote: > Hi Kevin, > It is possible to have the master jar reference other JARs, using the > Class-Path: entry in its META-INF/MANIFEST.MF file. For details, see [1] > > A separate problem is how to create the different JARs in the first > place. Maven works best when you arrange it such that each module > creates a single artifact. So I think you could create new plugins to > represent aech the different bits of the JAR that you want, and use the > shade plugin just in these dependent modules but *not* for the module > that will have the customised manifest. > > HTH > Dan > > [1] http://download.oracle.com/javase/tutorial/deployment/jar/downman.html >
