I am trying to build spark from source following https://spark.apache.org/docs/latest/building-spark.html. I have completed following steps
- Installed JDK 18
- Installed Maven 3.6
- Installed Scala 2.13
- Set JAVA_HOME
- Set Maven path
- Verified that maven, java and scala are installed
- cloned the spark repo
Problem:
When I execute following command
./build/mvn -DskipTests clean package
to build spark from source after installing maven I get following error
I have tried uninstalling maven and tried building with maven inside C:/Spark/spark/build. That doesn't recognizes 'mvn' It simply says 'mvn' is not recognized as an internal or external command'
Please suggest what I might be doing wrong here and how can I build spark from source on Windows 11.
Thanks RA

