Apparently there is a plugin for Maven that allows you to deploy your application against an embedded maven server http://blogs.sun.com/sirajg/entry/using_maven_plugin_for_v3
If it works, I’ll be able to get rid of all the complicated Maven XML I have for downloading and installing Glassfish V2.
There is documentation available for the plugin in the Sun GlassFish Enterprise Server v3 Embedded Server Guide