[
https://issues.apache.org/jira/browse/IOTDB-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
朱天赐 closed IOTDB-146.
---------------------
Resolution: Fixed
> 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: 朱天赐
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)