Maven Project Structure
POM, lifecycle, and dependencies.
Maven Project Structure
Maven is a build tool and dependency manager built around a single principle: convention over configuration. Follow its standard layout and most things work with almost no setup. This lesson covers the layout, the POM, and dependency management.
The Standard Directory Layout
Maven expects a fixed structure:
src/main/java— production source code.src/main/resources— production resources.src/test/java— test source code.target/— build output (generated).
All lessons in this course
- Maven Project Structure
- Maven Plugins and Goals
- Gradle Basics
- Choosing a Build Tool