|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
required artifacts are missingI am new to GeoTools and java.
I have been working with ArcObjects and C# for a very long time, but would like to start digging in to GeoTools. I downloaded GeoTools 2.4-M2. I am using NetBeans 6.1. When i try to create the demo apps (http://docs.codehaus.org/display/GEOTDOC/Welcome+to+NetBeans+developers) I keep getting some build errors. I am hoping that someone can point in the correct direction so that i can run the demo apps. I am not sure if this is because i have setup the project incorrectly or i have missing libraries, or something else. # begin errors --------------------------------------- [ERROR]Transitive dependency resolution for scope: compile has failed for your project. [ERROR]Error message: Missing: [ERROR]---------- [ERROR]1) org.geotools.demo:mappane:jar:1.0-SNAPSHOT [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.demo -DartifactId=mappane -Dversion=1.0-SNAPSHOT -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.demo -DartifactId=mappane -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] Path to dependency: [ERROR] 1) org.mycompany:geoTools24M2:jar:1.0-SNAPSHOT [ERROR] 2) org.geotools.demo:mappane:jar:1.0-SNAPSHOT [ERROR]2) org.geotools:wfs:jar:1.0-SNAPSHOT [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=wfs -Dversion=1.0-SNAPSHOT -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=wfs -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] Path to dependency: [ERROR] 1) org.mycompany:geoTools24M2:jar:1.0-SNAPSHOT [ERROR] 2) org.geotools:wfs:jar:1.0-SNAPSHOT [ERROR]3) org.geotools:postgis:jar:1.0-SNAPSHOT [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=postgis -Dversion=1.0-SNAPSHOT -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=postgis -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] Path to dependency: [ERROR] 1) org.mycompany:geoTools24M2:jar:1.0-SNAPSHOT [ERROR] 2) org.geotools:postgis:jar:1.0-SNAPSHOT [ERROR]---------- [ERROR]3 required artifacts are missing. [ERROR]for artifact: [ERROR] org.mycompany:geoTools24M2:jar:1.0-SNAPSHOT [ERROR]from the specified remote repositories: [ERROR] central (http://repo1.maven.org/maven2) [ERROR]Group-Id: org.mycompany [ERROR]Artifact-Id: geoTools24M2 [ERROR]Version: 1.0-SNAPSHOT [ERROR]From file: D:\_David\_Development\Apps\Java\geoTools24M2\pom.xml --------------------------------------------------------- #end errors Any help would be appreciated. thanks, david |
| Free embeddable forum powered by Nabble | Forum Help |