I'd assume this is happening because some parent (or grandparent, or grand-grandparent, etc) of your pom is including those jars as a dependency. And so your own project is bringing them in as a dependency, so they are included in your war.
You could try "mvn -X package" and then search the text-tree dependency output to find out what specific artifact is bringing those dependencies in, but I think this is a wasted effort, and agree with Wendy that you need to remove that extraneous <parent> tag and fix up your own dependencies. If you're lucky, the problem will resolve itself with these changes. Wayne On 7/30/07, Frederick N. Brier <[EMAIL PROTECTED]> wrote: > I was building off of the struts2-portlet-2.0.x.war example. So I guess > that means I need to travel up the pom parents tree and merge all the > dependencies and other elements into my own pom? I will try and attempt > not to break anything. Thank you. Do you happen to know why all those > .jars are being included in my .war? > > Fred > > Wendy Smoak wrote: > > On 7/30/07, Frederick N. Brier <[EMAIL PROTECTED]> wrote: > > > >> <parent> > >> <groupId>org.apache.struts</groupId> > >> <artifactId>struts2-apps</artifactId> > >> <version>2.0.9</version> > >> </parent> > >> > > > > Using a pom from some else's project as your parent is unusual. I'd > > remove that and leave the dependencies on the struts jars. You may > > want to establish a 'struts.version' property so you don't have to > > repeat it. > > > > Having this as a parent means you're following all the way up to the > > ASF top-level parent pom, which is unlikely to be what you really want > > -- your project web site will list all the Struts developers, for one > > thing. :) > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]