Skip to content

Commit

Permalink
Update maven central badge
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aherbert committed Aug 28, 2020
1 parent b8090b3 commit cb629f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
|**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
|**** DO NOT EDIT DIRECTLY ****|
|**** ****|
|**** Note: This file has been manually edited to fix the badges ****|
|**** for Coverage and Maven Central. Please verify if updated. ****|
|**** ****|
+======================================================================+
| TEMPLATE FILE: readme-md-template.md |
| commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
Expand All @@ -45,7 +48,7 @@ Apache Commons Codec

[![Build Status](https://travis-ci.org/apache/commons-codec.svg)](https://travis-ci.org/apache/commons-codec)
[![Coverage Status](https://coveralls.io/repos/apache/commons-codec/badge.svg?branch=master)](https://coveralls.io/github/apache/commons-codec?branch=master)
[![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/)
[![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)
[![Javadocs](https://javadoc.io/badge/commons-codec/commons-codec/1.14.svg)](https://javadoc.io/doc/commons-codec/commons-codec/1.14)

The Apache Commons Codec package contains simple encoder and decoders for
Expand Down

0 comments on commit cb629f0

Please sign in to comment.