Why can't I resolve the dependencies for GeoTools maven quickstart?

后端 未结 5 1619
孤城傲影
孤城傲影 2020-12-18 18:00

POM is



        
5条回答
  •  借酒劲吻你
    2020-12-18 18:49

    http://download.java.net/maven/2 repository is gone

    New updates, New way to add geotools dependency in your project, copy below xml file in your build.xml

    
            UTF-8
            19-SNAPSHOT
        
    
    
    
            
                com.opencsv
                opencsv
                3.3
            
    
    
            
                org.geotools
                gt-shapefile
                ${geotools.version}
            
    
            
                junit
                junit
                4.11
                test
            
    
            
                org.geotools
                gt-swing
                ${geotools.version}
            
    
        
    
    
    
            
                osgeo
                Open Source Geospatial Foundation Repository
                http://download.osgeo.org/webdav/geotools/
            
            
                
                    true
                
                boundless
                Boundless Maven Repository
                http://repo.boundlessgeo.com/main
            
        
    

    It works

提交回复
热议问题