Hi Michael,

  Not too long ago, i had trouble adding the java docs, i have now done it.
The way i did it was right clicking the jar files in  my library tree and
selecting the add javadoc and simply choosing the location of where it is. I
cannot believe i did(YEAH!!!! :) ). Although, sad thing is that i'm still
getting those stupid(excuse my french) errors. I can see all my jar files
which are gt2-coverage-2.4.4.jar, gt2-image-2.4.4.jar, jai_codec-1.1.3.jar,
jai_core-1.1.3.jar and jai_imageio-1.1.jar. Presently i have 

<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.geotools.demo</groupId>
    <artifactId>gt2-image</artifactId>
    <packaging>jar</packaging>
    <version>2.4.4</version>
    <name>gt2-image</name>
    <url>http://maven.apache.org</url>
    
    <dependencies>
        
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        
        <dependency>
            <groupId>org.geotools</groupId>
            <artifactId>gt2-image</artifactId>
            <version>${project.version}</version>
        </dependency>
        
        <dependency>
            <groupId>javax.media</groupId>
            <artifactId>jai_core</artifactId>
            <version>1.1.3</version>
        </dependency>
        
        <dependency>
            <groupId>javax.media</groupId>
            <artifactId>jai_codec</artifactId>
            <version>1.1.3</version>
        </dependency>
        
        <dependency>
            <groupId>javax.media</groupId>
            <artifactId>jai_imageio</artifactId>
            <version>1.1</version>
        </dependency>
        
        <dependency>
            <groupId>org.geotools</groupId>
            <artifactId>gt2-coverage</artifactId>
            <version>2.4.4</version>
        </dependency>
        
    </dependencies>
</project>

  in my POM.xml file but do not understand why i keep getting those areas.
Clearly there is something i have missed, WHAT EXACTLY :( ?

Cheers

Michael Bedward wrote:
> 
>> http://maven.geotools.fr/repository/org/geotools/gt2-coverage/2.2-RC0/gt2-coverage-2.2-RC0.pom
>> and noticed that at the top of the page it states the modelversion,
>> groupid
>> etc. Do i need this information at the top of my pom.xml file for every
>> jar
>> i use?
> 
> No - you don't have to worry about editing the modelVersion tag and it
> only appears once (it actually indicates the version of the pom format
> that's being used).  It's part of the basic stuff that is generated
> for you when you create a new maven project.  I know all this stuff is
> confusing when you're first getting your head around it.  It baffled
> me no end :)
> 
>> At the bottom uses
>>
>>  <dependency>
>>  <groupId>org.geotools</groupId>
>>  <artifactId>gt2-referencing</artifactId>
>>  <version>2.2-RC0</version>
>>  </dependency>
>>  instead of using 2.2.4. Should i use 2.2 like it states there or 2.2.4
> 
> Use 2.4.4 - this is the most recent stable version of geotools.
> 
> Michael
> 
> -------------------------------------------------------------------------
> 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
> 
> 

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