Registry / build-tool / maven-core

maven-core

JSON →
library3.9.16javamavenunverified

Maven Core provides the foundational classes and APIs for the Maven build system, including project model and lifecycle management.

<dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.9.16</version> </dependency>
INSTALL
IMPORT
SIG · MAVEN-CORE
M
maven-core
build-tooljavav3.9.16
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MavenProject
org.apache.maven.project.MavenProject

Accesses Maven project metadata from a MavenProject instance.

import org.apache.maven.project.MavenProject; import org.apache.maven.execution.MavenSession; public class Quickstart { public void example(MavenProject project) { System.out.println("Project ID: " + project.getId()); System.out.println("Version: " + project.getVersion()); } }
Debug
Known issues
breakingMaven Core API is not stable across major versions; internal classes may change without notice.
fix
Use Maven's public API and avoid relying on internal implementation classes.
affects: >=3.0.0
Upgrade
Version history
3.9.16latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
maven-core — mvn dependency:get maven-core · libregistry