Maven
mise-server proxies Maven Central and other Maven repositories, caching JARs, POMs, and metadata.
Endpoints
GET /maven/{group}/{artifact}/{version}/{file} # artifact download
GET /maven/{group}/{artifact}/maven-metadata.xml # artifact metadataClient Configuration
Gradle
groovy
// build.gradle
repositories {
maven {
url "http://your-server:3000/maven/"
}
}Maven
xml
<!-- settings.xml -->
<mirrors>
<mirror>
<id>mise-server</id>
<mirrorOf>central</mirrorOf>
<url>http://your-server:3000/maven/</url>
</mirror>
</mirrors>Upstream Override
toml
[settings.piers.maven]
upstream = "https://repo1.maven.org/maven2"