Ok,
this is new to me. I can see I have a lot of reading about Maven to do!
Thanks David.
-jeff


On Thu, Dec 18, 2008 at 1:59 PM, David Smith <d...@cornell.edu> wrote:

> Then change your pom.xml so the servlet-api is in scope "provided".
> This will allow the build, but not include the jar.
>
> --David
>
> Jeff Walker wrote:
> > Ok,
> > thanks Charles.
> > Maven requires it for build purposes, but I can instruct Maven to remove
> it
> > from the war file.
> > Thanks again,
> > -jeff
> >
> >
> >
> > On Thu, Dec 18, 2008 at 1:49 PM, Caldarale, Charles R <
> > chuck.caldar...@unisys.com> wrote:
> >
> >
> >>> From: Jeff Walker [mailto:webservices.archit...@gmail.com]
> >>> Subject: My deployed war file has servlet-api-2.5.jar in its
> >>> WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
> >>> during deployment
> >>>
> >>> But it seems to me that Maven is correct here in
> >>> leaving it in the war, while Tomcat should realize
> >>> that many deployed war files may include this common jar?
> >>>
> >> Under no circumstances should a .war file include that .jar or any other
> >> that is the responsibility of the container to provide.  Your usage of
> Maven
> >> is in error.
> >>
> >>  - Chuck
> >>
> >>
> >> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> >> MATERIAL and is thus for use only by the intended recipient. If you
> received
> >> this in error, please contact the sender and delete the e-mail and its
> >> attachments from all computers.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to