Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1718

compile-tools/thrift/pom.xml, make-cmake-executable use wrong phase

    XMLWordPrintableJSON

Details

    Description

      compile-tools/thrift/pom.xml:62

      ==============================
      <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> //here, this phase is too late, becasue "cmake-generate" begin to run cmake file in <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>
      ======================================

       "chmod +x cmake" should be run before running cmake.

       

       

      Attachments

        Issue Links

          Activity

            People

              jamber001 Bo Zhang
              jamber001 Bo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: