Oh i see, thanks for that. Although, after i had posted i immiediately,
changed pretty much all of them to 2.5.5, one by one which was a bit time
consuming i might add. Although, this one in particular, 

<dependency>
            <groupId>com.vividsolutions</groupId>
            <artifactId>jts</artifactId>
            <version>1.9</version>
        </dependency>

i could not change as i just got the same error asking me to manuallly
install it ect. so i left it like it is. I think when i start creating new
maven projects, i'm going to start using that method that you suggested, it
would make life a bit easier. 

Easy-peasy lemon-squeezy:-)

       Thanks for the help again.
 

mbedward wrote:
> 
> Hi Luong,
> 
>> i saw that the geotools version was 2.5.5 and i just naturally thought
>> that
>> i also need this because i remember you asking what version of geotools i
>> had, and noticed that i did not have this in my pom file.
> 
> Yes, I can see how you got that idea.  I should have explained things
> more clearly.  So just to be clear, in a maven project, you control
> the version of GeoTools that your app is using via the "version"
> parameter on each of the dependencies.
> 
> When you've got more than a few dependencies it is boring, and
> error-prone, to manually edit the version number of each. Also you
> have change them all when you want to use a newer version of GeoTools.
> Life's too short.  Here is an easier way...
> 
> Put this in the top section of your pom.xml (near <name>,
> <description> etc. although the exact place doesn't matter)...
> 
> <properties>
>     <geotoolsVersion>2.5.5</geotoolsVersion>
> </properties>
> 
> Then specify each of the GeoTools dependencies in your pom.xml similar
> to this...
> 
>         <dependency>
>             <groupId>org.geotools</groupId>
>             <artifactId>gt-main</artifactId>
>             <version>${geotoolsVersion}</version>
>         </dependency>
> 
> Now your dependencies will all use the same version of GeoTools and
> when you want to change the version you only have to edit one line.
> Easy-peasy :-)
> 
> Michael
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Re%3A-SLD-XML-TUT-Query-tp3046875p3061345.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to