-
Notifications
You must be signed in to change notification settings - Fork 28
Building
geo-platform is built using the Apache Maven environment, so building requires that you have the maven toolkit installed. After downloading the geo-platform codebase, run the command: mvn to start compiling and, by default, testing the geo-platform files. Maven will automatically download various dependencies, compile the code and then test each module.
Various options (aka lifecycle phases) are available, for example, to avoid testing and just use the compile, use phase: mvn compile or to install: mvn install, etc.
To pass tests you may need to first create a postgresql db called gp, including the postgis extension (postgis-xx.sql and spatial_ref_sys.sql must be loaded).
Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean.