Sam Gammon
742ddf1155
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 2be118cf9a
PiperOrigin-RevId: 616310039
9 months ago
Jiri Pechanec
c98bdc2bdc
Add missing generated file ( #15693 )
...
The proto file is required for Java test. Otherwise it fails with
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile (default-testCompile) on project protobuf-java: Compilation failure: Compilation failure:
[ERROR] /tmp/protocolbuffers-protobuf-3.25.2/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java:[46,25] cannot find symbol
[ERROR] symbol: class UnittestRetention
[ERROR] location: package protobuf_unittest
[ERROR] /tmp/protocolbuffers-protobuf-3.25.2/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java:[550,27] cannot find symbol
[ERROR] symbol: variable UnittestRetention
[ERROR] location: class com.google.protobuf.DescriptorsTest
[ERROR] /tmp/protocolbuffers-protobuf-3.25.2/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java:[551,37] cannot find symbol
[ERROR] symbol: variable UnittestRetention
[ERROR] location: class com.google.protobuf.DescriptorsTest
[ERROR] /tmp/protocolbuffers-protobuf-3.25.2/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java:[552,37] cannot find symbol
[ERROR] symbol: variable UnittestRetention
[ERROR] location: class com.google.protobuf.DescriptorsTest
[ERROR] /tmp/protocolbuffers-protobuf-3.25.2/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java:[553,37] cannot find symbol
[ERROR] symbol: variable UnittestRetention
[ERROR] location: class com.google.protobuf.DescriptorsTest
[ERROR] -> [Help 1]
```
Closes #15693
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15693 from jpechane:add-missing-file 9293fabf1f
PiperOrigin-RevId: 604518500
10 months ago
Joshua Haberman
dce403a8b3
Sync from Piper @427369078
...
PROTOBUF_SYNC_PIPER
3 years ago
Deanna Garcia
7dff52929f
Fixing tests
3 years ago
Elliotte Rusty Harold
a35c973b7f
remove unused test proto ( #9298 )
...
* remove unused test proto
3 years ago
Deanna Garcia
726241fca1
Changing structure to have kotlin submodules
4 years ago
Deanna Garcia
eef241890a
Adding most recent work
4 years ago
Deanna Garcia
be2f000c96
Adding most recent work
4 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Joshua Haberman
6ed738305b
Sync from Piper @311396324
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
01e8c0fa34
Cherry-pick the fix to #7480 from #7485 .
5 years ago
Hao Nguyen
ef1e8e7172
Add module for JavaLite and fix builds
6 years ago
Hao Nguyen
c163a2d1a4
Revert accidentally commit
6 years ago
Hao Nguyen
1eb049141e
Add module for JavaLite and fix builds
6 years ago
Hao Nguyen
d0f91c863a
Down integrate to Github ( #5839 )
...
* Down integrate to github
6 years ago
Adam Cozzette
ec57f511c1
Added map_lite_test.proto to fix LiteTest
7 years ago
Jisi Liu
baae7ea12b
Add @Deprecated annotation support for proto file.
7 years ago
Jisi Liu
09354db143
Merge from Google internal for 3.4 release
7 years ago
nmittler
49efe9d7db
Restructuring protobuf to multiple modules
...
protobuf/java will become a parent pom that will contain two modules:
core - contains all of the code for the protobuf-java artifact
util - contains all of the code for the protobuf-java-util artifact
Also cleaned up various Maven warnings.
9 years ago