Registry / build-tool / maven-settings

maven-settings

JSON →
library3.9.15javamavenunverified

Maven Settings model for reading and writing Maven configuration settings files.

<dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>3.9.15</version> </dependency>
INSTALL
IMPORT
SIG · MAVEN-SETTINGS
M
maven-settings
build-tooljavav3.9.15
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.

Settings
org.apache.maven.settings.Settings

Read Maven settings.xml file using SettingsXpp3Reader.

import org.apache.maven.settings.Settings; import org.apache.maven.settings.io.xpp3.SettingsXpp3Reader; import java.io.FileReader; public class Example { public static void main(String[] args) throws Exception { SettingsXpp3Reader reader = new SettingsXpp3Reader(); Settings settings = reader.read(new FileReader("settings.xml")); System.out.println("Local repository: " + settings.getLocalRepository()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.9.15latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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