简体   繁体   English

从Maven存储库下载所有pom文件

[英]Download all pom files from maven repository

I am looking for a way to download all pom files from the maven central repository. 我正在寻找一种从Maven中央存储库下载所有pom文件的方法。 I do not need the jars, just the pom files. 我不需要罐子,只需要pom文件。 Now I could scrape the website, but I am sure the guys at maven.org would not appreciate it. 现在我可以抓取该网站了,但是我敢肯定maven.org的家伙们将不胜感激。 Is there any other way? 还有其他办法吗?

Why do you need to scrape the whole web site? 为什么您需要抓取整个网站? Why dont you just use the maven dependency plugin to resolve just the dependencies related to your project? 为什么不只使用Maven依赖插件来解决与项目相关的依赖?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何让 Maven 只下载所有(传递)依赖项的 POM 文件? - How to make Maven download only the POM files for all (transitive) dependencies? 下载 Maven 存储库文件 - Download Maven Repository files 如何仅从pom.xml而不是从Maven本身将Maven依赖项下载到本地存储库中 - How to download Maven dependencies into a local repository, only from pom.xml, not from Maven itself 为什么 Maven 尝试从远程下载本地存储库中存在的父 pom? - Why Maven tries to download parent pom present in local repository from remotes? 如何直接从 Maven 存储库下载包含所有依赖项的 jar? - How to download a jar with all the dependencies directly from a maven repository? maven2 - 如何从pom文件列出所有资源存储库URL - maven2 - how to list all resources repository url from pom file 如何使用Maven pom将jar文件仅下载到特定目录? - How to use Maven pom to download jar files only to a specific directory? 如何强迫Maven忽略 <repository> 来自dependcy pom.xml - How to force Maven to ignore <repository> from dependcy pom.xml Maven:从存储库下载父 pom 会删除存储库标记 - Maven: Downloading a parent pom from the repository deletes repositories tag Maven使用pom.xml将Maven存储库从{user} /。m2 / repository更改为projectfolder - Maven changing the maven repository from {user}/.m2/repository to projectfolder using pom.xml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM