Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1493

maven protobuf plugin not work properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.11.0
    • 1.12.0
    • parquet-mr
    • None

    Description

      I checked out master branch and executed "mvn clean install -DskipTests", it failed to build with following error:

      [ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.6.0.1:run (generate-sources) on project parquet-protobuf: Error extracting protoc for version 3.5.1: Unsupported platform: protoc-3.5.1-linux-x86_64.exe -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :parquet-protobuf

      After I updated the plugin version as same as protobuf version, it pass the build.

      --- a/parquet-protobuf/pom.xml
      +++ b/parquet-protobuf/pom.xml
      @@ -159,7 +159,7 @@
             <plugin>
               <groupId>com.github.os72</groupId>
               <artifactId>protoc-jar-maven-plugin</artifactId>
      -        <version>3.6.0.1</version>
      +        <version>3.5.1</version>
               <executions>
                 <execution>
                   <id>generate-sources</id>
      

      Do we need to set this version to ${protobuf.version}?

      Attachments

        Activity

          People

            gszadovszky Gabor Szadovszky
            junjie Junjie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: