Yup, it was the PATH variable. But now I get this error:
C:\Program Files\Tomighty>mvn clean install /p \p
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model f
org.tomighty:tomighty-swing:jar:0.8.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-r
urces-plugin is missing. @ line 157, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threate
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buil
g such malformed projects.
[WARNING]
[INFO] ----------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Tomighty Parent Project
[INFO] Tomighty API
[INFO] Tomighty Swing App
[INFO]
[INFO] ----------------------------------------------------------------------
[INFO] Building Tomighty Parent Project 0.8.0
[INFO] ----------------------------------------------------------------------
[INFO] ----------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tomighty Parent Project ........................... FAILURE [0.046s]
[INFO] Tomighty API ...................................... SKIPPED
[INFO] Tomighty Swing App ................................ SKIPPED
[INFO] ----------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------------------------------
[INFO] Total time: 1.456s
[INFO] Finished at: Thu Nov 01 18:02:58 PDT 2012
[INFO] Final Memory: 2M/15M
[INFO] ----------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "/p". You must specify a valid lifecycle phas
r a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-ar
act-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate,
tialize, generate-sources, process-sources, generate-resources, process-resou
s, compile, process-classes, generate-test-sources, process-test-sources, gen
te-test-resources, process-test-resources, test-compile, process-test-classes
est, prepare-package, package, pre-integration-test, integration-test, post-i
gration-test, verify, install, deploy, pre-site, site, post-site, site-deploy
re-clean, clean, post-clean. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e s
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
d the following articles:
NotFoundException
C:\Program Files\Tomighty>