[ https://issues.apache.org/jira/browse/SPARK-37030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shockang updated SPARK-37030: ----------------------------- Attachment: image-2021-10-17-22-18-16-616.png > Maven build failed in windows! > ------------------------------ > > Key: SPARK-37030 > URL: https://issues.apache.org/jira/browse/SPARK-37030 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 3.2.0 > Environment: OS: Windows 10 Professional > OS Version: 21H1 > Maven Version: 3.6.3 > > Reporter: Shockang > Priority: Minor > Fix For: 3.2.0 > > Attachments: image-2021-10-17-22-18-16-616.png > > > I pulled the latest Spark master code on my local windows 10 computer and > executed the following command: > {code:java} > mvn -DskipTests clean install{code} > Build failed! > !image-2021-10-17-21-55-33-844.png! > {code:java} > Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run > (default) on project spark-core_2.12: An Ant BuildException has occured: > Execute failed: java.io.IOException: Cannot run program "bash" (in directory > "C:\bigdata\spark\core"): CreateProcess error=2{code} > It seems that the plugin: maven-antrun-plugin cannot run because of windows > no bash. > The following code comes from pom.xml in spark-core module. > {code:java} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <executions> > <execution> > <phase>generate-resources</phase> > <configuration> > <!-- Execute the shell script to generate the spark build > information. --> > <target> > <exec executable="bash"> > <arg value="${project.basedir}/../build/spark-build-info"/> > <arg value="${project.build.directory}/extra-resources"/> > <arg value="${project.version}"/> > </exec> > </target> > </configuration> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > </plugin> > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org