Hi Luong, The error message look like either there was a prob with your internet connection at the time or you hit heavy traffic. The best first thing to do in such cases is wait a while then just try it again - often works.
IF you do have to install a file manually, the error message it telling you how to do it. E.g. if you've got jai_imageio.jar in C:\documents so cd into that directory and issue this command: mvn install:install-file -DgroupId=javax.media -DartifactId=jai_imageio -Dversion=1.1 -Dpackaging=jar -Dfile=jai_imageio.jar (you just copy and paste the text from the error message and edit the filename) Maven will then put the jar into your repository in the correct location and with all the dir and filenames set properly. Michael 2008/7/4 fx5900 <[EMAIL PROTECTED]>: > > Hi am reading the ImageLabe lesson > http://docs.codehaus.org/display/GEOTDOC/08+ImageLab > http://docs.codehaus.org/display/GEOTDOC/08+ImageLab and have added the JAR > dependecy code for both Java Advanced Imaging and Image IO. However, after > did that and did a clean and build process i got a few errors > > ERROR]Transitive dependency resolution for scope: compile has failed for > your project. > [ERROR]Error message: Missing: > [ERROR]---------- > [ERROR]1) org.geotools:gt2-image: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=gt2-image -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=gt2-image -Dversion=1.0-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > [ERROR] Path to dependency: > [ERROR] 1) org.geotools.demo:gt2-image:jar:1.0-SNAPSHOT > [ERROR] 2) org.geotools:gt2-image:jar:1.0-SNAPSHOT > [ERROR]2) javax.media:jai_core:jar:1.1.3 > [ERROR] Try downloading the file manually from the project website. > [ERROR] Then, install it using the command: > [ERROR] mvn install:install-file -DgroupId=javax.media > -DartifactId=jai_core -Dversion=1.1.3 -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=javax.media > -DartifactId=jai_core -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file > -Durl=[url] -DrepositoryId=[id] > [ERROR] Path to dependency: > [ERROR] 1) org.geotools.demo:gt2-image:jar:1.0-SNAPSHOT > [ERROR] 2) javax.media:jai_core:jar:1.1.3 > [ERROR]3) javax.media:jai_codec:jar:1.1.3 > [ERROR] Try downloading the file manually from the project website. > [ERROR] Then, install it using the command: > [ERROR] mvn install:install-file -DgroupId=javax.media > -DartifactId=jai_codec -Dversion=1.1.3 -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=javax.media > -DartifactId=jai_codec -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file > -Durl=[url] -DrepositoryId=[id] > [ERROR] Path to dependency: > [ERROR] 1) org.geotools.demo:gt2-image:jar:1.0-SNAPSHOT > [ERROR] 2) javax.media:jai_codec:jar:1.1.3 > [ERROR]4) javax.media:jai_imageio:jar:1.1 > [ERROR] Try downloading the file manually from the project website. > [ERROR] Then, install it using the command: > [ERROR] mvn install:install-file -DgroupId=javax.media > -DartifactId=jai_imageio -Dversion=1.1 -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=javax.media > -DartifactId=jai_imageio -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file > -Durl=[url] -DrepositoryId=[id] > [ERROR] Path to dependency: > [ERROR] 1) org.geotools.demo:gt2-image:jar:1.0-SNAPSHOT > [ERROR] 2) javax.media:jai_imageio:jar:1.1 > [ERROR]---------- > [ERROR]4 required artifacts are missing. > [ERROR]for artifact: > [ERROR] org.geotools.demo:gt2-image:jar:1.0-SNAPSHOT > [ERROR]from the specified remote repositories: > [ERROR] central (http://repo1.maven.org/maven2) > [ERROR]Group-Id: org.geotools.demo > [ERROR]Artifact-Id: gt2-image > [ERROR]Version: 1.0-SNAPSHOT > [ERROR]From file: C:\MyNBProjects\gt2-image\pom.xml > . > So what i did was downloaded the JAI files manually, placed the jai-1_1_2 > file in my C:\Documents and Settings\luong\.m2\repository and updated the > index on my NB6 but it did not show up on the tree. I have not downloaded > the Image IO files as of yet. Can somebody suggest what i could do please. > -- > View this message in context: > http://www.nabble.com/ImageLab-Tutorial-Question-tp18268257p18268257.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
