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

andytaylor pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git

commit 431b64539c4c2937c9a085c8722d1e652c808656
Author: Grzegorz Grzybek <[email protected]>
AuthorDate: Wed Jul 30 16:11:15 2025 +0200

    [build] Use corepack with frontend-maven-plugin and newer (a bit) node.js 
version to fix the build
---
 artemis-console-extension/pom.xml | 14 +++++++-------
 pom.xml                           |  5 +++--
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/artemis-console-extension/pom.xml 
b/artemis-console-extension/pom.xml
index 820989c..151e777 100644
--- a/artemis-console-extension/pom.xml
+++ b/artemis-console-extension/pom.xml
@@ -51,31 +51,31 @@
                 </configuration>
                 <executions>
                     <execution>
-                        <id>install node and yarn</id>
+                        <id>install node and corepack</id>
                         <goals>
-                            <goal>install-node-and-yarn</goal>
+                            <goal>install-node-and-corepack</goal>
                         </goals>
                         <configuration>
                             <nodeVersion>${node-version}</nodeVersion>
-                            <yarnVersion>${yarn-version}</yarnVersion>
+                            
<corepackVersion>${corepack-version}</corepackVersion>
                         </configuration>
                     </execution>
                     <execution>
                         <id>yarn install</id>
                         <goals>
-                            <goal>yarn</goal>
+                            <goal>corepack</goal>
                         </goals>
                         <configuration>
-                            <arguments>install</arguments>
+                            <arguments>yarn install</arguments>
                         </configuration>
                     </execution>
                     <execution>
                         <id>yarn build</id>
                         <goals>
-                            <goal>yarn</goal>
+                            <goal>corepack</goal>
                         </goals>
                         <configuration>
-                            <arguments>build</arguments>
+                            <arguments>yarn build</arguments>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/pom.xml b/pom.xml
index ecc1bcd..ff8ad05 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,8 +49,9 @@
         <slf4j.version>2.0.17</slf4j.version>
         <log4j.version>2.24.3</log4j.version>
         <jetty-version>11.0.24</jetty-version>
-        <node-version>v22.11.0</node-version>
-        <yarn-version>v1.22.22</yarn-version>
+        <corepack-version>0.34.0</corepack-version>
+        <node-version>v22.17.1</node-version>
+        <yarn-version>v4.9.2</yarn-version>
         <frontend-maven-plugin-version>1.15.1</frontend-maven-plugin-version>
         
<project.build.outputTimestamp>2025-06-25T05:17:39Z</project.build.outputTimestamp>
     </properties>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to