gnodet opened a new pull request, #13036: URL: https://github.com/apache/maven/pull/13036
Add noun-style accessors (record-accessor pattern) to core API interfaces for immutable value types, consistent with modern JDK conventions and existing Maven 4 API types (`XmlNode`, `PathType`, `Lifecycle.Phase`, etc.). For each method, the noun-style accessor is now the primary abstract method. The existing `getX()` method is kept as a default delegating to it, annotated `@Deprecated(since = "4.1.0", forRemoval = true)`. **Interfaces migrated:** `Artifact`, `ArtifactCoordinates`, `Dependency`, `DependencyCoordinates`, `DownloadedArtifact`, `Exclusion`, `Project`, `VersionConstraint`, `VersionRange`. 24 files changed, 821 insertions, 212 deletions. Fixes #13035 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
