You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "朱天赐 (JIRA)" <ji...@apache.org> on 2019/07/18 16:09:00 UTC

[jira] [Created] (IOTDB-146) Windows should use different mvn command, like using quoting '-Dmaven test.skip=true'

朱天赐 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)