In order to try:

  * Download and install Maven 2 beta 2 from
    http://maven.apache.org/maven2/download.html

  * Move to the [...yours geotools home...]/gt directory
    (as you would do with Maven 1)

  * Type the following on the command line:

    m2 clean:clean
    m2 install

The first time those commands are executed, Maven 2 is going to download a lot of dependencies, so it may take a while... Note that GeoAPI, JSR-108 and JTS dependencies will be downloaded from our server in New-Caledonia, so it may be slower than usual. Other dependencies will be downloaded from http://www.ibiblio.org/maven2/. Once the build is completed, you should see the following output:

----------------------------------------------------------------------------
Reactor Summary:
----------------------------------------------------------------------------
Geotools 2.......................................................SUCCESS
Referencing services.............................................SUCCESS
EPSG Authoriy Service using MS-Access database...................SUCCESS
EPSG Authoriy Service using PostgreSQL database..................SUCCESS
EPSG Authoriy Service using WKT file.............................SUCCESS


----------------------------------------------------------------------------
BUILD SUCCESSFUL
----------------------------------------------------------------------------
Total time: 34 seconds
Finished at: Mon Oct 03 20:47:42 GMT+11:00 2005
Final Memory: 11M/63M
----------------------------------------------------------------------------


You will notice that "module/main" is not yet in this list... This is because I have not yet been able to get a successfull build of main. I got jjtree and javacc to work, but not yet all JUnit tests. Many tests fail, and I suspect that it is related to the way "surefire" (the test engine in Maven 2) handle ClassLoaders.

In order to perform a Maven 1 build after a Maven 2 build, enter the following first:

    m2 clean:clean


        Martin.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to