I'm running through the quickstart example again and encounter a problem.
I follow the instructions word for word, but when I get to the section
labeled Updating the IDE (Eclipse only) I run the mvn eclipse:eclipse
command as described, but then GeoTools does not show up in my project. It
seems to download some files but I can't see them in the Referenced
Libraries of the Eclipse project after refreshing.
Am I missing a way of linking this together somehow?
Thanks.
Log attached:
C:\Java\example>mvn eclipse:eclipse
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
------------------------------------------------------------------------
[INFO] Building example
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Using Eclipse Workspace: C:\Java
[WARNING] Workspace defines a VM that does not contain a valid
jre/lib/rt.jar: C:\Program Files\Java\jre6
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAINER
Downloading:
http://download.java.net/maven/2/org/geotools/gt-main/2.6.1/gt-main-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:gt-main:pom:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/maven
/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-main/2.6.1/gt-main-2.6.1.pom
7K downloaded (gt-main-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/library/2.6.1/library-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:library:pom:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/maven
/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/library/2.6.1/library-2.6.1.pom
2K downloaded (library-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/modules/2.6.1/modules-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:modules:pom:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/maven
/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/modules/2.6.1/modules-2.6.1.pom
10K downloaded (modules-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/geotools/2.6.1/geotools-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:geotools:pom:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/mave
n/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/geotools/2.6.1/geotools-2.6.1.pom
42K downloaded (geotools-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-api/2.6.1/gt-api-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:gt-api:pom:2.6.1' in repository
maven2-repository.dev.java.net (http://download.java.net/maven/
2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-api/2.6.1/gt-api-2.6.1.pom
4K downloaded (gt-api-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-referencing/2.6.1/gt-referencing-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:gt-referencing:pom:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.ne
t/maven/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-referencing/2.6.1/gt-referencing-2.6.1.pom
6K downloaded (gt-referencing-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-metadata/2.6.1/gt-metadata-2.6.1.pom
[INFO] Unable to find resource 'org.geotools:gt-metadata:pom:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/m
aven/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-metadata/2.6.1/gt-metadata-2.6.1.pom
4K downloaded (gt-metadata-2.6.1.pom)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-main/2.6.1/gt-main-2.6.1.jar
[INFO] Unable to find resource 'org.geotools:gt-main:jar:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/maven
/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-main/2.6.1/gt-main-2.6.1.jar
1164K downloaded (gt-main-2.6.1.jar)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-api/2.6.1/gt-api-2.6.1.jar
[INFO] Unable to find resource 'org.geotools:gt-api:jar:2.6.1' in repository
maven2-repository.dev.java.net (http://download.java.net/maven/
2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-api/2.6.1/gt-api-2.6.1.jar
110K downloaded (gt-api-2.6.1.jar)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-referencing/2.6.1/gt-referencing-2.6.1.jar
[INFO] Unable to find resource 'org.geotools:gt-referencing:jar:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.ne
t/maven/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-referencing/2.6.1/gt-referencing-2.6.1.jar
1001K downloaded (gt-referencing-2.6.1.jar)
Downloading:
http://download.java.net/maven/2/org/geotools/gt-metadata/2.6.1/gt-metadata-2.6.1.jar
[INFO] Unable to find resource 'org.geotools:gt-metadata:jar:2.6.1' in
repository maven2-repository.dev.java.net (http://download.java.net/m
aven/2)
Downloading:
http://download.osgeo.org/webdav/geotools//org/geotools/gt-metadata/2.6.1/gt-metadata-2.6.1.jar
472K downloaded (gt-metadata-2.6.1.jar)
[INFO] Not writing settings - defaults suffice
[INFO] File C:\Java\example\.project already exists.
Additional settings will be preserved, run mvn eclipse:clean if you
want old settings to be removed.
[INFO] Wrote Eclipse project for "example" to C:\Java\example.
[INFO]
Sources for some artifacts are not available.
Please run the same goal with the -DdownloadSources=true parameter in
order to check remote repositories for sources.
List of artifacts without a source archive:
o org.geotools:gt-main:2.6.1
o org.geotools:gt-api:2.6.1
o org.geotools:gt-referencing:2.6.1
o org.geotools:gt-metadata:2.6.1
Javadoc for some artifacts is not available.
Please run the same goal with the -DdownloadJavadocs=true parameter
in order to check remote repositories for javadoc.
List of artifacts without a javadoc archive:
o org.geotools:gt-main:2.6.1
o org.geotools:gt-api:2.6.1
o org.geotools:gt-referencing:2.6.1
o org.geotools:gt-metadata:2.6.1
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Wed May 05 13:47:08 BST 2010
[INFO] Final Memory: 18M/177M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/quickstart-and-example-pages-tp3699345p5008689.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users