朱天赐 created IOTDB-146:
-------------------------
Summary: Windows should use different mvn command, like using
quoting '-Dmaven test.skip=true'
Key: IOTDB-146
URL: https://issues.apache.org/jira/browse/IOTDB-146
Project: Apache IoTDB
Issue Type: Bug
Reporter: 朱天赐
When you use IoTDB in Windows, and if you use -Dmaven test.skip=true, you would
get the following error
{code:shell}
[ERROR] Unknown lifecycle phase ".test.skip=true". You must specify a valid
lifecycle phase or a goal in the 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, prepar
e-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy, pre-site, site, post-site,
site-deploy, pre-clean, clean, po
st-clean. -> [Help 1]
{code}
detailed solution see
[here|https://stackoverflow.com/questions/6347985/cannot-run-maven-using-mvn-d-argument-within-microsoft-powershell-but-works]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)