We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14d2ad5 commit 32edadbCopy full SHA for 32edadb
src/maven_artifact/resolver.py
@@ -44,6 +44,12 @@ def resolve(self, artifact):
44
version = self._find_latest_version_available(artifact)
45
elif artifact.is_snapshot():
46
version = self._find_latest_snapshot_version(artifact)
47
+
48
+ resolved_artifact = artifact.with_version(version)
49
+ if resolved_artifact.is_snapshot():
50
+ # We need to re-resolve the snapshot version to get the actual version
51
+ resolved_version = self._find_latest_snapshot_version(resolved_artifact)
52
+ return resolved_artifact.with_resolved_version(resolved_version)
53
return artifact.with_resolved_version(version)
54
55
def uri_for_artifact(self, artifact):
0 commit comments