Monday, 9 September 2013

Unknown lifecycle phase maven

Unknown lifecycle phase maven

Iam new to maven and camel.
I tried executing the examples in camel book.Iam getting this error while
using this command
mvn test -Dtest= SpringTransformMethodTest
[ERROR] Unknown lifecycle phase "SpringTransformMethodTest". You must
specify a valid lifecycle phase or a goal in the f ormat : or :[:]:.
Available lifecycle ph ases are: validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile, proce
ss-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile,
process-test-classes, test, prepare-package, package,
pre-integration-test, integration-test, post-integration-test, ver ify,
install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site,
site-deploy. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of
the errors, re-run Maven with the -e switch. [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 read the
following articles.
Thanks in advance.
Ravi

No comments:

Post a Comment