-
-
Notifications
You must be signed in to change notification settings - Fork 99
Building deegree3
This page describes how to build deegree3 from the command line.
- Compatible JDK (OpenJDK 7, Oracle Java 7 or Oracle Java 6)
- Apache Maven 3.0.5 or better
- Git
First, you will need to clone the deegree3 repository. On the command line, change to a suitable directory and enter:
git clone git://github.com/deegree/deegree3.git
You'll probably want to fork the deegree3 repository and clone your fork instead (just replace the deegree part with your GitHub username).
Now, change to the deegree3
directory and check out the version that you want to build, e.g.
git checkout deegree-3.3.8
Hint: Use git checkout master
to get the latest development version. Use git tag
to find out all tags (versions) that can be checked out. The following command shows the list of all tags:
git tag | grep "^deegree-[0-9].*\|^[0-9]." | sort
Pick a tag and enter:
git checkout tags/deegree-3.4-pre10
Invoke Maven to start the build process:
mvn install
This will build deegree-webservices and all dependent deegree3 modules. You can find the deegree-webservices artifacts in deegree-services/deegree-webservices/target
.
The are several Maven profiles available to modify the build process, e.g. use
mvn install -Poracle,mssql
to enable support for Oracle Spatial and Microsoft SQL Server.
Here's a full list of available Maven profiles:
- handbook: builds the deegree webservices handbook
- integration-tests: runs integration tests (these take a couple of minutes)
- mssql: builds the MSSQL Server SQL dialect
- oracle: builds the Oracle SQL dialect
To show all available profiles use
mvn help:all-profiles | grep 'Profile Id' | sort -u