This plugin might be useful: protoc-jar-maven-plugin see https://github.com/apache/parquet-mr/blob/master/parquet-protobuf/pom.xml#L166
On Fri, Mar 27, 2020 at 1:48 PM lamber liu <[email protected]> wrote: > +1 > > > 2020年3月25日 下午10:20,Aloys Zhang <[email protected]> 写道: > > > > +1 > > > > Guangxu Cheng <[email protected]> 于2020年3月25日周三 下午7:54写道: > > > >> +1 for the idea. > >> > >> Users can compile the project directly without installing protoc which > may > >> be more convenient. > >> > >> ----- > >> Best Regards, > >> Guangxu > >> > >> > >> tison <[email protected]> 于2020年3月12日周四 上午10:26写道: > >> > >>> Hi devs, > >>> > >>> The background comes from a historical pull request[1]. In the pull > >> request > >>> I proposed replacing > >>> > >>> com.github.igor-petruk.protobuf:protobuf-maven-plugin > >>> > >>> with > >>> > >>> org.xolstice.maven.plugins:protobuf-maven-plugin > >>> > >>> so that our users as well as developers get rid of taking care of > system > >>> protoc location, but > >>> let the plugin auto-downloading and manage it. > >>> > >>> At that moment it seems we didn't reach a consensus so this time I'd > >> start > >>> a discussion first. > >>> > >>> Hadoop and many other projects have done the migration and it seems an > >>> unfriendly user > >>> experience if we keep current plugin that forces users to manager their > >>> protoc. > >>> > >>> Looking forward to your feedback! > >>> > >>> Best, > >>> tison. > >>> > >>> [1] https://github.com/Tencent/TubeMQ/pull/121 > >>> > >> > > > > > > -- > > Best, > > Aloys. > > -- Best Regards
