mvnrepository.com 上的图标和标签 [英] Icons and tags on mvnrepository.com
问题描述
似乎可以在
编辑
这对 Maven 1.x 来说是正确的.据我所知,Maven 2.x 从您的 SCM 中获取徽标.例如,这是我在 GitHub 上的一个项目,它也在 Maven 上,具有相同的徽标,而我没有在 POM 上放置任何东西:
Github:https://github.com/BotMill
Maven:http://mvnrepository.com/search?q=botmill&ref=打开搜索
It seems it is possible on mvnrepository.com to associate an icon and some tags to a project. Here, for instance, the page about JUnit, where the two elements are highlighted.
Do you know how to add this info to the project published in the repo ? Maybe something to the project pom.xml
file should be added ?
Thanks in advance.
You should be able to put a logo tag directly under the project and organization tag with the URL of your logo in your pom.xml file. For more info you can check the Maven doc here: http://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.2/maven.html
EDIT
This was true for Maven 1.x. As far as I know, Maven 2.x takes the logo from your SCM. For instance, this is one of my projects on GitHub which is also on Maven with the same logo without me putting anything on the POM:
Github: https://github.com/BotMill
Maven: http://mvnrepository.com/search?q=botmill&ref=opensearch
这篇关于mvnrepository.com 上的图标和标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!