Added by Jive, last edited by Adrian Custer on Jul 02, 2008  (view change) show comment

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Geotools 2.4 and above complies to the Maven 2 standard layout with an extension regarding module hierarchy. The table below gives a summary where module is the module name and category is one of library, plugin, extension, demo or unsupported.

Module Structure:

modules/category/module/pom.xml Provides metadata about the module for maven
modules/category/module/src/site Files for Maven to automatically generate the site
modules/category/module/src/site/site.xml Layout file for the site, required to add a menu entry for the review information
modules/category/module/src/site/apt/review.apt Almost Plain Text file for copyright and licensing info
modules/category/module/src/main/java Module Java source files
modules/category/module/src/main/resources Resources to be included in the JAR file
modules/category/module/src/test/java JUnit tests source files
modules/category/module/src/test/resources Resources required for tests only
modules/category/module/target Automatically created for Maven output (details below)

Module Targets:

modules/category/module/target/classes Generated class files, results of last 'maven compile'
modules/category/module/target/site Files for the automatic website, from 'maven site:site'
modules/category/module/target/site/apidocs Generated javadocs, from last 'maven javadoc:javadoc'
modules/category/module/target/surefire-reports Logs from junit, from last 'maven test'
modules/category/module/target/test-classes Generated junit classfiles, from last 'maven test'
modules/category/module/target/module-2.4-SNAPSHOT.jar Generated jar file, from last 'maven install'

Module Categories (From 8 Design and Architecture )

category directory example module purpose
Core modules/library/ api stable geotools interfaces
    referencing default implementations of geoapi interfaces
    main geotools library w/ default implementations, includes non stable interfaces
    render implementation of geotools SLD conformant rendering system
Plugin modules/plugin/ postgis modules that dynamically intergrate to the geotools library at runtime
Extention modules/extension/ validation extentions and extras built on top of the geotools library
Unsupported modules/unsupported/ oracle modules that are not ready yet, or are orphaned and no longer have a contact person
Demos demo/ gui small working examples, usually part of a tutorial