Hi, thanks for that Andrea, it took me quite a while to look for the jar file
which i managed to download.

As i built my app, it downloaded the jar files, but came to a build failure
as i got this:

[ERROR]Transitive dependency resolution for scope: compile has failed for
your project.
[ERROR]Error message: Missing:
[ERROR]----------
[ERROR]1) org.geotools:geotools:jar:2.5.5
[ERROR]  Try downloading the file manually from the project website.
[ERROR]  Then, install it using the command: 
[ERROR]      mvn install:install-file -DgroupId=org.geotools
-DartifactId=geotools -Dversion=2.5.5 -Dpackaging=jar -Dfile=/path/to/file
[ERROR]  Alternatively, if you host your own repository you can deploy the
file there: 
[ERROR]      mvn deploy:deploy-file -DgroupId=org.geotools
-DartifactId=geotools -Dversion=2.5.5 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
[ERROR]  Path to dependency: 
[ERROR]          1) com.mycompany:Map_AppV3:jar:1.0-SNAPSHOT
[ERROR]          2) org.geotools:geotools:jar:2.5.5
[ERROR]----------
[ERROR]1 required artifact is missing.
[ERROR]for artifact: 
[ERROR]  com.mycompany:Map_AppV3:jar:1.0-SNAPSHOT
[ERROR]from the specified remote repositories:
[ERROR]  geotools (http://download.osgeo.org/webdav/geotools/),
[ERROR]  ibiblio (http://www.ibiblio.org/maven2),
[ERROR]  central (http://repo1.maven.org/maven2),
[ERROR]  refractions (http://lists.refractions.net/m2)
[ERROR]Group-Id: com.mycompany
[ERROR]Artifact-Id: Map_AppV3
[ERROR]Version: 1.0-SNAPSHOT
[ERROR]From file:
C:\Users\Luong\Documents\NetBeansProjects\Map_Project\Map_AppV3\pom.xml


On the repo
site(http://download.osgeo.org/webdav/geotools/org/geotools/geotools/2.5.5/)
, is their a corresponding jar file because i can't seem to find it.
Although i have downloaded all of the zip files on the geotools site, do i
need to change one of them to a jar folder? and which one?

Thanks again for your assistant.


ATI ha scritto:
> For the dependecies,gt-xsd-sld, i was trying to look for this in the
> repository, in particular,
> http://maven.geotools.fr/repository/org/geotools/
> but could not find the jar file you mentioned unless it has not been
> updated.

Wrong repository. The official GeoTools repo is at:
http://download.osgeo.org/webdav/geotools/

Cheers
Andrea


-- 
Andrea Aime
 
-- 
View this message in context: 
http://n2.nabble.com/Re%3A-SLD-XML-TUT-Query-tp3046875p3050293.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to