Github user xuchuanyin commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1762#discussion_r159814603
--- Diff: core/pom.xml ---
@@ -114,24 +114,22 @@
</resources>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
<executions>
<execution>
<phase>generate-resources</phase>
+ <!-- Execute the shell script to generate the CarbonData build
information. -->
<configuration>
- <!-- Execute the shell script to generate the CarbonData
build information. -->
- <target>
- <exec executable="bash">
- <arg
value="${project.basedir}/../build/carbondata-build-info"/>
- <arg value="${project.build.directory}/extra-resources"/>
- <arg value="${project.version}"/>
- </exec>
- </target>
+
<executable>${project.basedir}/../build/carbondata-build-info${script.exetension}</executable>
--- End diff --
In *nix & Windows environment, maven will execute different scripts, so we
need to rename the file.
---