danfruehauf / geoserver-build

Configures a GeoServer war containing extensions and configuration required by AODN instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geoserver Build

Configures a GeoServer war file with the following;

  • The XSLT extension installed
  • CSV with metadata header plugin
  • Layer filter extension

Check out the extensions' readme for more information.

To build

mvn clean install -U 

To setup to run

Create an empty postgres schema that geoserver can connect to as follows:

Parameter Value
host localhost
port 5432
database geoserver
schema geoserver
user geoserver
password geoserver

the schema will be populated with default test data using liquibase

Copy the sample context.xml file to configure the default/additional jndi resources

cd src/main/src/jetty
cp context-sample.xml context.xml

Running using Jetty

Maven project is in src/main

cd ../src/main

GeoServer requires extra memory above the normal maven defaults, so you will need to bump up the memory when running this command. For example, run export MAVEN_OPTS='-Xms100m -Xmx512m -XX:MaxPermSize=192m' prior to running this command or add this command to you startup scripts

Then to run jetty on port 9090 you can use:

mvn jetty:run -Djetty.port=9090

GeoServer will then be available at:

http://localhost:9090

About

Configures a GeoServer war containing extensions and configuration required by AODN instances

License:Other


Languages

Language:SQLPL 98.0%Language:Java 1.6%Language:Scheme 0.3%Language:HTML 0.1%Language:CSS 0.0%Language:Shell 0.0%Language:Ruby 0.0%Language:FreeMarker 0.0%