maven - mvn.bat not executing properly -
maven - mvn.bat not executing properly -
at setup of maven in machine 'mvn.bat' not executing properly. gives error "no goals have been specified build...".
java_home set fine. though there no error 'mvn --version'.
actually, error pretty self-explanatory:
no goals have been specified build. must specify valid lifecycle phase or goal in format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-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, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean.
you have not specified goals. have to. want mvn install
or mvn clean install
. recommend reading on maven usage , examples.
maven
Comments
Post a Comment