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)
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bookshelf 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bookshelf ---
[INFO] Deleting C:\Users\XXX\workspace\getting-started-java\bookshelf\target
[INFO]
[INFO] >>> gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) > package @ bookshelf >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ bookshelf ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 15 source files to C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT\WEB-INF\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ bookshelf ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bookshelf ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ bookshelf ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bookshelf] in [C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\webapp]
[INFO] Webapp assembled in [531 msecs]
[INFO] Building war: C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) < package @ bookshelf <<<
[INFO]
[INFO] --- gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) @ bookshelf ---
[INFO] Running gcloud app deploy...
[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\
XXX\workspace\getting-started-java\bookshelf\target\appengine-staging/app.yaml
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example.appengine.gettingstartedjava</groupId>
<artifactId>bookshelf</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>1.21.0</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-plus</artifactId>
<version>v1-rev329-1.21.0</version>
</dependency>
<dependency>
<groupId>com.google.gcloud</groupId>
<artifactId>gcloud-java</artifactId>
<version>0.1.3</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.2</version>
</dependency>
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.38</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.1.1</version>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
</dependencies>
<build>
<!-- for hot reload of the web application -->
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
<plugins>
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>gcloud-maven-plugin</artifactId>
<version>2.0.9.92.v20160118</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.7.v20160115</version>
</plugin>
</plugins>
</build>
</project>
On Thu, Feb 11, 2016 at 4:38 PM, Yann Riche notifications@github.com
wrote:
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)
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bookshelf 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bookshelf ---
[INFO] Deleting C:\Users\XXX\workspace\getting-started-java\bookshelf\target
[INFO]
[INFO] >>> gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) > package @ bookshelf >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ bookshelf ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 15 source files to C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT\WEB-INF\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ bookshelf ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bookshelf ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ bookshelf ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bookshelf] in [C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\webapp]
[INFO] Webapp assembled in [531 msecs]
[INFO] Building war: C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) < package @ bookshelf <<<
[INFO]
[INFO] --- gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) @ bookshelf ---
[INFO] Running gcloud app deploy...
[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\
XXX\workspace\getting-started-java\bookshelf\target\appengine-staging/app.yaml
On Thu, Feb 11, 2016 at 4:38 PM, Yann Riche notifications@github.com
wrote:
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)
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bookshelf 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bookshelf ---
[INFO] Deleting C:\Users\XXX\workspace\getting-started-java\bookshelf\target
[INFO]
[INFO] >>> gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) > package @ bookshelf >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ bookshelf ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 15 source files to C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT\WEB-INF\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ bookshelf ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bookshelf ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ bookshelf ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bookshelf] in [C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\webapp]
[INFO] Webapp assembled in [531 msecs]
[INFO] Building war: C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) < package @ bookshelf <<<
[INFO]
[INFO] --- gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) @ bookshelf ---
[INFO] Running gcloud app deploy...
[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\
XXX\workspace\getting-started-java\bookshelf\target\appengine-staging/app.yaml
On Thu, Feb 11, 2016 at 4:38 PM, Yann Riche notifications@github.com
wrote:
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)
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bookshelf 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bookshelf ---
[INFO] Deleting C:\Users\XXX\workspace\getting-started-java\bookshelf\target
[INFO]
[INFO] >>> gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) > package @ bookshelf >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ bookshelf ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 15 source files to C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT\WEB-INF\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bookshelf ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\XXX\workspace\getting-started-java\bookshelf\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ bookshelf ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bookshelf ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ bookshelf ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bookshelf] in [C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\XXX\workspace\getting-started-java\bookshelf\src\main\webapp]
[INFO] Webapp assembled in [531 msecs]
[INFO] Building war: C:\Users\XXX\workspace\getting-started-java\bookshelf\target\bookshelf-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) < package @ bookshelf <<<
[INFO]
[INFO] --- gcloud-maven-plugin:2.0.9.92.v20160118:deploy (default-cli) @ bookshelf ---
[INFO] Running gcloud app deploy...
[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\
XXX\workspace\getting-started-java\bookshelf\target\appengine-staging/app.yaml
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)pom.xml
env vars
gcloud info