MVN failure while building metadamapping manually

while running mvn clean install in the folder where i cloned the github repository

i got these errors

how to solve it ?

What is the output of this command? mvn -v

C:\Users\lenovo>mvn -v Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937) Maven home: C:\Program Files\apache-maven-3.9.9 Java version: 1.8.0_441, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-1.8\jre Default locale: en_US, platform encoding: Cp1252 OS name: “windows 11”, version: “10.0”, arch: “amd64”, family: “windows”

This is the output which i get after running command mvn -v

Can you change your Java platform encoding from Cp1252 to UTF-8?

You can use a link this this or any other: Windows: How to set Java Default Character Encoding to UTF-8 : Support

i did that and it solved error in module ap i but it got failed in owa it said something similar to npm incompatibility then i tried using Node.js v5.1.1 and npm v3.3.12 but it got failed telling error in installing npm v3.3.12 manually then it got installed after that i again tried installing v5.1.1 but still not getting installed

i got this error while installing nvm

i am getting confused what to do , it might be something obvious , in such case sorry for that.

should i try changing in json file ? if yes, which version should i change it with ?

What happens when you upgrade node to the latest?

This is the error which i got after installing latest version

Delete the whole metadatamapping module, clone it again, and then run mvn clean install afresh.

@dkayiwa Still getting the same error should i try changing the version in xml . If yes which version should i use ? previously while installing reference application i got npm failure issue but at that time which version is needed was specified so i changed the version in xml and it ran successfully?

i made changes in package.json in owd folder then the build was successful but got lots of warning.