Yes, all dependency jars (and transitive ones) end up well in WEB-INF/lib. Problem is that I need to configure to have some of the dependencies expanded in WEB-INF/classes.
I've found some discussions from before ( http://www.mail-archive.com/[email protected]/msg71453.html ) but solution presented there doesn't work for me, as putting jar dependency to provided scope makes all it's transitive dependencies "provided" too. Configuring jar transitive dependencies as war dependencies too is not acceptable (many of them, maintenance nightmare). I've tried configuring maven dependency plugin to expand jar, and maven war plugin to exclude jar from packaging, but it didn't work, and even if it did it would also be maintenance nightmare as in packagingExludes one has to specify full jar name (wish something like "ArtifactItems" was available for war plugin). Regards, Stevo. 2008/12/18 Wendy Smoak <[email protected]> > On Thu, Dec 18, 2008 at 4:44 AM, Stevo Slavić <[email protected]> wrote: > > > Is there a way to have a jar dependency expanded in a war, so that war > would > > also have all transitive dependencies jar has? > > The war should have all its dependency jars and their transitive > dependencies in WEB-INF/lib. > > Is that not happening? Or are you asking for them to be expanded > under WEB-INF/classes instead? > > -- > Wendy >
