It is used like other maven archetypes, it creates all the boiler plate stuff. So basically someone looking to create a new plugin module would first run the archetype:
mvn archetype:create -DarchetypeGroupId=org.geoserver.maven -DarchetypeArtifactId=geoserver-webplugin-archetype -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.company -DartifactId=myProject -Dversion=1.0 That creates a geoserver module with the following content: 1) A pom.xml with all the required dependencies for running and testing the module with the gs ui testing framework 2) An simple web page with shows a single i18nized label 3) An application context that contains the bean definitions in order to plug the module into the main GeoServer menu After running the archetype the developer only has to ensure that the module is on the classpath and they have their first plugin. From which they will modify and customize to fit their own specific purposes. -Justin Simone Giannecchini wrote: > Ciao Justin, > this certainly looks interesting. Can you please provide us a bit more > details on how you think this plugin could be used? > > Simone. > ------------------------------------------------------- > Ing. Simone Giannecchini > GeoSolutions S.A.S. > Founder - Software Engineer > Via Carignoni 51 > 55041 Camaiore (LU) > Italy > > phone: +39 0584983027 > fax: +39 0584983027 > mob: +39 333 8128928 > > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://simboss.blogspot.com/ > http://www.linkedin.com/in/simonegiannecchini > > ------------------------------------------------------- > > > > On Tue, Oct 6, 2009 at 2:27 PM, Justin Deoliveira <[email protected]> > wrote: >> Hi all, >> >> I recently created an archetype for building a web based plugin module >> for GeoServer. It out of the box gives you something that shows up in >> the main menu, similar to how the wfs output format archetype works. >> >> Any interest in this? If so I can add it to svn and hopefully eventually >> write a small tutorial on it. >> >> -Justin >> >> -- >> Justin Deoliveira >> OpenGeo - http://opengeo.org >> Enterprise support for open source geospatial. >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Geoserver-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel >> -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
