Do not relocate generated Model Classes Doing so with this pattern breaks the clients, as the shade plugin will rewrite the gRPC method name as well, which servers do not implement. All calls will then be broken.
Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/6ea8afd7 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/6ea8afd7 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/6ea8afd7 Branch: refs/heads/mr-runner Commit: 6ea8afd783db33e8ad6437be276d9d817f5a6261 Parents: 8247b53 Author: Thomas Groh <tg...@google.com> Authored: Thu Oct 26 15:00:12 2017 -0700 Committer: Thomas Groh <tg...@google.com> Committed: Wed Nov 1 13:57:26 2017 -0700 ---------------------------------------------------------------------- sdks/java/harness/pom.xml | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/6ea8afd7/sdks/java/harness/pom.xml ---------------------------------------------------------------------- diff --git a/sdks/java/harness/pom.xml b/sdks/java/harness/pom.xml index 6343b3e..e60c8a4 100644 --- a/sdks/java/harness/pom.xml +++ b/sdks/java/harness/pom.xml @@ -91,13 +91,6 @@ </shadedPattern> </relocation> <relocation> - <pattern>org.apache.beam.model</pattern> - <!--suppress MavenModelInspection --> - <shadedPattern> - org.apache.beam.fn.harness.private.org.apache.beam.model - </shadedPattern> - </relocation> - <relocation> <pattern>org.apache.beam.runners</pattern> <!--suppress MavenModelInspection --> <shadedPattern>