Hi guys,
Just a general question really...
I have been looking as using Maven2 for project control (folder structure, docs,
maven webpage etc) one of the things I wanted to do is set Maven up to download latest trunk from SVN.
I hjave had a look around and like most stuff to do with Mave, the help is minimal!
I have been trying the following cmd line
C:\>mvn scm:update -Dbasedir=C:\test_svn -Dmaven.scm.method=svn:http://localhost.com/testproj/trunk/ -Dmaven.scm.update.
dir=maven-cruisecontrol-plugin -DconnectionType=developerConnection
but get the following error:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [scm:update] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: update. It requires a project with an existing pom.xml, but the build is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Nov 08 16:03:05 GMT 2007
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------
Any basic help appreciated, working example would be great! :-D