Skip to content

Commit

Permalink
[MRESOLVER-411] Update to Maven 4.0.0-alpha-8 (#350)
Browse files Browse the repository at this point in the history
And get rid of last TODO. Note: this issue is refurbished from "Update to Maven 4.0.0-alpha-7".

---

https://issues.apache.org/jira/browse/MRESOLVER-411
  • Loading branch information
cstamas authored Oct 25, 2023
1 parent 12b1c2c commit 76137bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,13 +457,9 @@ protected VersionScheme getVersionScheme() {
protected Map<String, MetadataGeneratorFactory> getMetadataGeneratorFactories() {
// from maven-resolver-provider
HashMap<String, MetadataGeneratorFactory> 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;
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<guiceVersion>6.0.0</guiceVersion>
<slf4jVersion>1.7.36</slf4jVersion>
<!-- used by supplier and demo only -->
<mavenVersion>4.0.0-alpha-7</mavenVersion>
<mavenVersion>4.0.0-alpha-8</mavenVersion>
<minimalMavenBuildVersion>[3.8.8,)</minimalMavenBuildVersion>
<minimalJavaBuildVersion>[11.0.16,)</minimalJavaBuildVersion>
<project.build.outputTimestamp>2023-10-10T21:40:45Z</project.build.outputTimestamp>
Expand Down

0 comments on commit 76137bb

Please sign in to comment.