I've got geotools  / maven cooking with Netbeans 6.

Firstly, I'd recommend that you update your Netbeans from 5 to 6.
There are quite a lot of bug fixes and some useful new features
including a local and remote maven repository browser and better
support for subversion, and smart editing of the maven pom.xml file
(tag completion, repo browsing etc).

You don't need to download a profile for svn (at least I didn't).
Just add the geotools svn site details into the IDE.

In NB6 you can choose to use external maven, rather than the one
embedded in mevenide, for all projects or just a single project.  If
you want to do it for all projects go to Preferences->Miscellaneous
and select the Maven 2 tab - you'll see a check box for external
maven.  You can also set the path to your local repo here.

To use external maven for an individual project, right click on the
project in the IDE, select Properties from the pop up menu, and then
in the dialog that appears select Actions from the list on the left.
You'll see a checkbox for using external maven.  You can also enter
extra args for maven goals here if you want.

With the latest mevenide I've been using the embedded maven without
any problems.  I also frequently use maven from the command line
(2.0.9) and haven't noticed any conflicts.  For some idiosynchratic
reason I tend to use maven from the command line for building geotools
and use it from within Netbeans for building my geotools / maven app.
Works for me.

Hope that helps.

Michael

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to