wiki:Refactoring_Maven

Refactoring GeoNetwork into smaller projects for Maven build

Modules that should be split out of the current source tree:

  • gast.jar (-> into a separate tool)
  • csw-client.jar (-> into a separate tool)
  • csw-common.jar
  • oaimph-lib.jar
  • mef.jar (read and write mef files)
  • intermap.jar
  • geonetwork.jar (everything else)

Steps so far (2008-06-22):

  1. Jeeves has been refactored as a maven project with no problem at all.
  2. GN has been refactored as a maven project.
    1. The org.wfp.vam.intermap source tree has been removed.
    2. Some classes or libs were missing from the standard maven repos
      1. dlib.jar - some sources from the druid project has been embedded into gn source tree
      2. lizard-tiff.jar - not found in std repos: installed locally
      3. cql-java.jar - not found in std repos: installed locally
      4. ki-jzkit-hss-1_2_3.jar, ki-jzkit-iface-1_2_3-fixed.jar, ki-jzkit-z3950-1_2_3.jar, ki-util.jar: these libs were found on standard repos, but not the required version: installed locally
      5. ki-jzkit-iface-1_2_3-fixed.jar: this lib was found on standard repos, but this version has been fixed locally and the fixes have not been reported on their trunk yet: installed locally
      6. lizard-tiff.jar - not found in std repos: installed locally. It may probably be made obsolete by recent java releases -- please check.
  1. I tried to factor out the org.fao.gast package, but its code relies heavily on other gn classes. We'll need to refactor GN in smaller modules. Please also be aware that GAST contains hardcoded directory structure info, so we'll have to pay attention when refactoring and moving directories around.

WORK STILL IN PROGRESS

Last modified 13 years ago Last modified on Jun 22, 2008, 11:33:01 AM