Hello Micheal!

Thanks for the support. Although, by just importing the relevant jars in
the build path of the peoject, my code got executed. :)

--
Thanks & Regards,
Sugandha Naolekar






On Sun, Oct 28, 2012 at 2:08 PM, Michael Bedward
<[email protected]>wrote:

> The xml code at the bottom of this message is what your pom should
> look like. Try putting that code into your pom (replacing the existing
> contents).
>
> Also, the quickstart page suggests running the "Update all maven
> dependcies" item from the Project menu in Eclipse. Please try that if
> you haven't already.
>
> Alternatively, open a command/terminal window, navigate to the folder
> where your application is (the folder containing the pom.xml file) and
> type:
>
> mvn -U clean install
>
> Michael
>
>
> <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/xsd/maven-4.0.0.xsd";>
>     <modelVersion>4.0.0</modelVersion>
>
>     <groupId>org.geotools</groupId>
>     <artifactId>tutorial</artifactId>
>     <version>0.0.1-SNAPSHOT</version>
>     <packaging>jar</packaging>
>
>     <name>tutorial</name>
>     <url>http://maven.apache.org</url>
>     <properties>
>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>         <geotools.version>8.2</geotools.version>
>     </properties>
>
>     <dependencies>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>3.8.1</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.geotools</groupId>
>             <artifactId>gt-shapefile</artifactId>
>             <version>${geotools.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.geotools</groupId>
>             <artifactId>gt-swing</artifactId>
>             <version>${geotools.version}</version>
>         </dependency>
>     </dependencies>
>
>     <repositories>
>         <repository>
>             <id>maven2-repository.dev.java.net</id>
>             <name>Java.net repository</name>
>             <url>http://download.java.net/maven/2</url>
>         </repository>
>         <repository>
>             <id>osgeo</id>
>             <name>Open Source Geospatial Foundation Repository</name>
>             <url>http://download.osgeo.org/webdav/geotools/</url>
>         </repository>
>     </repositories>
> </project>
>
------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to