Hi David, That's what I was thinking would work best.
-Lucas David Winslow wrote: > Probably the nicest way is to use a maven profile, the way many of the > community modules already do. Just add the dependencies you'd like to > toggle inside of a <profile> block, like so: > > in community/pom.xml > <profile> > <id>WPS</id> > <modules> > <module>WPS</module> <!-- the directory name --> > </modules> > </profile> > > in web/pom.xml > <profile> > <id>WPS</id> > <dependencies> > <dependency> > <artifactId>WPS</artifactId> > <groupId>org.geoserver</groupId> > <version>1.7-SNAPSHOT</version> > </dependency> > </dependencies> > </profile> > > There are plenty of examples in both of these files if that's not > clear. To activate the profile, just add -P<id> to your maven command. > It's a comma-separated list so you can do something wacky like: > "mvn install -Prest,geosearch,geosync,upload" to enable a bunch of modules. > > -David > > Lucas Reed wrote: >> Hi, >> >> I recently checked in the WPS community module we're working on. >> >> 1) I'd like to know what the proper way would be to have the WPS >> module be included selectivly when building GeoServer with Maven. >> I haven't had much luck getting the WPS module to load outside of >> my Eclipse development environment. >> >> 2) At this point we don't need any user configurability, and with >> that in mind, what are the minimal modifications needed outside the >> community module in order to get the WPS module loading and running? >> >> Thanks, >> Lucas Reed >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Geoserver-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel >> >> !DSPAM:4040,483df76528895332866982! >> >> > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
