0Pricing
Java Academy · Lesson

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

  1. Maven Project Structure
  2. Maven Plugins and Goals
  3. Gradle Basics
  4. Choosing a Build Tool
← Back to Java Academy