Skip to content

making/spring-boot-gae-blank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot GAE Blank

Maven archetype to create a GAE-configured maven project for Spring Boot Application

Note that this project is not optimized to GAE.

How to use

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.

Example

Create a project

$ 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

Run on dev server

$ mvn appengine:devserver

Go to http://localhost:8080

Deploy

modify application name in src/main/webapp/WEB-INF/appengine-web.xml if needed

$ mvm clean appengine:update

Demo site is here.

License

Licensed under the Apache License, Version 2.0.

About

Maven archetype to create a GAE-configured maven project for Spring Boot Application

Resources

Stars

Watchers

Forks

Packages

No packages published