Is current jME SVN MAVEN broken down?

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] 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] For more information, run Maven with the -e switch
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Dec 27 05:52:11 GMT 2009
[INFO] Final Memory: 1M/40M

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


Have you used the 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/' 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.