Servlet 3.1 Not in final form yet. http://jcp.org/en/jsr/detail?id=340
Servlet 3.0 <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_3.0_spec</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> Servlet 2.5 <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_2.5_spec</artifactId> <version>1.2</version> <scope>provided</scope> </dependency> Anything before Servlet 2.5 Seriously? Well there should be a servlet 2.4 jar in central under the javax.servlet On 13 February 2013 13:57, Stephen Connolly <stephen.alan.conno...@gmail.com > wrote: > In any case, the api should be <scope>provided</scope> unless *you are > building a servlet container*. > > Given that the servlet and jsp api's are a standard, it should not matter > *which* one you choose. I tend to favour the geronimo spec jars though > figuring pout the exact one can be tricky and their version numbering is a > tad strange. > > You really just need to know what servlet specification you are targeting > as the minimum that your application will run on and pull in any > corresponding API with scope=provided > > > On 13 February 2013 13:00, Ron Wheeler <rwhee...@artifact-software.com>wrote: > >> Not really a Maven question but... >> >> I am not sure why Oracle or Sun would make one of these since they have >> nothing to do with jsp. >> >> It is part of the servlet container specification and would be provided >> by the container project. >> Apache Tomcat, Jetty, Glassfish,... >> >> Here is another one that looks like it was done as part of the Jetty >> project: >> >> <dependency> >> <groupId>org.mortbay.jetty</**groupId> >> <artifactId>servlet-api-3.0</**artifactId> >> <version>7.0.0pre2</version> >> </dependency> >> >> What container(s) are you targeting? >> >> Ron >> >> >> On 13/02/2013 6:13 AM, aparti wrote: >> >>> Thanks but I am looking for Jar from ORacle or Sun >>> >>> >>> >>> -- >>> View this message in context: http://maven.40175.n5.nabble.** >>> com/Need-substitue-jar-for-**jsp-api-tp5746853p5746865.html<http://maven.40175.n5.nabble.com/Need-substitue-jar-for-jsp-api-tp5746853p5746865.html> >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> ------------------------------**------------------------------** >>> --------- >>> To unsubscribe, e-mail: >>> users-unsubscribe@maven.**apache.org<users-unsubscr...@maven.apache.org> >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> >>> >> >> -- >> Ron Wheeler >> President >> Artifact Software Inc >> email: rwhee...@artifact-software.com >> skype: ronaldmwheeler >> phone: 866-970-2435, ext 102 >> >> >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> users-unsubscribe@maven.**apache.org<users-unsubscr...@maven.apache.org> >> For additional commands, e-mail: users-h...@maven.apache.org >> >> >