This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-doap-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 0551698 Don't assume latest release is stable (#14) 0551698 is described below commit 0551698402c2e5b91b9f728b7c86f4b008eca8a9 Author: Brian Demers <brian.dem...@gmail.com> AuthorDate: Mon Dec 16 07:18:20 2024 -0500 Don't assume latest release is stable (#14) The last perform release may or not be the most recient version, instead it's the last version that was released, this release could also be an alpha or milestone release Fixes: MDOAP-66 --- src/main/java/org/apache/maven/plugin/doap/DoapMojo.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java b/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java index c44c810..c03f1b0 100644 --- a/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java +++ b/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java @@ -1333,11 +1333,7 @@ public class DoapMojo extends AbstractMojo { DoapUtil.writeStartElement(writer, doapOptions.getXmlnsPrefix(), "Version"); DoapUtil.writeStartElement(writer, doapOptions.getXmlnsPrefix(), "name"); - if (version.equals(metadata.getMetadata().getVersioning().getRelease())) { - writer.writeText("Latest stable release"); - } else { - writer.writeText(project.getName() + " - " + version); - } + writer.writeText(project.getName() + " - " + version); writer.endElement(); // name DoapUtil.writeElement(writer, doapOptions.getXmlnsPrefix(), "revision", version);