Skip to main content
Java 25 Ready

Modern Java Maven Template

Start your Java 25 project with best practices, modern testing, code quality tools, and CI/CD - all configured and ready to use.

Why Choose This Template?

โ˜•

Java 25 Ready

Latest Java 25 features with compiler release 25, Oracle JDK 25 in CI/CD, and modern language constructs ready to use.

๐ŸŽฏ

Zero Setup Required

Maven wrapper included - no need to install Maven locally. Git configuration, JVM settings, and best practices pre-configured.

๐Ÿงช

Testing Excellence

Separated unit and integration tests with Surefire and Failsafe. AssertJ, jqwik property testing, ArchUnit, and parallel execution configured.

โœจ

Code Quality

Spotless code formatting with Google Java Format (AOSP style), automated formatting checks, and quality gates in CI/CD.

๐Ÿ”ง

Developer Tools

JShell integration for REPL development, jenv configuration for Java version management, and modularization ready.

๐Ÿš€

CI/CD Ready

GitHub Actions workflow with Oracle JDK 25, automated builds, tests, and quality checks on every push to main branch.

Quick Start

1

Use Template

Click "Use this template" on GitHub or download the ZIP file directly.

2

Clone & Setup

Clone your new repository and optionally configure jenv for Java version management.

3

Start Coding

Run ./mvnw test to verify everything works, then start building your application.

What's Included

๐Ÿงช Modern Testing Stack

  • JUnit 6.0.0 - Latest testing framework
  • AssertJ 3.27.6 - Fluent assertions
  • jqwik 1.9.3 - Property-based testing
  • ArchUnit 1.4.1 - Architecture testing
  • Instancio 5.5.1 - Test data generation
  • Awaitility 4.3.0 - Async testing

โš™๏ธ Build & Quality

  • Maven Wrapper - No local Maven required
  • Spotless Plugin - Google Java Format (AOSP)
  • Surefire/Failsafe - Separated test execution
  • JShell Plugin - REPL development
  • Shade Plugin - Fat JAR creation (optional)
  • Parallel Tests - Faster feedback

๐Ÿ”ง Configuration

  • .mvn/jvm.config - JVM settings (-Xmx2048m)
  • .mvn/maven.config - Maven optimizations
  • module-info.java - Modularization ready
  • junit-platform.properties - Parallel execution
  • GitHub Actions - Oracle JDK 25 CI/CD
  • jenv configuration - Java version management

Ready to Start Building?

Get your Java 25 project up and running in minutes with all the modern tooling and best practices.