• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

softwaremill/maven-badges: A node.js implementation of https://github.com/jirutk ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

softwaremill/maven-badges

开源软件地址(OpenSource Url):

https://github.com/softwaremill/maven-badges

开源编程语言(OpenSource Language):

TypeScript 100.0%

开源软件介绍(OpenSource Introduction):

Badges for Maven projects

CI

A node.js implementation of maven-badges, originally created in Ruby. We've migrated this project to node.js for maintainability reasons.

Description

Badges! These tiny pictures with label and some numbers, you see them in many GitHub readmes. We all love them, yeah? Travis, Coveralls, Code Climate, Gemnasium, Gem, PyPi, npm… However, most of them are not usable for Java/Groovy guys and that’s quite sad, isn’t it?

Usage

https://maven-badges.herokuapp.com/maven-central/{group_id}/{artifact_id}/badge.(svg|png)?style={style}

where style can be one of:

  • plastic
  • flat
  • flat-square
  • for-the-badge
  • social

check Styles section at shields.io.

No semver versions

You can try to use gav=true parameter to bypass semver problem - when some artifacts are following semver pattern, and some don't, in such case try to use gav:

https://maven-badges.herokuapp.com/maven-central/{group_id}/{artifact_id}/badge.(svg|png)?style={style}&gav=true

Hardcode version

You can also specify exact version to show on badge, just use ?version=x.x.x as follow:

https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser/badge.svg?version=2.0.0

Examples

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser/badge.svg)](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser)

Maven Central

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser)

Maven Central

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser/badge.svg=version=2.0.0)](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser)

Maven Central

Development

You will need a running redis instance - use docker: docker run -p 6379:6379 --name maven-badge-redis -d redis

Start the TypeScript compiler in watch mode: npm run tsc:watch

Start the application: npm run serve

To run the tests suite, simply run npm test

License

This project is licensed under Apache 2.0 license.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap