Assembling a server via command line
Similarly you can use the gshell deploy/assemble command specifying the same information on the command line interactively.
Important Note
In order to get a working server you must include the framework plugin group (org.apache.geronimo.plugingroups/framework/version/car) which includes several files used to start the server
TODO: The groupId is not currently used but the intention is to copy the assembled server into an appropriate maven repository.
Here's an example of a gshell script to install the roller plugin into the framework assembly and extract a server that only supports roller (and does not include the admin console or any deployment capabilities)
TODO: use something like this: snippet:url=geronimo/plugins/roller/trunk/roller-jetty-commands
TODO: get gshell to accept line continuations as in the following (these DO NOT WORK IN REAL LIFE):
# assembles a server containing roller-jetty from the geronimo-framework server. # run using ./bin/gsh < roller-jetty-commands deploy/list-plugins -u system -w manager -r file:/Users/david/.m2/repository/\ org.apache.geronimo.plugins/roller-jetty/0.0.2-SNAPSHOT/car\ org.apache.geronimo.plugins/roller-themes/0.0.2-SNAPSHOT/car deploy/assemble -g org.apache.geronimo.assemblies -a geronimo-roller-jetty -v 1.0-SNAPSHOT\ org.apache.geronimo.assemblies/geronimo-boilerplate-minimal/2.1-SNAPSHOT/jar\ org.apache.geronimo.plugins/roller-jetty/0.0.2-SNAPSHOT/car\ org.apache.geronimo.plugins/roller-themes/0.0.2-SNAPSHOT/car