You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/01/04 09:02:00 UTC

[jira] [Updated] (PHOENIX-6282) Generate PB files inline with build and remove checked in files

     [ https://issues.apache.org/jira/browse/PHOENIX-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viraj Jasani updated PHOENIX-6282:
----------------------------------
    Release Note: We no longer have generated protobuf Java files available in source code. These files are expected to be generated inline with mvn build. We have also used an optimization with the plugin to ensure protoc is not invoked with mvn build if no .proto file is updated between two consecutive builds.

> Generate PB files inline with build and remove checked in files
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-6282
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6282
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 5.1.0, 4.16.0
>
>
> We can use a new PB maven plugin to generate PB files with build rather than checking in generated PB files (~2 MB as of now) in source code. The plugin also provides an optimization for protoc invocation. With checkStaleness property, protoc will not be invoked if no .proto file is changed. Only separate build will invoke protoc and generate PB files inline.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)