After a late night, I'm happy to announce that I have all of the following deployments working for examples.
packaged EAR to JBoss AS using jboss plugin (booking)
exploded EAR to JBoss AS using antrun plugin (booking)
packaged WAR to Tomcat using tomcat plugin (servlet-booking)
exploded WAR to Tomcat using tomcat plugin (servlet-booking)
in place WAR w/ embedded Jetty using jetty plugin (servlet-booking)
in place WAR w/ embedded Tomcat using tomcat plugin (servlet-booking)
Everything is done with native Maven 2 except for the exploded EAR to JBoss AS. I made the antrun configuration as elegant as possible to support that use case, and I think it works out nicely. Instructions are in the readme.txt. The instructions are still missing some details, but I should have all gaps filled in soon.
Now, for more functionality and tests ;)
I just checked in the scaffolding for the servlet-booking example, a WAR which will target Tomcat and Jetty (and perhaps even JBoss AS once I get the profiles setup). In the process, I believe I solved the issue of binding the JCDI Manager to JNDI in Jetty. What's really strange though is that once I get the Manager, it doesn't find any beans on my classpath. But that might have to do with...
Jetty is still in a crippled state. First, JSF 2 does not appear fully on Jetty. If I use the @ManagedBean annotation, the bean cannot be found. If I used the @Named annotation, same thing. Both examples work unchanged on Tomcat. So I'm not sure yet. Going to contact the Mojarra team.
The scaffolding works beautifully on Tomcat. I'm going to working both the booking and servlet-booking projects as I fill out the functionality.
Senior Software Engineer, Red Hat | Author of Seam in Action
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.