Maven archetype to create a GAE-configured maven project for Spring Boot Application
Note that this project is not optimized to GAE.
with Bash
mvn archetype:generate\
-DarchetypeGroupId=am.ik.archetype\
-DarchetypeArtifactId=spring-boot-gae-blank-archetype\
-DarchetypeVersion=1.0.4
with CommandPrompt (Windows)
mvn archetype:generate^
-DarchetypeGroupId=am.ik.archetype^
-DarchetypeArtifactId=spring-boot-gae-blank-archetype^
-DarchetypeVersion=1.0.4
As a default setting, artifactId
is used as application-id.
$ mvn archetype:generate -B\
-DarchetypeGroupId=am.ik.archetype\
-DarchetypeArtifactId=spring-boot-gae-blank-archetype\
-DarchetypeVersion=1.0.4\
-DgroupId=com.example\
-DartifactId=spring-boot-demo\
-Dversion=1.0.0-SNAPSHOT
$ cd spring-boot-demo
$ mvn appengine:devserver
Go to http://localhost:8080
modify application name in src/main/webapp/WEB-INF/appengine-web.xml if needed
$ mvm clean appengine:update
Demo site is here.
Licensed under the Apache License, Version 2.0.