From f1c08e89bb797869bcb18483fa8f8b6660a812ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Aubin?= Date: Thu, 7 Mar 2024 12:07:16 +0100 Subject: [PATCH] =?UTF-8?q?XWIKI-21977=20:=C2=A0Module=20xwiki-platform-le?= =?UTF-8?q?gacy-oldcore=20does=20not=20expose=20the=20same=20extension=20f?= =?UTF-8?q?eatures=20as=20xwiki-platform-oldcore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Move oldcore extension features to a property of xwiki-platform-core * Re-use property in oldcore and legacy-oldcore modules --- xwiki-platform-core/pom.xml | 13 +++++++++++++ .../xwiki-platform-legacy-oldcore/pom.xml | 2 +- xwiki-platform-core/xwiki-platform-oldcore/pom.xml | 12 +----------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/xwiki-platform-core/pom.xml b/xwiki-platform-core/pom.xml index 79d678b51904..a541245c5272 100644 --- a/xwiki-platform-core/pom.xml +++ b/xwiki-platform-core/pom.xml @@ -33,6 +33,19 @@ false + + + + + com.xpn.xwiki.platform:xwiki-core, + + + org.xwiki.platform:xwiki-platform-filter-instance-oldcore, + + + org.xwiki.contrib:authservice-backport-api, + org.xwiki.contrib:authservice-backport-default + diff --git a/xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/pom.xml b/xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/pom.xml index e66ee3a2c832..a379cb67ddb9 100644 --- a/xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/pom.xml +++ b/xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/pom.xml @@ -35,7 +35,7 @@ org.xwiki.platform:xwiki-platform-oldcore, - com.xpn.xwiki.platform:xwiki-core + ${xwiki.platform.oldcore.extension.features} 0.00 diff --git a/xwiki-platform-core/xwiki-platform-oldcore/pom.xml b/xwiki-platform-core/xwiki-platform-oldcore/pom.xml index e552fa78d095..e290e2f7db1b 100644 --- a/xwiki-platform-core/xwiki-platform-oldcore/pom.xml +++ b/xwiki-platform-core/xwiki-platform-oldcore/pom.xml @@ -32,17 +32,7 @@ jar XWiki Platform - Old Core - - - com.xpn.xwiki.platform:xwiki-core, - - - org.xwiki.platform:xwiki-platform-filter-instance-oldcore, - - - org.xwiki.contrib:authservice-backport-api, - org.xwiki.contrib:authservice-backport-default - + ${xwiki.platform.oldcore.extension.features} true 0.38