From 742ddf1155af35c9e29013c2d2ece350322a579e Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Fri, 15 Mar 2024 19:31:38 -0700 Subject: [PATCH] fix(java): fixup test codegen for maven build (#16176) ## Summary Fixes and closes protocolbuffers/protobuf#16170 by adding missing test-gen mappings and exclusions. Recent [changes](https://github.com/protocolbuffers/protobuf/pull/15362) to Protocol Buffers, along with the addition of the _Editions_ feature, have evolved ahead of Maven; running the build on `main` shows build errors related to the testsuite. ## Changelog - fix: missing test-gen mappings - fix: missing test exclusions Closes #16176 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16176 from sgammon:fix/issue-16170 2be118cf9ac01fb47a843ebec6734ee689e13439 PiperOrigin-RevId: 616310039 --- java/core/generate-test-sources-build.xml | 3 +++ java/lite/pom.xml | 1 + java/util/pom.xml | 1 + 3 files changed, 5 insertions(+) diff --git a/java/core/generate-test-sources-build.xml b/java/core/generate-test-sources-build.xml index a818213300..66e8415614 100644 --- a/java/core/generate-test-sources-build.xml +++ b/java/core/generate-test-sources-build.xml @@ -6,6 +6,7 @@ + @@ -18,8 +19,10 @@ + + diff --git a/java/lite/pom.xml b/java/lite/pom.xml index 85e6a88a6f..b761fbe5b9 100644 --- a/java/lite/pom.xml +++ b/java/lite/pom.xml @@ -214,6 +214,7 @@ GeneratedMessageTest.java LazyFieldTest.java LazyStringEndToEndTest.java + LazilyParsedMessageSetTest.java MapForProto2Test.java MapTest.java MessageTest.java diff --git a/java/util/pom.xml b/java/util/pom.xml index 0ce7107663..818081d24b 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -88,6 +88,7 @@ +