ops4j / org.ops4j.pax.exam2

Pax Exam is a testing framework for OSGi
https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/
Apache License 2.0
84 stars 100 forks source link

Stale maven-metadata.xml #1043

Closed ben-manes closed 1 year ago

ben-manes commented 3 years ago

On Maven Central, the published maven-metadata.xml lists up to version 4.13.1 and declares it as the latest. However, the repository contains 4.13.4, which the search ui lists as the latest. When using tools that scan for dependency upgrades, this causes incorrect suggestions due to the outdated metadata. Somehow your release process is no longer publishing updates.

The following dependencies exceed the version found at the milestone revision level:
 - org.ops4j.pax.exam:pax-exam-container-native [4.13.4 <- 4.13.1]
     http://team.ops4j.org/wiki/display/paxexam/
 - org.ops4j.pax.exam:pax-exam-junit4 [4.13.4 <- 4.13.1]
     http://team.ops4j.org/wiki/display/paxexam/
 - org.ops4j.pax.exam:pax-exam-link-mvn [4.13.4 <- 4.13.1]
     http://team.ops4j.org/wiki/display/paxexam/
 - org.ops4j.pax.url:pax-url-aether [2.6.7 <- 2.6.1]
     ${wiki.url}
oliverlietz commented 1 year ago

Could be related to Using MINSTALL/DEPLOY 3.0.0-M1+ does not write plugin information into maven-metadata.xml.

cstamas commented 1 year ago

This is Maven Central/Sonatype related, strangely versions missing are missing published date metadata as well: image

Created https://issues.sonatype.org/browse/OSSRH-94539

ben-manes commented 1 year ago

Confirmed! Thanks for the fix, it removes an ugly workaround.