Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erebelo/spring-common-parent
Parent Project for Spring Boot Applications
https://github.com/erebelo/spring-common-parent
Last synced: 4 days ago
JSON representation
Parent Project for Spring Boot Applications
- Host: GitHub
- URL: https://github.com/erebelo/spring-common-parent
- Owner: erebelo
- License: mit
- Created: 2024-10-09T19:37:36.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-13T15:45:45.000Z (7 days ago)
- Last Synced: 2024-11-13T16:40:46.571Z (7 days ago)
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Common Parent
This project serves as a parent POM for managing Spring Boot applications, centralizing the Spring Boot version and shared configurations across multiple modules.
## Features
- **Spring Boot Version Management**: Centralizes the version of Spring Boot used across all child modules to ensure consistency and simplify updates.
- **Common Plugin Configurations**: Provides a common setup for Maven plugins, including:
- **Spotless Code Formatter**: Enforces code formatting rules using the Spotless plugin, ensuring code quality and consistency across the project.## Requirements
- Java 17
- Spring Boot 3.3.5
- Apache Maven 3.8.6## How to Use
1. **Inherit from the Parent POM**: In your child modules, set the parent as follows in the `pom.xml`:
```xml
com.erebelo
spring-common-parent
1.0.1-SNAPSHOT```
2. **Add Dependencies**: Add your specific dependencies to the child module's `pom.xml` as needed.
3. **Build Your Project**: When you build your project, the Spotless plugin will automatically format your code according to the specified rules.
## Run App
Use the following command to build and format the project:
```sh
mvn clean install
```