maven-repo-proxy
v1.0.3
Published
自定义 maven 代理仓库服务端,解决了部分仓库未开放索引 nexus 无法代理的问题。
Downloads
2
Readme
maven repo proxy
自定义 maven 代理仓库服务端,解决了部分仓库未开放索引 nexus 无法代理的问题。
使用方式
- 重命名
config.json.sample -> config.json
- 修改配置文件添加需要代理的仓库
- 添加maven仓库地址:
http://127.0.0.1:54334/node/content/groups/public/
npm run start
config.json 示例
{
"port": 54334,
"path": "/node/content/groups/public/",
"repositories": [
"http://maven.aliyun.com/nexus/content/repositories/releases/",
"http://maven.scijava.org/content/repositories/public/",
"http://mvn.gt.igexin.com/nexus/content/repositories/releases/",
"https://dl.bintray.com/drummer-aidan/maven/",
"https://dl.bintray.com/kotlin/kotlin-dev/",
"https://dl.bintray.com/umsdk/release/",
"https://dl.google.com/dl/android/maven2/",
"https://jcenter.bintray.com/",
"https://jitpack.io/",
"https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/",
"https://maven.aliyun.com/repository/public/",
"https://maven.atlassian.com/content/repositories/atlassian-public/",
"https://maven.google.com/",
"https://maven.ibiblio.org/maven2/",
"https://maven.wso2.org/nexus/content/repositories/public/",
"https://maven.wso2.org/nexus/content/repositories/releases/",
"https://maven.xwiki.org/releases/",
"https://nexus.bedatadriven.com/content/groups/public/",
"https://nexus.pentaho.org/content/groups/omni/",
"https://oss.sonatype.org/content/repositories/releases/",
"https://packages.atlassian.com/mvn/maven-atlassian-external/",
"https://repo.hortonworks.com/content/repositories/releases/",
"https://repo.maven.apache.org/maven2/",
"https://repo.spring.io/libs-milestone/",
"https://repo.spring.io/libs-release/",
"https://repo.spring.io/plugins-release/",
"https://repo1.maven.org/maven2/",
"https://repository.jboss.org/nexus/content/repositories/ea/",
"https://repository.jboss.org/nexus/content/repositories/releases/"
]
}