An open API service indexing awesome lists of open source software.

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

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.