That "Should" be all you need... A friend of mine verified on Tomcat as well. Perhaps you did something different, Jim?<br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 7:36 PM, Neil Griffin <span dir="ltr"><<a href="mailto:neil.griffin@portletfaces.org">neil.griffin@portletfaces.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think I've been able to do JSF 2.0 and Tomcat with the following:<br>
<div class="im"><br>
<dependencies><br>
<dependency><br>
<groupId>javax.faces</groupId><br>
<artifactId>jsf-api</artifactId><br>
<version>2.0</version><br>
</div><div class="im"> </dependency><br>
<dependency><br>
<groupId>com.sun.faces</groupId><br>
<artifactId>jsf-impl</artifactId><br>
</div> <version>2.0.2</version><br>
</dependency><br>
</dependencies><br>
<br>
<repositories><br>
<repository><br>
<id><a href="http://maven2-repository.dev.java.net" target="_blank">maven2-repository.dev.java.net</a></id><br>
<name>Java.net Repository for Maven</name><br>
<div class="im"> <url><a href="http://download.java.net/maven/2" target="_blank">http://download.java.net/maven/2</a></url><br>
</repository><br>
</div> </repositories><br>
<div><div></div><div class="h5"><br>
On Jan 26, 2010, at 1:24 PM, Jim Driscoll wrote:<br>
<br>
> Wonderful news. Glad that's settled out.<br>
><br>
> While I'm thinking of it, there's a change that I'd like to see on the dependencies section at <a href="http://www.javaserverfaces.org/download" target="_blank">http://www.javaserverfaces.org/download</a><br>
><br>
> The dependencies aren't nearly as clearcut as you have listed, sadly. In particular, they don't work for Tomcat.<br>
><br>
> For the demos, I used the following code block:<br>
><br>
> <repositories><br>
> <repository><br>
> <id>java.net.m2</id><br>
> <name><a href="http://java.net" target="_blank">java.net</a> m2 repo</name><br>
> <url><a href="http://download.java.net/maven/2" target="_blank">http://download.java.net/maven/2</a></url><br>
> </repository><br>
> <repository><br>
> <id>glassfish-repo-archive</id><br>
> <name>Nexus repository collection for Glassfish</name><br>
> <url><a href="http://maven.glassfish.org/content/groups/glassfish" target="_blank">http://maven.glassfish.org/content/groups/glassfish</a></url><br>
> </repository><br>
> <repository><br>
> <id>ibiblio.mirrors</id><br>
> <url><a href="http://mirrors.ibiblio.org/pub/mirrors/maven2" target="_blank">http://mirrors.ibiblio.org/pub/mirrors/maven2</a></url><br>
> </repository><br>
> <repository><br>
> <id>codehaus</id><br>
> <name>codehaus</name><br>
> <url><a href="http://repository.codehaus.org" target="_blank">http://repository.codehaus.org</a></url><br>
> </repository><br>
> </repositories><br>
><br>
> <dependencies><br>
> <dependency><br>
> <groupId>javax.faces</groupId><br>
> <artifactId>jsf-api</artifactId><br>
> <version>2.0</version><br>
> <scope>provided</scope><br>
> </dependency><br>
><br>
> <!--<br>
> Uncomment these dependencies and comment out the one above to use<br>
> a simple servlet container instead of a Java EE Application Server<br>
> <dependency><br>
> <groupId>com.sun.faces</groupId><br>
> <artifactId>jsf-api</artifactId><br>
> <version>[2.0.1,)</version><br>
> </dependency><br>
> <dependency><br>
> <groupId>com.sun.faces</groupId><br>
> <artifactId>jsf-impl</artifactId><br>
> <version>[2.0.1,)</version><br>
> </dependency><br>
> <dependency><br>
> <groupId>javax.servlet</groupId><br>
> <artifactId>servlet-api</artifactId><br>
> <version>2.5</version><br>
> <scope>provided</scope><br>
> </dependency><br>
> <dependency><br>
> <groupId>javax.servlet.jsp</groupId><br>
> <artifactId>jsp-api</artifactId><br>
> <version>2.1</version><br>
> <scope>provided</scope><br>
> </dependency><br>
> <dependency><br>
> <groupId>javax.servlet.jsp.jstl</groupId><br>
> <artifactId>jstl-api</artifactId><br>
> <version>1.2</version><br>
> </dependency><br>
> <dependency><br>
> <groupId>org.glassfish.web</groupId><br>
> <artifactId>jstl-impl</artifactId><br>
> <version>1.2</version><br>
> </dependency><br>
> --><br>
><br>
> </dependencies><br>
><br>
><br>
> Yeah, Sun's repos are a mess. The complexity is really only needed for Tomcat/Jetty deployments.<br>
><br>
> You can find the demo's pom.xml at<br>
> <a href="https://mojarra.dev.java.net/source/browse/*checkout*/mojarra/trunk/jsf-demo/helloworld/pom.xml?content-type=text%2Fplain&rev=8105" target="_blank">https://mojarra.dev.java.net/source/browse/*checkout*/mojarra/trunk/jsf-demo/helloworld/pom.xml?content-type=text%2Fplain&rev=8105</a><br>
><br>
> Jim<br>
><br>
> On 1/25/10 11:16 PM, Kito Mann wrote:<br>
>> Hey guys,<br>
>><br>
>> <a href="http://javaserverfaces.org" target="_blank">javaserverfaces.org</a> <<a href="http://javaserverfaces.org" target="_blank">http://javaserverfaces.org</a>> and <a href="http://javaserverfaces.com" target="_blank">javaserverfaces.com</a><br>
>> <<a href="http://javaserverfaces.com" target="_blank">http://javaserverfaces.com</a>> now officially redirect to<br>
>> <a href="http://www.javaserverfaces.org" target="_blank">http://www.javaserverfaces.org</a>. It's old-school: the JSF Central web app<br>
>> has a filter that just does a redirect for those two domains. It's good<br>
>> enough for now, though. Once we're running on a more flexible platform,<br>
>> we can just point the CNAME record directly at the correct IP.<br>
>> ---<br>
>> Kito D. Mann | twitter: kito99 | Author, JSF in Action<br>
>> Virtua, Inc. | <a href="http://www.virtua.com" target="_blank">http://www.virtua.com</a> | JSF/Java EE training and consulting<br>
>> <a href="http://www.JSFCentral.com" target="_blank">http://wwwJSFCentral.com</a> - JavaServer Faces FAQ, news, and info |<br>
>> twitter: jsfcentral<br>
>> +1 203-404-4848 x3<br>
>><br>
>> Sign up for the JSFCentral newsletter: <a href="http://oi.vresp.com/?fid=ac048d0e17" target="_blank">http://oi.vresp.com/?fid=ac048d0e17</a><br>
>><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>"Keep it Simple"<br>