Oh i see, when i need to add a dependency, in this case gt2-coverage, where
can i find out the details such as the groupid, artifactid and version?


Cheers Michael

OK - the reason you're getting a warning in Netbeans about the
coverage.grid package and the GridCoverage2D class is because you
don't have gt2-coverage in your pom.xml so maven hasn't installed it
for you.

Here's (roughly) how it works. For every geotools class that you use
in your app you need the corresponding jar installed in your local
repository.  Maven will install the jars for you if you tell it that
you need them and you do that with the dependency entries in your pom.
 In Netbeans, if you look in the Libraries section of your Project
tree you will see the jars that are already attached to the project.
Some of these will correspond to modules (artifacts in maven-speak)
that you've specified in your pom.  Some of them will be additional
jars that the specified ones depend on - maven calls these transitive
dependencies and drags them in for you automagically.  This is why you
may find that you have some geotools modules in the Project->Libraries
list that you haven't specified in the pom - they were required by
modules that you did specify.  In your case gt2-coverage hasn't yet
been installed as either a direct or a transitive dependency, so you
need to add it to the pom.xml.

 
-- 
View this message in context: 
http://www.nabble.com/ImageLab-Tutorial-Question-tp18268257p18315183.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

Reply via email to