Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```