Hello, Yes, this looks like a problem at your end rather than with GeoTools.
Firstly, which version of Maven did you install ? At the moment GeoTools requires Maven 2 rather than Maven 3 (e.g. i am using version 2.2.1). To verify that it is installed correctly, from a command / terminal window go to some directory other than the one where Maven is installed and type "mvn --version". The Maven installation docs are here: http://maven.apache.org/download.html You don't mention whether you are trying to build the Quickstart example from the command line or from within an IDE. If the latter, you need to check that Maven is accessible from within the IDE and that the same version is being used (NetBeans comes with its own installation of Maven 3 bundled but you can tell it to use a local installation via the Preferences dialog). Michael On 1 August 2011 11:29, <[email protected]> wrote: > Hi, > > I am a beginner in the Maven quickstart project, I was wondering if you would > help me get the quickstart example to work. I have been trying to figure it > out for a week with no avail. > > I get the missing artifact errors in my porm.xml here: > > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-render</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-swing</artifactId> > <version>${geotools.version}</version> > </dependency> > > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-shapefile</artifactId> > <version>${geotools.version}</version> > > all the imports have the x (error) next to them. I think it may be because I > could never get Maven installed from the help, install software menu. I had > to download it and install it manually. > > Any help you may provide is greatly appreciated. > > Thanks > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
