GeoTools
  1. GeoTools
  2. GEOT-995

Reinsert/remove "gt2-" prefix in all module name

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4-M0
    • Fix Version/s: 2.5-RC0
    • Component/s: admin
    • Labels:
      None

      Description

      We tried to remove the "gt2-" prefix in module names, in order to have <artifactID> matching exactly the directory name. Such match allowed us to remove the <scm> section in all pom.xml files. We also though that a "gt-" prefix was redundant with the <groupId>org.geotools</groupId> declaration. However experience show that it leads to two problems:

      • The "gt-" prefix do not appears in the manifest classpath when building a single module (MJAR-61).
      • Name clash in eclipse projects when two projects are mounted using maven-eclipse-plugin (MECLIPSE-119)

      The path of less resistance seems to reinsert the "gt2-" prefix back in all module names. We would have to reinsert the <scm> section in all modules too, which is error prone. However we would revisit this issue if the above-cited Maven issue are fixed.

        Issue Links

          Activity

          Hide
          CÚdric Brianšon added a comment -
          Align the gt-prefix-removal branch on the trunk at revision 29775.
          The current maven compilation on this branch gives no more gt2 jars in the target directory of Geotools (for the branch).

          It still remains an issue concerning jar names : after maven compilation, Geotools jars in the .m2 directory does not take the prefix gt- nevertheless jars in target directory do.
          Show
          CÚdric Brianšon added a comment - Align the gt-prefix-removal branch on the trunk at revision 29775. The current maven compilation on this branch gives no more gt2 jars in the target directory of Geotools (for the branch). It still remains an issue concerning jar names : after maven compilation, Geotools jars in the .m2 directory does not take the prefix gt- nevertheless jars in target directory do.
          Hide
          CÚdric Brianšon added a comment -
          Commited on Geotools trunk at revision 29894.
          Show
          CÚdric Brianšon added a comment - Commited on Geotools trunk at revision 29894.
          Hide
          Martin Desruisseaux added a comment -
          Show
          Martin Desruisseaux added a comment - Added a proposal page: http://docs.codehaus.org/display/GEOTOOLS/Module+renaming
          Hide
          Gabriel Roldan added a comment -
          reopening to mark it is fixed for RC0
          Show
          Gabriel Roldan added a comment - reopening to mark it is fixed for RC0
          Hide
          Gabriel Roldan added a comment -
          closing as fixed for RC0
          Show
          Gabriel Roldan added a comment - closing as fixed for RC0

            People

            • Assignee:
              CÚdric Brianšon
              Reporter:
              Martin Desruisseaux
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: