Is current jME SVN MAVEN broken down?


Port http://jmonkeyengine.googlecode.com/svn/trunk/
into my Eclipse/Netbeans and found both ant and maven seem to be supported by current jME SVN.

However, whenever I tried

mvn pom.xml


I obtained the following error messages:

jiapei@jiapei-laptop:~/MyPrograms/Eclipse/jme$ mvn pom.xml
[INFO] Scanning for projects...
[INFO]


[ERROR] BUILD FAILURE
[INFO]
[INFO] Invalid task 'pom.xml': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]
[INFO] For more information, run Maven with the -e switch
[INFO]
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Dec 27 05:52:11 GMT 2009
[INFO] Final Memory: 1M/40M
[INFO]
jiapei@jiapei-laptop:~/MyPrograms/Eclipse/jme$




So, does that mean, current jME doesn't well support Maven?

Cheers
JIA

Have you used the mvn-lib-install.sh script to import the needed dependencies into your local maven repository? It is located in the lib directory and needs to be run from the jMonkeyEngine root directory, so the command will look like './lib/mvn-lib-install.sh' on linux. If you are on windoz you will need to create a batch script with the same 'mvn install:install-file …' lines. You will need a local maven distribution to use the script, if you are using a maven IDE plugin it will not work, because the script will need maven on your path.