I just checked and its not in the default war. (at least in 3.2.1-SNAPSHOT). You can try setting it as "provided" in your POM file.
-Scott On Thu, Mar 13, 2008 at 4:24 PM, Andrew R Feller <[EMAIL PROTECTED]> wrote: > Hey Scott, > > > > Well, I am using the POM referenced in the link below and noticed it. > However, I looked in the parent POMs and found the cas-server POM ( > http://developer.ja-sig.org/maven2/org/jasig/cas/cas-server/3.2/cas-server-3.2.pom) > has the servlet-api dependency scoped as *provided*, so it shouldn't > appear in the resulting WAR. I tried a fresh build with the POM and noticed > the servlet-api JAR was in the *target/cas/WEB-INF/lib* directory but not > the *target/war/work/cas-server-webapp-3.2/WEB-INF/lib* directory. > > > > I will try to download the source and compile it directly through the POM > included with the CAS source and see what happens. > > > > Thanks for the help! > > > > Andrew R Feller, Analyst > > University Information Systems > > 200 Fred Frey Building > > Louisiana State University <http://www.lsu.edu/> > > Baton Rouge, LA, 70803 > > (225) 578-3737 (Office) > > (225) 578-6400 (Fax) > > > ------------------------------ > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Scott Battaglia > *Sent:* Thursday, March 13, 2008 2:10 PM > *To:* Yale CAS mailing list > *Subject:* Re: Excluding servlet-api-2.4.jar from Maven build > > > > Andrew, > > Is it showing up in the default WAR file? If so then that's an exclusion > we need to add. > > -Scott > > On Thu, Mar 13, 2008 at 2:17 PM, Andrew R Feller <[EMAIL PROTECTED]> wrote: > > Hey everyone, > > > > How do I exclude particular JARs included in the WAR from building CAS > according to the Maintaining local customizations using Maven > 2<http://www.ja-sig.org/wiki/display/CASUM/Maintaining+local+customizations+using+Maven+2>guide? > After running Maven on the POM, the resulting WAR has the > servlet-api-2.4.jar, which should not be included. > > > > Thanks, > > > > Andrew R Feller, Analyst > > University Information Systems > > 200 Fred Frey Building > > Louisiana State University <http://www.lsu.edu/> > > Baton Rouge, LA, 70803 > > (225) 578-3737 (Office) > > (225) 578-6400 (Fax) > > > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > -- > -Scott Battaglia > PGP Public Key Id: 0x383733AA > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > -- -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
