Maven With Lombok And Junit
# Create a Maven Project with Lombok and JUnit 5
## Description
Creates a well-structured Maven project with Lombok and JUnit 5 by generating a complete project structure that follows Maven conventions and best practices. The prompt sets up essential configurations and dependencies needed for Java development with comprehensive testing capabilities and reduced boilerplate code.
The generated project will include:
- Standard Maven project structure and layout
- Lombok configuration for code generation
- JUnit 5 testing framework setup
- Code coverage reporting with JaCoCo
- Logging capabilities with SLF4J
- CI/CD pipeline configurations
- Basic project documentation
- Git version control setup
Example usage:
- "Create a new Maven project with Lombok and JUnit tests"
- "Generate a Maven project structure with Lombok and testing"
- "Set up a Java project using Lombok and JUnit 5"
- "Create a Maven project template with code coverage and reduced boilerplate"
The prompt will:
- Generate the standard Maven directory structure
- Configure Lombok for code generation
- Set up JUnit 5 for testing
- Configure code coverage reporting
- Add logging support
- Include CI/CD configurations
- Create documentation files
Use this prompt when you want to:
- Start a new Java project with Maven build system
- Reduce boilerplate code using Lombok
- Set up automated testing with JUnit 5
- Follow Maven conventions and best practices
- Include essential development tools and dependencies
- Create a maintainable and well-structured project
## Prompt
A Maven project with Lombok and JUnit 5 provides a standard Java project setup that follows Maven conventions and best practices for Java development. It includes Lombok for reducing boilerplate code, JUnit 5 for testing, and other essential dependencies for building robust Java applications.
Key characteristics of a Maven project with Lombok and JUnit 5 include:
- Standard Maven directory structure
- Basic configuration files (pom.xml, .gitignore)
- Lombok annotations for reduced boilerplate
- Testing setup with JUnit 5
- Code coverage with JaCoCo
- Logging with SLF4J
- Continuous Integration support
- License and README files
This setup ensures:
- Code maintainability and readability
- Easy project setup for new developers
- Reduced boilerplate code with Lombok
- Consistent development practices
- Proper dependency management
- Reliable testing and code coverage
- Clear documentation and usage guidelines
The Maven setup can be extended with additional dependencies and plugins based on specific project needs.
## Project Structurewhen to use it
Community prompt sourced from the open-source GitHub repo luismr/blueprint-prompts (MIT). A "Maven With Lombok And Junit" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
luismr/blueprint-prompts · MIT