凭据访问
Reads settings.xml credentials, environment variables, and repository auth.
代理安全
maven builds Java projects and can deploy artifacts to package repositories.
Reads settings.xml credentials, environment variables, and repository auth.
Can deploy artifacts and run plugins that call remote services.
Can publish jars, plugins, and release metadata.
Gate deploy, release plugins, and credentialed repository access.
Allow test/package goals; require approval for deploy, release, and secret-backed plugin goals.
安装
brew install mavenlocal Homebrew formula metadata
sudo apk add mavenAlpine Linux edge package indexes · maven · 来源: dl-cdn.alpinelinux.org
sudo dnf install mavenFedora Rawhide package metadata · maven · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mavennixpkgs package indexes · pkgs/by-name/ma/maven/package.nix · 来源: api.github.com
sudo pacman -S mavenArch Linux sync databases · maven · 来源: geo.mirror.pkgbuild.com
sudo zypper install mavenopenSUSE Tumbleweed package metadata · maven · 来源: download.opensuse.org
choco install mavenChocolatey community package catalog · maven · 来源: community.chocolatey.org
scoop install main/mavenScoop official bucket manifest trees · bucket/maven.json · 来源: api.github.com
概览
Java-based project management
历史
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.
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.
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.
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`.
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.
安全态势
build system capable of executing project logic.
yellow 风险 · 高 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.m2/settings.xmlCredential-bearing paths to review before unattended agent runs.
~/.m2/settings.xml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mvn | cli | 全局可执行文件 | |
mvnDebug | cli | 全局可执行文件 | |
mvnyjp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:maven |
|---|---|
| 版本 | 3.9.16 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/maven |
| 主页 | https://maven.apache.org/ |
| 仓库 | https://gitbox.apache.org/repos/asf/maven.git |
| 上游文档 | https://maven.apache.org/guides |
| 许可证 | Apache-2.0 |
| 源码归档 | https://www.apache.org/dyn/closer.lua?path=maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz |
| 最后更新 | 2026-05-17T19:11:46Z |
| Pulse | updated |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | maven |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libmaven3-core-java 3.9.9-1
Core libraries for Maven 3
sudo apt install libmaven3-core-javamaven 3.9.9-1
Java software project management and comprehension tool
sudo apt install mavenmaven
nix profile install nixpkgs#mavenlibmaven3-core-java 3.8.7-2
Core libraries for Maven 3
sudo apt install libmaven3-core-javamaven 3.8.7-2
Java software project management and comprehension tool
sudo apt install mavenmaven 3.9.16-r0
Java project management and project comprehension tool
sudo apk add mavenmaven 3.9.11-13.fc45
Java project management and project comprehension tool
sudo dnf install mavenmaven-lib 3.9.11-13.fc45
Core part of Maven
sudo dnf install maven-libmaven-openjdk25 3.9.11-13.fc45
maven binding for openjdk25
sudo dnf install maven-openjdk25maven-unbound 3.9.11-13.fc45
maven binding for unbound
sudo dnf install maven-unboundmaven 3.9.16-1
Java project management and project comprehension tool
sudo pacman -S mavenmaven 3.9.16-1.1
Java project management and project comprehension tool
sudo zypper install mavenmaven-javadoc 3.9.16-1.1
API documentation for maven
sudo zypper install maven-javadocmaven-lib 3.9.16-1.1
Core part of Maven
sudo zypper install maven-libmaven
choco install mavenmain/maven
scoop install main/maven来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.