From ec5d66a3944a423eb33b70eed862f920c5b8880c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Tue, 12 Sep 2023 08:01:40 +0200 Subject: [PATCH] downgrade plexus-xml from 4 to 3: keep Maven 3 compatibility --- README.md | 2 +- pom.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8c78740..8877b7ef 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,4 @@ mvn -Preporting verify site site:stage scm-publish:publish-scm Starting with version 4, XML classes (in `org.codehaus.plexus.util.xml` and `org.codehaus.plexus.util.xml.pull`) have been extracted to a separate [`plexus-xml`](https://github.com/codehaus-plexus/plexus-xml/) library: if you need them, just use this new artifact. -`plexus-utils` 4 keeps an optional dependency on `plexus-xml` to keep compatibility with the few XML-oriented methods of `ReaderFactory` and `WriterFactory`: these classes are deprecated, you should migrate as explained in javadoc. +`plexus-utils` 4 keeps an optional dependency on `plexus-xml` 3 to keep compatibility with the few XML-oriented methods of `ReaderFactory` and `WriterFactory`: these classes are deprecated, you should migrate as explained in javadoc. And keep `plexus-xml` to 3 if you want Maven 3 compatibility, as `plexus-xml` 4 works only in Maven 4. diff --git a/pom.xml b/pom.xml index 08f8d4cc..bd8ee8af 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,8 @@ limitations under the License. org.codehaus.plexus plexus-xml - 4.0.2 + 3.0.0 + true