Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gbzarelli/archetype-spring

[JAVA] [SPRING] Complete example of an archetype with Spring boot
https://github.com/gbzarelli/archetype-spring

archetype archetype-java java spring spring-boot

Last synced: 8 days ago
JSON representation

[JAVA] [SPRING] Complete example of an archetype with Spring boot

Awesome Lists containing this project

README

        

# Archetype Spring

This Archetype creates:

- Folder structure
- .gitignore and README.md
- External properties folder
- Classes as an sample
- Generate POM with Spring Boot version 2.1.4.RELEASE
- Spring properties with active profiles
- Simple Spring test for validate profiles and properties generated

## Sample of project created with this archetype

![](images/structure.png)

## How to use

In IntelliJ:

- Open the archetype project and run maven install

![](images/install.png)

- File -> New -> Project -> Maven -> (mark) Create from archetype -> Add Archetype

![](images/add_archetype.png)

- Select the archetype and complete the creation.

![](images/new_project.png)

## Based of:

- https://www.baeldung.com/maven-archetype
- https://github.com/eugenp/tutorials/tree/master/maven-archetype
- https://github.com/gbzarelli/archetype-java