Geotoolkit.org branches

The source code repository maintains three branches:

The JDK7 branch

The JDK7 branch is the current main development branch. This branch implements the interfaces defined in the GeoAPI 3.1-SNAPSHOT milestones and uses some JDK7-specific features like:

  • Syntax enhancements, mostly in exceptions handling (try-with-resources, multi-catches) but also on more minor aspects like diamond operator.
  • Leveraging of new API.

Users and developers do not get the JDK7 branch, unless they explicitly request for it using the following Mercurial command on their source code repository:

hg update JDK7

The default branch

The default branch is a merge of the JDK7 branch ported to JDK6. This is the branch that users and developers get after a fresh checkout of Geotoolkit.org source code. This is also the branch which is built by the continuous integration system and deployed on the Maven repository.

Like the JDK7 branch, the default branch implements the interfaces defined in the GeoAPI 3.1-SNAPSHOT milestones.

The GeoAPI-3.0 branch

The GeoAPI-3.0 branch is a merge of the default branch (JDK6) ported to the interfaces defined by the GeoAPI 3.0.0 release. This branch contains only the metadata and referencing modules - together with their dependencies - because the metadata and referencing interfaces are the only ones defined by the current GeoAPI specification.

This branch is deployed on the Maven Central repository, so Maven projects don't need to declare any <repository> section in their pom.xml file for using it. Maven projects can use this branch by appending -geoapi-3.0 to the Geotk version number in their dependencies. See Maven download for an example.