diff --git a/maven-resolver-supplier/src/main/java/org/eclipse/aether/supplier/RepositorySystemSupplier.java b/maven-resolver-supplier/src/main/java/org/eclipse/aether/supplier/RepositorySystemSupplier.java index 2ab0cfcab..38f1eb6d6 100644 --- a/maven-resolver-supplier/src/main/java/org/eclipse/aether/supplier/RepositorySystemSupplier.java +++ b/maven-resolver-supplier/src/main/java/org/eclipse/aether/supplier/RepositorySystemSupplier.java @@ -457,13 +457,9 @@ protected VersionScheme getVersionScheme() { protected Map getMetadataGeneratorFactories() { // from maven-resolver-provider HashMap result = new HashMap<>(); - // result.put(PluginsMetadataGeneratorFactory.NAME, new PluginsMetadataGeneratorFactory()); - // result.put(VersionsMetadataGeneratorFactory.NAME, new VersionsMetadataGeneratorFactory()); - // result.put(SnapshotMetadataGeneratorFactory.NAME, new SnapshotMetadataGeneratorFactory()); - // TODO: Fix this once MNG-7874 done and released as Maven 4.0.0-alpha-8 - result.put("plugins", new PluginsMetadataGeneratorFactory()); - result.put("versions", new VersionsMetadataGeneratorFactory()); - result.put("snapshot", new SnapshotMetadataGeneratorFactory()); + result.put(PluginsMetadataGeneratorFactory.NAME, new PluginsMetadataGeneratorFactory()); + result.put(VersionsMetadataGeneratorFactory.NAME, new VersionsMetadataGeneratorFactory()); + result.put(SnapshotMetadataGeneratorFactory.NAME, new SnapshotMetadataGeneratorFactory()); return result; } diff --git a/pom.xml b/pom.xml index 66eca990c..a3391e553 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ 6.0.0 1.7.36 - 4.0.0-alpha-7 + 4.0.0-alpha-8 [3.8.8,) [11.0.16,) 2023-10-10T21:40:45Z