You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/09/24 06:59:25 UTC

[iotdb] branch master updated: [IOTDB-1718] correct the position of "chmod + cmake" (#4007)

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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 07abef0  [IOTDB-1718] correct the position of "chmod + cmake" (#4007)
07abef0 is described below

commit 07abef07ed540437aeb1a7de576757a151e97c41
Author: Jamber <ja...@sina.com>
AuthorDate: Fri Sep 24 14:58:56 2021 +0800

    [IOTDB-1718] correct the position of "chmod + cmake" (#4007)
    
    Co-authored-by: haiyi.zb <ha...@alibaba-inc.com>
---
 compile-tools/thrift/pom.xml | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/compile-tools/thrift/pom.xml b/compile-tools/thrift/pom.xml
index 4d5c07f..8ef5af5 100644
--- a/compile-tools/thrift/pom.xml
+++ b/compile-tools/thrift/pom.xml
@@ -54,25 +54,6 @@
             <build>
                 <plugins>
                     <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <version>1.6.0</version>
-                        <executions>
-                            <execution>
-                                <id>make-cmake-executable</id>
-                                <phase>process-sources</phase>
-                                <goals>
-                                    <goal>exec</goal>
-                                </goals>
-                                <configuration>
-                                    <basedir>${cmake.root.dir}/bin</basedir>
-                                    <executable>${chmod.command}</executable>
-                                    <commandlineArgs>${chmod.command.para}</commandlineArgs>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
                         <groupId>com.googlecode.maven-download-plugin</groupId>
                         <artifactId>download-maven-plugin</artifactId>
                         <version>1.3.0</version>
@@ -106,6 +87,25 @@
                         </executions>
                     </plugin>
                     <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <version>1.6.0</version>
+                        <executions>
+                            <execution>
+                                <id>make-cmake-executable</id>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                    <goal>exec</goal>
+                                </goals>
+                                <configuration>
+                                    <basedir>${cmake.root.dir}/bin</basedir>
+                                    <executable>${chmod.command}</executable>
+                                    <commandlineArgs>${chmod.command.para}</commandlineArgs>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
                         <groupId>com.googlecode.cmake-maven-project</groupId>
                         <artifactId>cmake-maven-plugin</artifactId>
                         <version>3.7.2-b1</version>