- This template can be used as a base layer for a single-module Maven project.
- Make the project easy to maintain with 7 issue templates.
- Quick-start documentation
- Manage issues with 20 issue labels.
- Make community healthier with all the guides like code of conduct, contributing, support, security...
- Learn more with the official GitHub guide on creating repositories from a template.
- To start using it, click Use this template to create your new repository.
A GitHub template for quickly bootstrapping Spring Boot applications with best practices.
This template provides a standardized foundation for developing Java applications using Spring Boot with Maven's single-module layout. For detailed documentation, please refer to the template-docs directory.
To use this template for your own project:
- Click the Use this template button at the top of the repository
- Name your repository and provide a description
- Choose the repository visibility (public or private)
- Click Create repository from template
After creating your repository:
- Update the project name and description in
pom.xml - Modify the package names in
src/main/javaandsrc/test/java - Update this README.md with your project-specific information
- Review and adjust GitHub workflows in
.github/workflowsas needed - Customize environment variables in
compose.yamlfor your application
- Project Structure: Standard Maven single-module layout
- GitHub Integration: Issue templates, labels, and workflows
- Quality Tools: Code formatting, linting, and testing setup
- Documentation: Community guidelines and contribution process
- Java 21 (OpenJDK)
- Maven
- Node.js & pnpm
- Docker & Docker Compose
# Clone the repository
git clone https://github.com/IQKV/standard-maven-single-project-layout.git my-service
# Navigate to project directory
cd my-service
# Install git hooks
pnpm install
# Start local dev services
docker compose up -d
# Run the application
mvn spring-boot:run -Dspring-boot.run.profiles=local -P devFor more detailed instructions, configuration options, and development guidelines, please refer to the documentation.
This project is licensed under the Apache License. See the LICENSE file for details.
Please read our Contributing Guidelines and Code of Conduct.