Automic VaultAutomic Vault

brew

Install maven with Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, scoop, zypper

Java-based project management. Version 3.9.16 via Homebrew; verified 2026-05-17.

agent safety

Agent safety answer

maven builds Java projects and can deploy artifacts to package repositories.

Credential access

Reads settings.xml credentials, environment variables, and repository auth.

Remote mutation

Can deploy artifacts and run plugins that call remote services.

Publish/artifact risk

Can publish jars, plugins, and release metadata.

Recommended control

Gate deploy, release plugins, and credentialed repository access.

Agent-use guidance

Allow test/package goals; require approval for deploy, release, and secret-backed plugin goals.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install maven

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add maven

Alpine Linux edge package indexes · maven · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libmaven3-core-java

Debian stable package indexes · libmaven3-core-java · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install maven

Fedora Rawhide package metadata · maven · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#maven

nixpkgs package indexes · pkgs/by-name/ma/maven/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S maven

Arch Linux sync databases · maven · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install maven

openSUSE Tumbleweed package metadata · maven · source: download.opensuse.org

overview

Package summary

Java-based project management

Commands and aliases

  • mvn
  • mvnDebug
  • mvnyjp

history

Project history and usage

Apache Maven is the Apache Software Foundation's long-running Java build and project-management tool, centered on a project object model, dependency coordinates, plugins, and repository metadata.

Project history

Maven's official site describes it as a build tool for Java projects that uses a Project Object Model to manage compilation, testing, and documentation. The Apache Maven source page also shows that the project is not a single repository in practice: full Maven sources span Maven core, plugins, components, skins, and related repositories, with a manifest repository used to check out the whole source tree.

The release history documents Maven 3 as the maintained general-availability line and Maven 4 as a long-running alpha, beta, and release-candidate effort. That makes Maven unusual among CLI build tools: the user-facing command is compact, but the surrounding ecosystem of plugins, resolver components, repository layout, and site tooling is large and separately versioned.

Adoption history

Maven became a default packaging and dependency idiom for Java because its repository model is shared beyond Maven itself. Apache's Maven Central documentation explicitly addresses both projects that use Maven for builds and projects that only want their releases added to the central repository.

Homebrew, Debian-family, RPM-family, Chocolatey, Scoop, Nix, Pacman, and other package-manager entries in the input show Maven's broad CLI distribution footprint outside Java IDEs.

How it is used

Typical CLI use is `mvn` in a project containing a `pom.xml`, with per-user settings in `~/.m2/settings.xml` and project-local runner options in `.mvn/maven.config`, `.mvn/jvm.config`, and `.mvn/extensions.xml`. Credentials for remote repositories and mirrors live in the Maven settings model's `servers` entries, with encrypted-password support via `settings-security.xml`.

Why package nerds care

Maven matters to package nerds because it standardized much of the vocabulary of Java artifact packaging: groupId, artifactId, version, POM metadata, transitive dependency resolution, local caches, and central remote repositories. Even tools that compete with Maven frequently consume Maven repositories and Maven metadata.

Timeline

  • 2002: Apache Maven site copyright history begins.
  • 2010: Maven 3 line begins and later becomes the long-lived GA family.
  • 2023: Maven 4 alpha releases appear in the official release history.
  • 2024: Maven 4 beta and release-candidate series begins.
  • 2026: Maven 3.9.x remains a maintained GA release line while Maven 4 release candidates continue.

Related projects

  • Maven Central, Maven Resolver, Maven plugins, Maven Wrapper, Maven Daemon, Gradle, Apache Ant, Apache Ivy

security posture

Risk level: yellow

build system capable of executing project logic.

Risk classifier

yellow risk · high confidence · runtime

Why

  • build system capable of executing project logic

Signals

  • override:maven

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.m2/settings.xml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.m2/settings.xml

executables

Installed executables

CommandKindExposureNote
mvncliglobal executable
mvnDebugcliglobal executable
mvnyjpcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.9.16
manager updated2026-05-17
local dataok
upstreamnot checked
latest detectednot detected

https://maven.apache.org/

install metadata

Package metadata

Package keybrew:maven
Version3.9.16
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/maven
Homepagehttps://maven.apache.org/
Repositoryhttps://gitbox.apache.org/repos/asf/maven.git
Upstream docshttps://maven.apache.org/guides
LicenseApache-2.0
Source archivehttps://www.apache.org/dyn/closer.lua?path=maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz
Last updated2026-05-17T19:11:46Z
Pulseupdated
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemaven
Aliases
  • mvn
Version Scheme0
Revision0
Conflicts With
  • mvnvm
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libmaven3-core-java 3.9.9-1

Core libraries for Maven 3

http://maven.apache.org

sudo apt install libmaven3-core-java
  • Section: java
  • Architecture: all
  • Source Package: maven
  • 18 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Maven
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmaven3-core-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

maven 3.9.9-1

Java software project management and comprehension tool

http://maven.apache.org

sudo apt install maven
  • Section: java
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: Maven
Debian stable package indexes · deb.debian.org · Debian stable package indexes: maven from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

maven

nix profile install nixpkgs#maven
  • normalized package name match
  • Matched by: Maven
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/maven/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmaven3-core-java 3.8.7-2

Core libraries for Maven 3

http://maven.apache.org

sudo apt install libmaven3-core-java
  • Section: universe/java
  • Architecture: all
  • Source Package: maven
  • 18 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Maven
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmaven3-core-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

maven 3.8.7-2

Java software project management and comprehension tool

http://maven.apache.org

sudo apt install maven
  • Section: universe/java
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: Maven
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: maven from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

maven 3.9.16-r0

Java project management and project comprehension tool

https://maven.apache.org/

sudo apk add maven
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: maven
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Maven
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: maven from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

maven 3.9.11-13.fc45

Java project management and project comprehension tool

https://maven.apache.org/

sudo dnf install maven
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: maven
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Maven
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: maven from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

maven-lib 3.9.11-13.fc45

Core part of Maven

https://maven.apache.org/

sudo dnf install maven-lib
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: maven
  • 2 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Maven
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: maven-lib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

maven-openjdk25 3.9.11-13.fc45

maven binding for openjdk25

https://maven.apache.org/

sudo dnf install maven-openjdk25
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: maven
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Maven
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: maven-openjdk25 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

maven-unbound 3.9.11-13.fc45

maven binding for unbound

https://maven.apache.org/

sudo dnf install maven-unbound
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: maven
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Maven
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: maven-unbound from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

maven 3.9.16-1

Java project management and project comprehension tool

https://maven.apache.org

sudo pacman -S maven
  • License: Apache-2.0
  • Architecture: any
  • 3 dependencies
  • normalized package name match
  • Matched by: Maven
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: maven from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

maven 3.9.16-1.1

Java project management and project comprehension tool

https://maven.apache.org/

sudo zypper install maven
  • License: Apache-2.0 AND MIT
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: maven
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Maven
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: maven from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

maven-javadoc 3.9.16-1.1

API documentation for maven

https://maven.apache.org/

sudo zypper install maven-javadoc
  • License: Apache-2.0 AND MIT
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: maven
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Maven
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: maven-javadoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

maven-lib 3.9.16-1.1

Core part of Maven

https://maven.apache.org/

sudo zypper install maven-lib
  • License: Apache-2.0 AND MIT
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: maven
  • 32 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Maven
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: maven-lib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey95%

maven

choco install maven
  • normalized package name match
  • Matched by: Maven
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: maven from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'
Scoop95%

main/maven

scoop install main/maven
  • normalized package name match
  • Matched by: Maven
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/maven.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment