Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a logo for mvnrepository artifact [duplicate]

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.

tags & icon for JUnit

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.

like image 556
danidemi Avatar asked Jun 05 '15 08:06

danidemi


1 Answers

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

like image 137
Aurasphere Avatar answered Nov 04 '22 01:11

Aurasphere