title: Unknown lifecycle phase "–-DskipTests=true" for Amazon Device Farm while Maven package
body: <p>I am trying to package sample-appium-test code from AWS Github.
  <a href="https://github.com/awslabs/aws-device-farm-appium-tests-for-sample-app" rel="nofollow noreferrer">https://github.com/awslabs/aws-device-farm-appium-tests-for-sample-app</a></p>
  <p>According to the <a href="http://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-appium-java-junit.html" rel="nofollow noreferrer">document</a> of Amazon,
  I have to package it with this command:</p>
  <p><code>mvn clean package –-DskipTests=true</code></p>
  <p>After that, I'm got this error</p>
  <blockquote>
  <p>[INFO] BUILD FAILURE</p>
  <p>[INFO] ------------------------------------------------------------------------</p>
  <p>[INFO] Total time: 0.214 s</p>
  <p>[INFO] Finished at: 2016-08-30T09:02:33+08:00</p>
  <p>[INFO] Final Memory: 7M/155M</p>
  <p>[INFO] ------------------------------------------------------------------------</p>
  <p>[ERROR] Unknown lifecycle phase &quot;–-DskipTests=true&quot;. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. 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-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -&gt; [Help 1]</p>
  <p>[ERROR]</p>
  <p>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</p>
  <p>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</p>
  </blockquote>
  <p>What should I do to fix this problem? Thanks you</p>