From cb629f03516e21ba7daeb4dd9a7b5fe3c76fc841 Mon Sep 17 00:00:00 2001 From: Alex Herbert Date: Fri, 28 Aug 2020 09:21:55 +0100 Subject: [PATCH] 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 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e72d22b777..273299a52b 100644 --- a/README.md +++ b/README.md @@ -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 | @@ -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