creating a single target to rollup maven artifacts (#8776)

diff --git a/java/core/BUILD b/java/core/BUILD
index e1e14f6..6fa1084 100644
--- a/java/core/BUILD
+++ b/java/core/BUILD
@@ -142,6 +142,21 @@
     ],
 )
 
+filegroup(
+    name = "release",
+    visibility = ["//java:__pkg__"],
+    srcs = [
+        ":core-pom",
+        ":core-maven-source",
+        ":core-docs",
+        ":core-project",
+        ":lite-pom",
+        ":lite-maven-source",
+        ":lite-docs",
+        ":lite-project",
+    ]
+)
+
 proto_lang_toolchain(
     name = "toolchain",
     command_line = "--java_out=$(OUT)",