{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-maven-plugin/issues/78","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-maven-plugin","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-maven-plugin/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-maven-plugin/issues/78/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-maven-plugin/issues/78/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-maven-plugin/issues/78","id":133127818,"number":78,"title":"MVM deployment fails on Windows","user":{"login":"YnR","id":1758462,"avatar_url":"https://avatars.githubusercontent.com/u/1758462?v=3","gravatar_id":"","url":"https://api.github.com/users/YnR","html_url":"https://github.com/YnR","followers_url":"https://api.github.com/users/YnR/followers","following_url":"https://api.github.com/users/YnR/following{/other_user}","gists_url":"https://api.github.com/users/YnR/gists{/gist_id}","starred_url":"https://api.github.com/users/YnR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YnR/subscriptions","organizations_url":"https://api.github.com/users/YnR/orgs","repos_url":"https://api.github.com/users/YnR/repos","events_url":"https://api.github.com/users/YnR/events{/privacy}","received_events_url":"https://api.github.com/users/YnR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-12T00:38:18Z","updated_at":"2016-02-12T00:38:18Z","closed_at":null,"body":"Trying to run `mvn clean gcloud:deploy` as an user with admin rights in PowerShell on Windows 10 Pro machine, it hangs at: (waited until the VM was shown built an active in the console, but it hangs)\r\n\r\n```\r\n[INFO] Scanning for projects...\r\n[INFO]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building bookshelf 1.0-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO]\r\n[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bookshelf ---\r\n[INFO] Deleting C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\target\r\n[INFO]\r\n[INFO] >>> gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) > package @ bookshelf >>>\r\n[INFO]\r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bookshelf ---\r\n[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!\r\n[INFO] skip non existing resourceDirectory C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\src\\main\\resources\r\n[INFO]\r\n[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ bookshelf ---\r\n[INFO] Changes detected - recompiling the module!\r\n[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!\r\n[INFO] Compiling 15 source files to C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\target\\bookshelf-1.0-SNAPSHOT\\WEB-INF\\classes\r\n[INFO]\r\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bookshelf ---\r\n[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!\r\n[INFO] skip non existing resourceDirectory C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\src\\test\\resources\r\n[INFO]\r\n[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ bookshelf ---\r\n[INFO] No sources to compile\r\n[INFO]\r\n[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bookshelf ---\r\n[INFO] No tests to run.\r\n[INFO]\r\n[INFO] --- maven-war-plugin:2.6:war (default-war) @ bookshelf ---\r\n[INFO] Packaging webapp\r\n[INFO] Assembling webapp [bookshelf] in [C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\target\\bookshelf-1.0-SNAPSHOT]\r\n[INFO] Processing war project\r\n[INFO] Copying webapp resources [C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\src\\main\\webapp]\r\n[INFO] Webapp assembled in [531 msecs]\r\n[INFO] Building war: C:\\Users\\XXX\\workspace\\getting-started-java\\bookshelf\\target\\bookshelf-1.0-SNAPSHOT.war\r\n[INFO]\r\n[INFO] <<< gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) < package @ bookshelf <<<\r\n[INFO]\r\n[INFO] --- gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) @ bookshelf ---\r\n[INFO] Running gcloud app deploy...\r\n[INFO] Running C:\\python27_x64\\python.exe -S C:\\Users\\XXX\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\lib\\gcloud.py --quiet preview app deploy C:\\Users\\\r\nXXX\\workspace\\getting-started-java\\bookshelf\\target\\appengine-staging/app.yaml\r\n```\r\n\r\n**pom.xml**\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!--\r\nCopyright 2015 Google Inc. All Rights Reserved.\r\n\r\n Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n       http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n-->\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n  <modelVersion>4.0.0</modelVersion>\r\n  <groupId>com.example.appengine.gettingstartedjava</groupId>\r\n  <artifactId>bookshelf</artifactId>\r\n  <version>1.0-SNAPSHOT</version>\r\n  <packaging>war</packaging>\r\n  <dependencies>\r\n    <dependency>\r\n      <groupId>com.fasterxml.jackson.core</groupId>\r\n      <artifactId>jackson-databind</artifactId>\r\n      <version>2.7.0</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>com.google.api-client</groupId>\r\n      <artifactId>google-api-client</artifactId>\r\n      <version>1.21.0</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>com.google.apis</groupId>\r\n      <artifactId>google-api-services-plus</artifactId>\r\n      <version>v1-rev329-1.21.0</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>com.google.gcloud</groupId>\r\n      <artifactId>gcloud-java</artifactId>\r\n      <version>0.1.3</version>\r\n    </dependency>\r\n    <dependency>\r\n        <groupId>com.google.guava</groupId>\r\n        <artifactId>guava</artifactId>\r\n        <version>19.0</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>javax.servlet</groupId>\r\n      <artifactId>javax.servlet-api</artifactId>\r\n      <version>3.1.0</version>\r\n      <type>jar</type>\r\n      <scope>provided</scope>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>javax.servlet</groupId>\r\n      <artifactId>jsp-api</artifactId>\r\n      <version>2.0</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>joda-time</groupId>\r\n      <artifactId>joda-time</artifactId>\r\n      <version>2.9.2</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>jstl</groupId>\r\n      <artifactId>jstl</artifactId>\r\n      <version>1.2</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>mysql</groupId>\r\n      <artifactId>mysql-connector-java</artifactId>\r\n      <version>5.1.38</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>org.apache.commons</groupId>\r\n      <artifactId>commons-dbcp2</artifactId>\r\n      <version>2.1.1</version>\r\n    </dependency>\r\n    <dependency>\r\n      <groupId>taglibs</groupId>\r\n      <artifactId>standard</artifactId>\r\n      <version>1.1.2</version>\r\n    </dependency>\r\n  </dependencies>\r\n  <build>\r\n    <!-- for hot reload of the web application -->\r\n    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>\r\n    <plugins>\r\n      <plugin>\r\n        <groupId>com.google.appengine</groupId>\r\n        <artifactId>gcloud-maven-plugin</artifactId>\r\n        <version>2.0.9.92.v20160118</version>\r\n      </plugin>\r\n      <plugin>\r\n        <groupId>org.apache.maven.plugins</groupId>\r\n        <artifactId>maven-compiler-plugin</artifactId>\r\n        <version>3.3</version>\r\n        <configuration>\r\n          <source>1.8</source>\r\n          <target>1.8</target>\r\n        </configuration>\r\n      </plugin>\r\n      <plugin>\r\n        <groupId>org.apache.maven.plugins</groupId>\r\n        <artifactId>maven-war-plugin</artifactId>\r\n        <version>2.6</version>\r\n        <configuration>\r\n          <failOnMissingWebXml>false</failOnMissingWebXml>\r\n        </configuration>\r\n      </plugin>\r\n      <plugin>\r\n        <groupId>org.eclipse.jetty</groupId>\r\n        <artifactId>jetty-maven-plugin</artifactId>\r\n        <version>9.3.7.v20160115</version>\r\n      </plugin>\r\n    </plugins>\r\n  </build>\r\n</project>\r\n```\r\n\r\n**env vars**\r\n```\r\n\r\nName                           Value\r\n----                           -----\r\nALLUSERSPROFILE                C:\\ProgramData\r\nAPPDATA                        C:\\Users\\XXX\\AppData\\Roaming\r\nBUCKET_NAME                    bookshelf-java-cuj\r\nCALLBACK_URL                   http://localhost:8080/oauth2callback\r\nCLIENT_ID                      zzzzz.apps.googleuserconte\r\nCLIENT_SECRET                  zzzzzz\r\nCLOUDSDK_PYTHON                C:\\python27_x64\\python.exe\r\nCommonProgramFiles             C:\\Program Files\\Common Files\r\nCommonProgramFiles(x86)        C:\\Program Files (x86)\\Common Files\r\nCommonProgramW6432             C:\\Program Files\\Common Files\r\nCOMPUTERNAME                   zzz-WIN10\r\nComSpec                        C:\\Windows\\system32\\cmd.exe\r\nFPS_BROWSER_APP_PROFILE_STRING Internet Explorer\r\nFPS_BROWSER_USER_PROFILE_ST... Default\r\nHOMEDRIVE                      C:\r\nHOMEPATH                       \\Users\\xxx\r\nJAVA_HOME                      C:\\Program Files\\Java\\jdk1.8.0_65\r\nLOCALAPPDATA                   C:\\Users\\xxx\\AppData\\Local\r\nLOGONSERVER                    \\\\MicrosoftAccount\r\nNUMBER_OF_PROCESSORS           3\r\nOS                             Windows_NT\r\nPath                           C:\\python27_x64\\;C:\\python27_x64\\Scripts;C:\\ProgramData\\Oracle\\Java\r\nPATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL\r\nPROCESSOR_ARCHITECTURE         AMD64\r\nPROCESSOR_IDENTIFIER           Intel64 Family 6 Model 62 Stepping 4, GenuineIntel\r\nPROCESSOR_LEVEL                6\r\nPROCESSOR_REVISION             3e04\r\nProgramData                    C:\\ProgramData\r\nProgramFiles                   C:\\Program Files\r\nProgramFiles(x86)              C:\\Program Files (x86)\r\nProgramW6432                   C:\\Program Files\r\nPSModulePath                   C:\\Users\\xxx\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\plat\r\nPUBLIC                         C:\\Users\\Public\r\nSESSIONNAME                    Console\r\nSQL_DATABASE_URL               jdbc:mysql://IP:3306/DB_NAME?user=USER&password=PWD\r\nSTORAGETYPE                    cloudsql\r\nSystemDrive                    C:\r\nSystemRoot                     C:\\Windows\r\nTEMP                           C:\\Users\\XXX\\AppData\\Local\\Temp\r\nTMP                            C:\\Users\\XXX\\AppData\\Local\\Temp\r\nUSERDOMAIN                     ZZZ-WIN10\r\nUSERDOMAIN_ROAMINGPROFILE      YNR-WIN10\r\nUSERNAME                       XXX\r\nUSERPROFILE                    C:\\Users\\XXX\r\nVS140COMNTOOLS                 C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\\r\nwindir                         C:\\Windows\r\n```\r\n\r\n**gcloud info** \r\n```\r\nGoogle Cloud SDK [96.0.0]\r\n\r\nPlatform: [Windows, x86_64]\r\nPython Version: [2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]]\r\nPython Location: [C:\\python27_x64\\python.exe]\r\nSite Packages: [Disabled]\r\n\r\nInstallation Root: [C:\\Users\\XXX\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk]\r\nInstalled Components:\r\n  core: [2016.02.05]\r\n  bq-win: [2.0.18]\r\n  core-win: [2016.02.05]\r\n  gcloud: []\r\n  windows-ssh-tools: [2016.01.29]\r\n  gsutil: [4.16]\r\n  gsutil-win: [4.16]\r\n  bq: [2.0.18]\r\nSystem PATH: [C:\\Users\\XXX\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin\\..\\bin\\sdk;C:\\python27_x64\\;C:\\python27_x64\\Scripts;C:\\ProgramData\\Oracle\\Jav\r\na\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Git\\cmd;C:\\Users\\yannr\\.dnx\\bi\r\nn;C:\\Users\\XXX\\workspace\\tools\\apache-maven-3.3.9\\bin;C:\\Users\\XXX\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin]\r\nCloud SDK on PATH: [True]\r\n\r\nInstallation Properties: [C:\\Users\\XXX\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\properties]\r\nUser Config Directory: [C:\\Users\\XXX\\AppData\\Roaming\\gcloud]\r\nUser Properties: [C:\\Users\\XXX\\AppData\\Roaming\\gcloud\\properties]\r\nCurrent Workspace: [None]\r\nWorkspace Config Directory: [None]\r\nWorkspace Properties: [None]\r\n\r\nAccount: [EMAIL@DDRESS]\r\nProject: [PROJECT_NAME]\r\n\r\nCurrent Properties:\r\n  [core]\r\n    project: [PROJECT_NAME]\r\n    account: [EMAIL@DDRESS]\r\n    disable_usage_reporting: [False]\r\n  [app]\r\n    suppress_change_warning: [true]\r\n\r\nLogs Directory: [C:\\Users\\XXX\\AppData\\Roaming\\gcloud\\logs]\r\nLast Log File: [C:\\Users\\XXX\\AppData\\Roaming\\gcloud\\logs\\2016.02.11\\16.09.13.385000.log]\r\n```"}}