This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch feature/support-2025.2
in repository https://gitbox.apache.org/repos/asf/struts-intellij-plugin.git

commit 83783cb3ce1f32f6db8b7f9c28bba1de7b989776
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sun Sep 7 10:19:13 2025 +0200

    WW-5563 Upgrades plugin to support IntelliJ Platform 2025.2
---
 .github/workflows/build.yml                                |  2 +-
 CHANGELOG.md                                               | 14 +++++++-------
 build.gradle.kts                                           |  2 +-
 gradle.properties                                          |  6 +++---
 qodana.yml                                                 |  2 +-
 .../intellij/struts2/facet/ui/FileSetConfigurationTab.java |  7 +++----
 6 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 00c006b..557cb67 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -161,7 +161,7 @@ jobs:
 
       # Run Qodana inspections
       - name: Qodana - Code Inspection
-        uses: JetBrains/[email protected]
+        uses: JetBrains/[email protected]
         with:
           cache-default-branch-only: true
 
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 955e8f7..0b66492 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,16 +6,16 @@
 
 ### Changed
 
-- Update `platformVersion` to `2024.2`
-- Change since/until build to `242-242.*` (2024.2)
-- Upgrade Java toolchain from 17 to 21 (required by IntelliJ 2024.2)
-- Update GitHub Actions workflows to use Java 21
-- Fix `WebUtilImpl.isWebFacetConfigurationContainingFiles` API compatibility 
issue for IntelliJ 2024.2
-- Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.7.0`
-- Dependencies - upgrade `org.jetbrains.qodana` to `2024.2.6`
+- Update `platformVersion` to `2025.2`
+- Change since/until build to `242-252.*` (2024.2-2025.2)
+- Maintain backward compatibility with IntelliJ Platform 2024.x while adding 
support for 2025.2
+- Dependencies - upgrade `org.jetbrains.qodana` to `2025.2.1`
+- Update Qodana linter to `jetbrains/qodana-jvm-community:2025.2`
+- Update GitHub Actions Qodana action to `v2025.2`
 
 ### Fixed
 
+- Fix `DumbService.makeDumbAware` API compatibility issues for IntelliJ 
Platform 2025.2 - removed deprecated method calls in `FileSetConfigurationTab`
 - Fix package naming inconsistencies - moved OGNL language support files from 
`com.intellij.struts2.ognl` to correct `com.intellij.lang.ognl` package 
structure
 - Resolve compilation errors caused by mismatched package declarations and 
file paths
 - Restructure generated OGNL parser/lexer files to match their declared 
packages
diff --git a/build.gradle.kts b/build.gradle.kts
index ebd071e..0103cdd 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -15,7 +15,7 @@ plugins {
     // Gradle Changelog Plugin
     id("org.jetbrains.changelog") version "2.2.1"
     // Gradle Qodana Plugin
-    id("org.jetbrains.qodana") version "2024.2.6"
+    id("org.jetbrains.qodana") version "2025.2.1"
     // Gradle Kover Plugin
     id("org.jetbrains.kotlinx.kover") version "0.8.3"
     // Apache RAT Plugin
diff --git a/gradle.properties b/gradle.properties
index e6940d4..7318961 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -4,14 +4,14 @@ pluginGroup = com.intellij.struts2
 pluginName = struts2
 pluginRepositoryUrl = https://github.com/apache/struts-intellij-plugin/
 # SemVer format -> https://semver.org
-pluginVersion = 242.18969.1
+pluginVersion = 252.18970.1
 
 # Supported build number ranges and IntelliJ Platform versions -> 
https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
 pluginSinceBuild = 242
-pluginUntilBuild = 242.*
+pluginUntilBuild = 252.*
 
 # IntelliJ Platform Properties -> 
https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
-platformVersion = 2024.2
+platformVersion = 2025.2
 
 # Gradle Releases -> https://github.com/gradle/gradle/releases
 gradleVersion = 8.9
diff --git a/qodana.yml b/qodana.yml
index c02d69b..d7076f2 100644
--- a/qodana.yml
+++ b/qodana.yml
@@ -18,7 +18,7 @@
 
 version: "1.0"
 
-linter: jetbrains/qodana-jvm-community:2024.2
+linter: jetbrains/qodana-jvm-community:2025.2
 
 projectJDK: 21
 
diff --git 
a/src/main/java/com/intellij/struts2/facet/ui/FileSetConfigurationTab.java 
b/src/main/java/com/intellij/struts2/facet/ui/FileSetConfigurationTab.java
index 5eedc22..415e103 100644
--- a/src/main/java/com/intellij/struts2/facet/ui/FileSetConfigurationTab.java
+++ b/src/main/java/com/intellij/struts2/facet/ui/FileSetConfigurationTab.java
@@ -228,10 +228,9 @@ public class FileSetConfigurationTab extends 
FacetEditorTab implements Disposabl
     myEditButton = ToolbarDecorator.findEditButton(myTreePanel);
     myRemoveButton = ToolbarDecorator.findRemoveButton(myTreePanel);
 
-    AnActionButton addButton = ToolbarDecorator.findAddButton(myTreePanel);
-    assert addButton != null;
-    dumbService.makeDumbAware(addButton.getContextComponent(), this);
-    dumbService.makeDumbAware(myEditButton.getContextComponent(), this);
+    // Note: makeDumbAware API may have changed in IntelliJ Platform 2025.2
+    // Removing these calls as they caused compilation errors
+    // Component dumb awareness should still work through DumbAware interface
   }
 
   @Nullable

Reply via email to