Install maven by following steps described under "installation instructions" on http://maven.apache.org/download.html

check maven installation with "mvn -version" command. if succesful, maven version and java version are printed

give commands to create project folder
	"cd Documents\NetbeansProjects" and
	"mvn archetype:create -DgroupId=org.geotools.GpsSim -DartifactId=GpsSim"

open netbeans, create new project, select maven under categories and maven project with existing POM under projects

select C:\Users\BURKAY\Documents\NetBeansProjects\GpsSim as the project

open project properties window, select sources tab, change source/binary format to 1.5

open pom.xml file under project files category. insert following just below </url> tag

  <properties>
    <geotools.version>2.6.3</geotools.version>
  </properties>

  following as a dependency:

  <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-main</artifactId>
      <version>${geotools.version}</version>
  </dependency>

  and followings as repositories just below the </dependencies> tag:

  <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>

open sample code App.java, import org.geotools.factory.GeoTools and try printing the return value of function GeoTools.getVersion()

add following dependencies which will be needed:

    <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-shapefile</artifactId>
        <version>${geotools.version}</version>
    </dependency>
    <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-epsg-hsql</artifactId>
        <version>${geotools.version}</version>
    </dependency>
    <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-swing</artifactId>
        <version>${geotools.version}</version>
    </dependency>

Right click libraries and select "download missing dependencies"
