https://github.com/making/spring-boot-gae-blank
Maven archetype to create a GAE-configured maven project for Spring Boot Application
https://github.com/making/spring-boot-gae-blank
Last synced: 12 months ago
JSON representation
Maven archetype to create a GAE-configured maven project for Spring Boot Application
- Host: GitHub
- URL: https://github.com/making/spring-boot-gae-blank
- Owner: making
- Created: 2015-02-14T01:59:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-13T14:03:27.000Z (over 10 years ago)
- Last Synced: 2025-04-06T07:37:35.719Z (about 1 year ago)
- Language: Java
- Homepage: http://spring-boot-demo.appspot.com/
- Size: 176 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](http://spring-boot-demo.appspot.com/).
## License
Licensed under the Apache License, Version 2.0.