From 63e60d6e5ac1c7803b2e75d651ac889a952cbe7f Mon Sep 17 00:00:00 2001 From: Chinthaka Jayatilake <37581983+ChinthakaJ98@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:22:32 +0530 Subject: [PATCH 1/2] Update plugin versions --- workspaces/mi/mi-extension/src/util/templates.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspaces/mi/mi-extension/src/util/templates.ts b/workspaces/mi/mi-extension/src/util/templates.ts index e6230be87f7..f78808acc4d 100644 --- a/workspaces/mi/mi-extension/src/util/templates.ts +++ b/workspaces/mi/mi-extension/src/util/templates.ts @@ -28,7 +28,7 @@ export function escapeXml(text: string) { .replace(/"/g, '"'); }; -export const LATEST_CAR_PLUGIN_VERSION = "5.4.11"; +export const LATEST_CAR_PLUGIN_VERSION = "5.4.12"; export const rootPomXmlContent = (projectName: string, groupID: string, artifactID: string, projectUuid: string, version: string, miVersion: string, initialDependencies: string) => { const addDeploymentType = compareVersions(miVersion, RUNTIME_VERSION_450) >= 0; @@ -417,7 +417,7 @@ export const rootPomXmlContent = (projectName: string, groupID: string, artifact org.wso2.maven synapse-unit-test-maven-plugin - 5.2.109 + 5.4.12 synapse-unit-test From 3af04e1d944e34903f72e2d7f24c69508b2598ad Mon Sep 17 00:00:00 2001 From: Chinthaka Jayatilake <37581983+ChinthakaJ98@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:23:08 +0530 Subject: [PATCH 2/2] Fix car-plugin auto update feature --- workspaces/mi/mi-extension/src/util/onboardingUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/mi/mi-extension/src/util/onboardingUtils.ts b/workspaces/mi/mi-extension/src/util/onboardingUtils.ts index 53d6908c574..0ab29e8fb57 100644 --- a/workspaces/mi/mi-extension/src/util/onboardingUtils.ts +++ b/workspaces/mi/mi-extension/src/util/onboardingUtils.ts @@ -1488,7 +1488,7 @@ export async function updateCarPluginVersion(projectUri: string): Promise if (!carPluginVersion || carPluginVersion === LATEST_CAR_PLUGIN_VERSION) { return; } - if(carPluginVersion < LATEST_CAR_PLUGIN_VERSION) { + if(compareVersions(carPluginVersion, LATEST_CAR_PLUGIN_VERSION) < 0) { await updateRuntimeVersionsInPom(result.project.properties['project.runtime.version']); } }