Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

apache/maven

Developer Tools

Apache Maven's core repository provides the build, reporting and documentation management tool for Java and JVM projects.

5,376
3,077
Java
Apache-2.0
17 years old

What Maven does

Apache Maven is a project management and comprehension tool built around the project object model (POM). A single POM holds project information from which Maven manages the build, reporting and documentation lifecycle. It is aimed at Java developers who need a repeatable way to compile, test, package and publish projects, and at contributors working on Maven itself.

This repository is the Maven core, not a general Maven usage tutorial. The master branch tracks 4.1.x, while maintained lines for 4.0.x, 3.10.x and 3.9.x live on their own branches (4.0.x, 3.10.x, 3.9.x).

Get the tool

Users who only need Maven should download a release from the download page. Releases are also published to Maven Central. Usage documentation is on the Apache Maven homepage, and configuration reference material is available under the current Maven reference.

Build Maven from source

To bootstrap the distribution from this repository, the documented prerequisites are:

  • Java 17 or newer
  • Maven 3.9.0 or later

Run this from the repository root, replacing the target directory with your own path:

mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.1.x-SNAPSHOT" clean package

The result is a Maven distribution installed at the specified location. The developer build guide and core integration test suite cover more detail for contributors.

Constraints and project conventions

  • Building the core requires both Java 17+ and an existing Maven 3.9.0+ installation, so it cannot be bootstrapped from nothing on an older JDK.
  • The version you get from master is a 4.1.x snapshot; stable 4.0.x and 3.x lines are on separate branches rather than the default branch.
  • Bug reports belong in the issue tracker; usage questions go to the user mailing list.
  • Code style and contribution conventions are described in the contribution guidelines, and development discussion happens on the developers list archive.
  • The code is licensed under the Apache License 2.0, with notices in the NOTICE file.

HotRepo's take

The repository's records in the available window are limited: a July 3–4, 2026 daily series shows 53 and then 58 stars gained per day, and a November 16, 2026 Java daily snapshot places Maven at 14th with no stars gained that day. With so few same-scope records, these figures support only individual-day observations, not a growth trend. What the data does show is sustained attention to the build tool itself in the Java ecosystem, consistent with a long-lived project that many JVM builds depend on.

Written by AI from the project's README, updated . The project's own docs are the source of truth.

You might also like

  1. google/guavaA long-standing Java core library offering collections, concurrency and string utilities for JVM and Android codebases.Java51,914