fix(maven): Pass request path to Maven checksum handler so checksum files are resolved correctly

This commit is contained in:
2025-11-21 09:17:35 +00:00
parent 80005af576
commit 42209d235d
4 changed files with 17 additions and 2 deletions

View File

@@ -30,6 +30,14 @@ tap.test('Maven: should create registry instance', async () => {
expect(registry).toBeInstanceOf(SmartRegistry);
expect(mavenToken).toBeTypeOf('string');
// Clean up any existing metadata from previous test runs
const storage = registry.getStorage();
try {
await storage.deleteMavenMetadata(testGroupId, testArtifactId);
} catch (error) {
// Ignore error if metadata doesn't exist
}
});
tap.test('Maven: should upload POM file (PUT /{groupPath}/{artifactId}/{version}/*.pom)', async () => {