Skip to content

Commit cb629f0

Browse files
committed
Update maven central badge
The badge default links to the old artifact 20041127.091804. The badge can be fixed using ?gav=true parameter. Use explicit link to the artifact in maven as the redirect does not support the gav=true parameter for semantic versioning, i.e. this does not work: https://maven-badges.herokuapp.com/maven-central/commons-codec/commons-codec?gav=true
1 parent b8090b3 commit cb629f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
|**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
2121
|**** DO NOT EDIT DIRECTLY ****|
2222
|**** ****|
23+
|**** Note: This file has been manually edited to fix the badges ****|
24+
|**** for Coverage and Maven Central. Please verify if updated. ****|
25+
|**** ****|
2326
+======================================================================+
2427
| TEMPLATE FILE: readme-md-template.md |
2528
| commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
@@ -45,7 +48,7 @@ Apache Commons Codec
4548

4649
[![Build Status](https://travis-ci.org/apache/commons-codec.svg)](https://travis-ci.org/apache/commons-codec)
4750
[![Coverage Status](https://coveralls.io/repos/apache/commons-codec/badge.svg?branch=master)](https://coveralls.io/github/apache/commons-codec?branch=master)
48-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/commons-codec/commons-codec/badge.svg)](https://maven-badges.herokuapp.com/maven-central/commons-codec/commons-codec/)
51+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/commons-codec/commons-codec/badge.svg?gav=true)](https://search.maven.org/artifact/commons-codec/commons-codec/1.14/jar)
4952
[![Javadocs](https://javadoc.io/badge/commons-codec/commons-codec/1.14.svg)](https://javadoc.io/doc/commons-codec/commons-codec/1.14)
5053

5154
The Apache Commons Codec package contains simple encoder and decoders for

0 commit comments

Comments
 (0)