Bringing back maven build (#3130)
* Revert "[build] remove Maven POM files (#3009)"
This reverts commit
e089b51ab5e1cf5f061c81463d27f33a21198271.
* rxjava: add maven dependency
(cherry picked from commit
ac73541ce79953141a08c60642cd39c7984ade1e)
* Bring guava to the same version as gradle
* ignore deprecation warnings in tests
* mockito-inline, as in gradle + suppress warnings
* suppressed warning
* Exclude site3/ from RAT check
* CI to use (mostly) maven
* OWASP check with maven
* Up'd versions to match gradle, corrected license files: looks like gradle build didn't force versions consistently
* Removed current-version-image to match https://github.com/apache/bookkeeper/pull/3027
* Shading patetrn to match gradle
* Fixed/suppressed CVEs
* Attempt to fix failing tests in CompactionByEntriesWithMetadataCacheTest
Co-authored-by: lushiji <lushiji@didiglobal.com>