Hi all,
I am new to geotools, and to begin I am trying to load a simple
shapefile and display its geometry and points.
For this I have been trying to install maven tool.
But I have not got success to to install it.Now I am
facing following error,
Please correct me if I am wrong somewhere :
[EMAIL PROTECTED]:~/dinesh/gt2-2.3.0$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Geotools
[INFO] Maven plugins for Geotools 2
[INFO] Configuration files for the multimodule build
[INFO] JAR files collector
[INFO] Cross-modules javadoc
[INFO] OpenOffice IDL to Java
[INFO] JJTree and JavaCC compilers plugin
[INFO] RMI compiler (rmic)
[INFO] UNO packager for OpenOffice addins
[INFO] Geotools modules
[INFO] Referencing services
[INFO] Grid Coverage module
[INFO] API interfaces
[INFO] Sample data module
[INFO] Main module
[INFO] Geotools plugins
[INFO] EPSG Authority Service using HSQL database
[INFO] Render
[INFO] SVG support
[INFO] ArcGrid datasource module
[INFO] ArcSDE plugin
[INFO] ArcSDE dummy api
[INFO] ArcSDE DataStore plugin
[INFO] DB2 Spatial Extender module
[INFO] Shapefile module
[INFO] EPSG Authority Service using WKT file
[INFO] GML module
[INFO] Directory module
[INFO] EPSG Authority Service using MS-Access database
[INFO] EPSG Authority Service using PostgreSQL database
[INFO] GeoMedia datastore implementation
[INFO] GeoTIFF grid coverage exchange module
[INFO] GTopo30 datasource module
[INFO] HSQL datasource module
[INFO] WorldImage datasource module
[INFO] Geotools extensions
[INFO] Indexed shapefile module
[INFO] imagemosaic datasource module
[INFO] imagepyramid datasource module
[INFO] MapInfo MIF format module
[INFO] MySQL DataStore Implementation
[INFO] Oracle Spatial Module
[INFO] PostGIS module
[INFO] Vertical coordinate transformations
[INFO] TIGER/Line 2000 datastore implementation
[INFO] VPF Plugin
[INFO] Web Map Server client
[INFO] WFS client module
[INFO] Brewer module
[INFO] Feature Based Graphs and Networks
[INFO] GO-1 implementation
[INFO] Bridges to OpenOffice suite
[INFO] Renderer optimized for shapefiles
[INFO] Validation Processor and Framework
[INFO] Swing widgets
[INFO] XML Parsing
[INFO] GML2 XML module
[INFO] GML3 XML module
[INFO] Filter XML Bindings
[INFO] JMapPane Implementation
[INFO] Geotools demos and examples
[INFO] Data Access Examples
[INFO] Demos of the JMapPane
[INFO] Demo Introduction to Geotools
[INFO] Property File Demo DataStore
[INFO]
----------------------------------------------------------------------------
[INFO] Building Geotools
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/pom.xml to
/home/ignu/.m2/repository/org/geotools/gt2/2.3.0/gt2-2.3.0.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven plugins for Geotools 2
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/maven/pom.xml to
/home/ignu/.m2/repository/org/geotools/gt2-maven/2.3.0/gt2-maven-2.3.0.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Configuration files for the multimodule build
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 0 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0
/maven/build-configs/target/gt2-build-configs-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0
/maven/build-configs/target/gt2-build-configs-2.3.0.jar to
/home/ignu/.m2/repository/org/geotools/gt2-build-configs/2.3.0/gt2-
build-configs-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building JAR files collector
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0
/maven/jar-collector/target/gt2-jar-collector-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0
/maven/jar-collector/target/gt2-jar-collector-2.3.0.jar to
/home/ignu/.m2/repository/org/geotools/gt2-jar-collector/2.3.0/gt2-
jar-collector-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cross-modules javadoc
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 0 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/ignu/dinesh/gt2-2.3.0
/maven/javadoc/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geotools.maven.taglet.SourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.326 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0/maven/javadoc/target/gt2-
javadoc-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/maven/javadoc/target/gt2-
javadoc-2.3.0.jar to
/home/ignu/.m2/repository/org/geotools/gt2-javadoc/2.3.0/gt2-
javadoc-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building OpenOffice IDL to Java
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0/maven/javamaker/target/gt2-
javamaker-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/maven/javamaker/target/gt2-
javamaker-2.3.0.jar to
/home/ignu/.m2/repository/org/geotools/gt2-javamaker/2.3.0/gt2-
javamaker-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building JJTree and JavaCC compilers plugin
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading javacc:javacc:3.2
This artifact has been relocated to net.java.dev.javacc:javacc:3.2.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0
/maven/jjtree-javacc/target/gt2-jjtree-javacc-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0
/maven/jjtree-javacc/target/gt2-jjtree-javacc-2.3.0.jar to
/home/ignu/.m2/repository/org/geotools/gt2-jjtree-javacc/2.3.0/gt2-
jjtree-javacc-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building RMI compiler (rmic)
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0/maven/rmic/target/gt2-
rmic-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/maven/rmic/target/gt2-
rmic-2.3.0.jar to /home/ignu/.m2/repository/org/geotools/gt2-rmic/2.3.0/gt2-
rmic-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building UNO packager for OpenOffice addins
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/ignu/dinesh/gt2-2.3.0/maven/unopkg/target/gt2-
unopkg-2.3.0.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/maven/unopkg/target/gt2-
unopkg-2.3.0.jar to
/home/ignu/.m2/repository/org/geotools/gt2-unopkg/2.3.0/gt2-unopkg-2.3.0.jar
[INFO] [plugin:updateRegistry]
[INFO]
----------------------------------------------------------------------------
[INFO] Building Geotools modules
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [gt2-jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing /home/ignu/dinesh/gt2-2.3.0/module/pom.xml to
/home/ignu/.m2/repository/org/geotools/gt2-module/2.3.0/gt2-module-2.3.0.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Referencing services
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 335 source files to /home/ignu/dinesh/gt2-2.3.0
/module/referencing/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/ignu/dinesh/gt2-2.3.0/module/referencing/src/org/geotools/referencing/factory/epsg/SimpleDataSource.java:[99,7]
org.geotools.referencing.factory.epsg.SimpleDataSource is not abstract and
does not override abstract method isWrapperFor(java.lang.Class) in
java.sql.Wrapper
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 47 seconds
[INFO] Finished at: Sun Apr 15 15:57:51 IST 2007
[INFO] Final Memory: 14M/62M
[INFO]
------------------------------------------------------------------------
[EMAIL PROTECTED]:~/dinesh/gt2-2.3.0$
Thank you,
Dinesh
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users