Andrew Hughes ha scritto:
> Well, I most certainly have found some good news!
> 
> I'll confirm this with some more testing...
> 
> If you have a maven <packaging>war</packaging> project with, a 
> dependency on a war (ie geoserver)... the geoserver war's contents are 
> packed into the war as well. This means if you wanted to customize your 
> own... all you would need to do would be to put your geoserver data in 
> ./src/main/webapp/data/*

Hum, that's what the config plugin we have in GeoServer does when
you run "mvn install -DconfigId=myconfig 
-DconfigDirectory=/path/to/config/dir/parent"

I assumed you already knew about this?

> It would be especially easy if there was a classified version of 
> geoserver available in a maven repository (geoserver-1.6.3-nodata.war), 
> which is easy enough for me to knock up for testing... but I don't know 
> how this effects your release mechanism if you want to do it in your 
> project?

Hem... we definitely do not publish the .war now and I still don't know
how this would happen. We do deploye on the codehaus repo and the web
module gets published as a jar (i.e. web-1.6.2.jar, 32MB... hmmm...):
http://repository.codehaus.org/org/geoserver/web/1.6.2/

Yet, if you don't manually install anything,
by default you get the empty data dir (which is not the same a no data).

> Next, I will look at how to embed a jetty or tomcat to launch geoserver 
> from the command line.   mvn geoserver:start or something.

I suggest you look in the geoserver sources, it seems there
is most of what you need... I think you want to make something
separated from GeoServer that allows people customization without
needing to check out the sources, right?

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to