title: ERROR : appengine-maven-plugin:1.3.2:run failed: Non zero exit: 1
body: <p>I have recently picked up a former employee's unfinished java appengine project. I have been trying to launch the app since this morning but i don't seem to be able to figure out what the problem is. 
  I'm using java 8.
  I did an mvn clean package through terminal and then ran another appengine maven build and got this:</p>
  
  <p>*</p>
  
  <pre><code>"C:\Program Files\Java\jdk1.8.0_101\bin\java" -Dmaven.multiModuleProjectDirectory=C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website "-Dmaven.home=C:\Program Files\Maven\apache-maven-3.5.4" "-Dclassworlds.conf=C:\Program Files\Maven\apache-maven-3.5.4\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.3.4\lib\idea_rt.jar=49872:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.3.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Maven\apache-maven-3.5.4\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.3.4 com.google.cloud.tools:appengine-maven-plugin:1.3.2:run
  [INFO] Scanning for projects...
  [WARNING] The project com.orvif.website:website:war:1.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
  [INFO] 
  [INFO] ---------------------&lt; com.orvif.website:website &gt;----------------------
  [INFO] Building website 1.0-SNAPSHOT
  [INFO] --------------------------------[ war ]---------------------------------
  [INFO] 
  [INFO] &gt;&gt;&gt; appengine-maven-plugin:1.3.2:run (default-cli) &gt; package @ website &gt;&gt;&gt;
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ website ---
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ website ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ website ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO] 
  [INFO] --- versions-maven-plugin:2.3:display-dependency-updates (default) @ website ---
  [INFO] The following dependencies in Dependencies have newer versions:
  [INFO]   com.google.appengine:appengine-api-1.0-sdk .......... 1.9.76 -&gt; 1.9.78
  [INFO]   com.google.appengine:appengine-api-stubs ............ 1.9.76 -&gt; 1.9.78
  [INFO]   com.google.appengine:appengine-testing .............. 1.9.76 -&gt; 1.9.78
  [INFO]   com.google.appengine:appengine-tools-sdk ............ 1.9.76 -&gt; 1.9.78
  [INFO]   com.google.cloud:google-cloud-storage .............. 1.81.0 -&gt; 1.103.1
  [INFO]   com.google.cloud.sql:mysql-socket-factory-connector-j-8 ...
  [INFO]                                                         1.0.14 -&gt; 1.0.15
  [INFO]   com.google.code.gson:gson ............................. 2.8.5 -&gt; 2.8.6
  [INFO]   com.google.truth:truth .............................. 1.0-rc2 -&gt; 1.0.1
  [INFO]   com.googlecode.objectify:objectify .................... 6.0.4 -&gt; 6.0.6
  [INFO]   com.zaxxer:HikariCP ................................... 3.3.1 -&gt; 3.4.2
  [INFO]   commons-codec:commons-codec ............................. 1.12 -&gt; 1.14
  [INFO]   javax.servlet:javax.servlet-api ....................... 3.1.0 -&gt; 4.0.1
  [INFO]   joda-time:joda-time ................................. 2.10.2 -&gt; 2.10.5
  [INFO]   junit:junit ...................................... 4.13-beta-3 -&gt; 4.13
  [INFO]   mysql:mysql-connector-java .......................... 8.0.16 -&gt; 8.0.19
  [INFO] 
  [INFO] 
  [INFO] --- versions-maven-plugin:2.3:display-plugin-updates (default) @ website ---
  [INFO] 
  [INFO] The following plugin updates are available:
  [INFO]   com.google.cloud.tools:appengine-maven-plugin ........ 1.3.2 -&gt; 2.2.0
  [INFO]   maven-clean-plugin ................................... 3.0.0 -&gt; 3.1.0
  [INFO]   maven-compiler-plugin ................................ 3.6.1 -&gt; 3.8.1
  [INFO]   maven-deploy-plugin ................................. 2.7 -&gt; 3.0.0-M1
  [INFO]   maven-enforcer-plugin ............................. 1.4.1 -&gt; 3.0.0-M3
  [INFO]   maven-install-plugin .............................. 2.5.2 -&gt; 3.0.0-M1
  [INFO]   maven-resources-plugin ............................... 3.0.2 -&gt; 3.1.0
  [INFO]   maven-site-plugin ...................................... 3.6 -&gt; 3.8.2
  [INFO]   maven-surefire-plugin .............................. 2.20 -&gt; 3.0.0-M4
  [INFO]   maven-war-plugin ..................................... 3.1.0 -&gt; 3.2.3
  [INFO]   org.codehaus.mojo:versions-maven-plugin .................. 2.3 -&gt; 2.7
  [INFO] 
  [INFO] All plugins have a version specified.
  [INFO] 
  [INFO] Project defines minimum Maven version as: 3.5
  [INFO] Plugins require minimum Maven version of: 3.0
  [INFO] 
  [INFO] No plugins require a newer version of Maven than specified by the pom.
  [INFO] 
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ website ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website\src\test\resources
  [INFO] 
  [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ website ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO] 
  [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ website ---
  [INFO] No tests to run.
  [INFO] 
  [INFO] --- maven-war-plugin:3.1.0:war (default-war) @ website ---
  [INFO] Packaging webapp
  [INFO] Assembling webapp [website] in [C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website\target\website-1.0-SNAPSHOT]
  [INFO] Processing war project
  [INFO] Copying webapp resources [C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website\src\main\webapp]
  [INFO] Webapp assembled in [1296 msecs]
  [INFO] Building war: C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website\target\website-1.0-SNAPSHOT.war
  [INFO] 
  [INFO] &lt;&lt;&lt; appengine-maven-plugin:1.3.2:run (default-cli) &lt; package @ website &lt;&lt;&lt;
  [INFO] 
  [INFO] 
  [INFO] --- appengine-maven-plugin:1.3.2:run (default-cli) @ website ---
  janv. 30, 2020 4:38:55 PM com.google.cloud.tools.appengine.cloudsdk.CloudSdk logCommand
  INFOS: submitting command: C:\Program Files\Java\jdk1.8.0_101\jre\bin\java.exe -Duse_jetty9_runtime=true -D--enable_all_permissions=true -Dappengine.sdk.root=C:\Users\ORVIFSTAGIERE\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java -cp C:\Users\ORVIFSTAGIERE\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\lib\appengine-tools-api.jar com.google.appengine.tools.development.DevAppServerMain --allow_remote_shutdown --disable_update_check --no_java_agent C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website\target\website-1.0-SNAPSHOT
  [INFO] GCLOUD: janv. 30, 2020 4:38:55 PM java.util.prefs.WindowsPreferences &lt;init&gt;
  [INFO] GCLOUD: AVERTISSEMENT: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
  [INFO] GCLOUD: janv. 30, 2020 4:38:55 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
  [INFO] GCLOUD: INFOS: Overwriting system property key 'java.util.logging.config.file', value 'C:\Users\ORVIFSTAGIERE\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'C:\Users\ORVIFSTAGIERE\Documents\MesProjectJava\SiteOrvifMaven\website\target\website-1.0-SNAPSHOT\WEB-INF\appengine-web.xml'
  [INFO] GCLOUD: 2020-01-30 16:38:56.084:INFO::main: Logging initialized @633ms to org.eclipse.jetty.util.log.StdErrLog
  [INFO] GCLOUD: 2020-01-30 16:38:56.138:WARN:oejs.AbstractConnector:main: Ignoring deprecated socket close linger time
  [INFO] GCLOUD: java.io.IOException: Failed to bind to localhost/127.0.0.1:8080
  [INFO] GCLOUD:  at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
  [INFO] GCLOUD:  at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.jetty9.JettyContainerService.connectContainer(JettyContainerService.java:309)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.AbstractContainerService.createConnection(AbstractContainerService.java:268)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.AbstractInstanceHolder.createConnection(AbstractInstanceHolder.java:37)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.AbstractModule.createConnection(AbstractModule.java:73)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.Modules.createConnections(Modules.java:99)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:245)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:223)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:221)
  [INFO] GCLOUD:  at java.security.AccessController.doPrivileged(Native Method)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:221)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:404)
  [INFO] GCLOUD:  at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:45)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:257)
  [INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:248)
  [INFO] GCLOUD: Caused by: java.net.BindException: Address already in use: bind
  [INFO] GCLOUD:  at sun.nio.ch.Net.bind0(Native Method)
  [INFO] GCLOUD:  at sun.nio.ch.Net.bind(Net.java:433)
  [INFO] GCLOUD:  at sun.nio.ch.Net.bind(Net.java:425)
  [INFO] GCLOUD:  at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
  [INFO] GCLOUD:  at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
  [INFO] GCLOUD:  at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
  [INFO] GCLOUD:  ... 16 more
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 9.945 s
  [INFO] Finished at: 2020-01-30T16:38:56+01:00
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.3.2:run (default-cli) on project website: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.3.2:run failed: Non zero exit: 1 -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
  
  Process finished with exit code 1
  </code></pre>
  
  <p>*</p>
  
  <p>here's also the pom.xml file. Im guessing it may be a versions problem in one of my dependencies?: </p>
  
  <pre><code>
      &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;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"&gt;
  
          &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
          &lt;packaging&gt;war&lt;/packaging&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
          &lt;groupId&gt;com.orvif.website&lt;/groupId&gt;
          &lt;artifactId&gt;website&lt;/artifactId&gt;
  
          &lt;properties&gt;
              &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
              &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
              &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
              &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
              &lt;maven.compiler.showDeprecation&gt;true&lt;/maven.compiler.showDeprecation&gt;
              &lt;archiveClasses&gt;true&lt;/archiveClasses&gt;
          &lt;/properties&gt;
  
          &lt;prerequisites&gt;
              &lt;maven&gt;3.5&lt;/maven&gt;
          &lt;/prerequisites&gt;
  
          &lt;dependencies&gt;
              &lt;!-- Compile/runtime dependencies --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.appengine&lt;/groupId&gt;
                  &lt;artifactId&gt;appengine-api-1.0-sdk&lt;/artifactId&gt;
                  &lt;version&gt;1.9.76&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                  &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
                  &lt;version&gt;3.1.0&lt;/version&gt;
                  &lt;type&gt;jar&lt;/type&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                  &lt;artifactId&gt;jstl&lt;/artifactId&gt;
                  &lt;version&gt;1.2&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
                  &lt;artifactId&gt;jersey-core&lt;/artifactId&gt;
                  &lt;version&gt;1.19.4&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
                  &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
                  &lt;version&gt;1.19.4&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.jersey.contribs&lt;/groupId&gt;
                  &lt;artifactId&gt;jersey-multipart&lt;/artifactId&gt;
                  &lt;version&gt;1.19.4&lt;/version&gt;
              &lt;/dependency&gt;
  
  
              &lt;!-- Test Dependencies --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.appengine&lt;/groupId&gt;
                  &lt;artifactId&gt;appengine-testing&lt;/artifactId&gt;
                  &lt;version&gt;1.9.76&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.appengine&lt;/groupId&gt;
                  &lt;artifactId&gt;appengine-api-stubs&lt;/artifactId&gt;
                  &lt;version&gt;1.9.76&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.appengine&lt;/groupId&gt;
                  &lt;artifactId&gt;appengine-tools-sdk&lt;/artifactId&gt;
                  &lt;version&gt;1.9.76&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.truth&lt;/groupId&gt;
                  &lt;artifactId&gt;truth&lt;/artifactId&gt;
                  &lt;version&gt;1.0-rc2&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;junit&lt;/groupId&gt;
                  &lt;artifactId&gt;junit&lt;/artifactId&gt;
                  &lt;version&gt;4.13-beta-3&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.mockito&lt;/groupId&gt;
                  &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
                  &lt;version&gt;2.0.2-beta&lt;/version&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
                  &lt;artifactId&gt;jsch&lt;/artifactId&gt;
                  &lt;version&gt;0.1.55&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
                  &lt;artifactId&gt;gson&lt;/artifactId&gt;
                  &lt;version&gt;2.8.5&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;joda-time&lt;/groupId&gt;
                  &lt;artifactId&gt;joda-time&lt;/artifactId&gt;
                  &lt;version&gt;2.10.2&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.googlecode.objectify&lt;/groupId&gt;
                  &lt;artifactId&gt;objectify&lt;/artifactId&gt;
                  &lt;version&gt;6.0.4&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;commons-codec&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
                  &lt;version&gt;1.12&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.jna&lt;/groupId&gt;
                  &lt;artifactId&gt;jna&lt;/artifactId&gt;
                  &lt;version&gt;3.0.9&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;net.java.dev.jna&lt;/groupId&gt;
                  &lt;artifactId&gt;platform&lt;/artifactId&gt;
                  &lt;version&gt;3.5.2&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.cloud.sql&lt;/groupId&gt;
                  &lt;artifactId&gt;mysql-socket-factory-connector-j-8&lt;/artifactId&gt;
                  &lt;version&gt;1.0.14&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;mysql&lt;/groupId&gt;
                  &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                  &lt;version&gt;8.0.16&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.mail&lt;/groupId&gt;
                  &lt;artifactId&gt;mail&lt;/artifactId&gt;
                  &lt;version&gt;1.5.0-b01&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.taglibs&lt;/groupId&gt;
                  &lt;artifactId&gt;taglibs-standard-impl&lt;/artifactId&gt;
                  &lt;version&gt;1.2.5&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.appengine.tools&lt;/groupId&gt;
                  &lt;artifactId&gt;appengine-gcs-client&lt;/artifactId&gt;
                  &lt;version&gt;0.8&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.cloud&lt;/groupId&gt;
                  &lt;artifactId&gt;google-cloud-storage&lt;/artifactId&gt;
                  &lt;version&gt;1.81.0&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;commons-fileupload&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-fileupload&lt;/artifactId&gt;
                  &lt;version&gt;1.4&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.zaxxer&lt;/groupId&gt;
                  &lt;artifactId&gt;HikariCP&lt;/artifactId&gt;
                  &lt;version&gt;3.3.1&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
  
          &lt;build&gt;
              &lt;!-- for hot reload of the web application --&gt;
              &lt;resources&gt;
                  &lt;resource&gt;
                      &lt;directory&gt;src/main/java&lt;/directory&gt;
                      &lt;includes&gt;
                          &lt;include&gt;**/*.properties&lt;/include&gt;
                      &lt;/includes&gt;
                      &lt;filtering&gt;true&lt;/filtering&gt;
                  &lt;/resource&gt;
              &lt;/resources&gt;
              &lt;outputDirectory&gt;${project.build.directory}/${project.build.finalName}/WEB-INF/classes&lt;/outputDirectory&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;com.google.cloud.tools&lt;/groupId&gt;
                      &lt;artifactId&gt;appengine-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;1.3.2&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;project&gt;orvifgcp&lt;/project&gt;
                          &lt;version&gt;1&lt;/version&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                      &lt;artifactId&gt;versions-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.3&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;phase&gt;compile&lt;/phase&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;display-dependency-updates&lt;/goal&gt;
                                  &lt;goal&gt;display-plugin-updates&lt;/goal&gt;
                              &lt;/goals&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                      &lt;configuration&gt;
                          &lt;excludes&gt;
                              &lt;exclude&gt;javax.servlet:javax.servlet-api&lt;/exclude&gt;
                              &lt;exclude&gt;com.google.guava:guava&lt;/exclude&gt; &lt;!-- avoid android version --&gt;
                          &lt;/excludes&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.1.0&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.6.1&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.0.0&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.5.2&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.20&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.6&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.0.2&lt;/version&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.7&lt;/version&gt;
                  &lt;/plugin&gt;
  
  
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-enforcer-plugin&lt;/artifactId&gt;
                      &lt;version&gt;1.4.1&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;id&gt;enforce-maven&lt;/id&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;enforce&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;rules&gt;
                                      &lt;requireMavenVersion&gt;
                                          &lt;version&gt;3.5&lt;/version&gt;
                                      &lt;/requireMavenVersion&gt;
                                      &lt;requirePluginVersions&gt;
                                          &lt;message&gt;Best Practice is to always define plugin versions!&lt;/message&gt;
                                          &lt;banLatest&gt;true&lt;/banLatest&gt;
                                          &lt;banRelease&gt;true&lt;/banRelease&gt;
                                          &lt;phases&gt;
                                              clean,deploy,verify,appengine:run,appengine:deploy,appengine:update,appengine:devappaserver,site
                                          &lt;/phases&gt;
                                      &lt;/requirePluginVersions&gt;
                                  &lt;/rules&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/project&gt;
  
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/UJ7wR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UJ7wR.jpg" alt="ports"></a></p>
  
  <p><a href="https://i.stack.imgur.com/VHqbX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VHqbX.png" alt="localhost browser"></a></p>