New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISSUE #691: Move generated files into their own module #711
Conversation
Upcoming changes are using GRpc in conjunction with protobuf. GRpc generates code that created deprecation warnings when compiled with java 8, so this change moves all generated code out to another module, so that we don't have to turn off -Werror for all code. In any case, at some point we should split the bookkeeper client out from the server module, at which point we would need the definitions on a common place.
<artifactId>protobuf-java</artifactId> | ||
<version>${protobuf.version}</version> | ||
<scope>compile</scope> | ||
<groupId>org.apache.bookkeeper</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about project.parent.grouiId?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use it for common. We should be consistent IMO.
bookkeeper-proto/pom.xml
Outdated
<name>Apache BookKeeper :: Wire Protocols</name> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.libdir>${basedir}/lib</project.libdir> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will remove.
FAILURE --none-- |
bookkeeper-proto/pom.xml
Outdated
<version>4.6.0-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>bookkeeper-proto</artifactId> | ||
<name>Apache BookKeeper :: Wire Protocols</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not just wire protocols. it also contain metadata protobuf definitions. we need to change it to "Protocols".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM
@eolivelli Addressed comments in latest push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 lgtm
FAILURE --none-- |
Upcoming changes are using GRpc in conjunction with protobuf. GRpc generates code that created deprecation warnings when compiled with java 8, so this change moves all generated code out to another module, so that we don't have to turn off -Werror for all code. In any case, at some point we should split the bookkeeper client out from the server module, at which point we would need the definitions on a common place. Author: Ivan Kelly <ivank@apache.org> Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Jia Zhai <None>, Sijie Guo <sijie@apache.org> This closes apache#711 from ivankelly/proto-module, closes apache#691
Upcoming changes are using GRpc in conjunction with protobuf. GRpc generates code that created deprecation warnings when compiled with java 8, so this change moves all generated code out to another module, so that we don't have to turn off -Werror for all code. In any case, at some point we should split the bookkeeper client out from the server module, at which point we would need the definitions on a common place. Author: Ivan Kelly <ivank@apache.org> Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Jia Zhai <None>, Sijie Guo <sijie@apache.org> This closes apache#711 from ivankelly/proto-module, closes apache#691
Hopefully this will fix the findBugs issue on master in the right way. lvfangmin hanm Please validate. Author: Andor Molnar <andor@apache.org> Reviewers: Michael Han <hanm@apache.org>, Enrico Olivelli <eolivelli@gmail.com> Closes apache#711 from anmolnar/ZOOKEEPER-3177
Upcoming changes are using GRpc in conjunction with protobuf. GRpc
generates code that created deprecation warnings when compiled with
java 8, so this change moves all generated code out to another module,
so that we don't have to turn off -Werror for all code.
In any case, at some point we should split the bookkeeper client out
from the server module, at which point we would need the definitions
on a common place.