[GeoNetwork-devel] development with maven

Dear all,

now that the migration to maven has taken place I tried today to do some development with the new code, but I'm struggling.

I checked the instructions at
http://trac.osgeo.org/geonetwork/wiki/Maven, but things are not totally
clear.

I'm working with Eclipse, so I tried to do everything there, but I ran into trouble. So I did a command line test first.

I checked out the trunk with svn, and did a "mvn clean build" in the trunk directory. Trying to launch jetty from there with "mvn jetty:run" failed with a
"[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found".

So I tried the same thing in trunk/web, which then worked.

However, what I'm wondering now is: The process of starting jetty in trunk/web created a number of directories in trunk/ web (maven_repo, logs, jcs_caching) which are cluttering up the sourcetree.
Although I was able to login as admin, at some point I got a message in the console that the DB was empy. Indeed I did not use gast.
Is this the right procedure for developing with maven? Anybody some experiences on debugging/developing with eclipse?

I thought developing with maven would make things easier.. now I find myself struggling again )-: ...

I'd be happy to write some documentation for the trac once I master the process again, but I feel I need some hits first unfortunately.

thanks and best regards!
Timo