slachiewicz opened a new pull request, #14061: URL: https://github.com/apache/maven/pull/14061
Clean up `@Deprecated` API members introduced/deprecated during the Maven 4.0 beta/RC cycle before 4.0 GA: - **`XmlNode` / `XmlNodeImpl`**: Remove `@Deprecated(since = "4.0.0", forRemoval = true)` methods (`getName()`, `getNamespaceUri()`, `getPrefix()`, `getValue()`, `getAttributes()`, `getAttribute()`, `getChildren()`, `getChild()`, `getInputLocation()`, `merge(...)`) and constants (`CHILDREN_COMBINATION_*`, `SELF_COMBINATION_*`, `ID_COMBINATION_*`, `KEYS_COMBINATION_*`, `DEFAULT_*`). - **`InputLocation`**: Make `@Deprecated(since = "4.0.0-rc-6")` constructors `private` and remove the unused copy constructor in `api/maven-api-model` and `src/mdo/java/InputLocation.java`; update Modello templates (`merger.vm`, `reader-stax.vm`) and remaining callers (`DefaultLifecycleRegistry`, `SettingsUtilsV4`, `DefaultDependencyManagementImporter`, `DefaultDependencyManagementImporterTest`) to use `InputLocation.of(...)`. ### Verification - `mvn clean test-compile -T1C` across all 38 modules in `maven-4.0.x`: passed. - `mvn test -pl :maven-impl,:maven-core -am -T1C`: passed (all 30 modules including `maven-core`: 741 tests, 0 failures, 0 errors). -- 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]
