Skip to content
Permalink
Browse files
Added License file to published Jars (#3827)
* Added disclaimers filegroup as jar resource

* Updated shade rules based on namespaces found in built jar
  • Loading branch information
nicknezis committed May 4, 2022
1 parent c12b3c6 commit 820679cfa014f820cc8f4a56e103b7e533f5c318
Showing 13 changed files with 31 additions and 2 deletions.
@@ -25,6 +25,7 @@ kafka_bolt_deps = [
java_library(
name = "heron-kafka-bolt-java",
srcs = glob(["org/apache/heron/bolts/kafka/**/*.java"]),
resources = ["//:disclaimers"],
javacopts = DOCLINT_HTML_AND_SYNTAX,
deps = kafka_bolt_deps,
)
@@ -25,6 +25,7 @@ kafka_spout_deps = [
java_library(
name = "heron-kafka-spout-java",
srcs = glob(["org/apache/heron/spouts/kafka/**/*.java"]),
resources = ["//:disclaimers"],
javacopts = DOCLINT_HTML_AND_SYNTAX,
deps = kafka_spout_deps,
)
@@ -50,6 +50,7 @@ java_library(
"org/apache/heron/streamlet/**/*.java",
]),
javacopts = DOCLINT_HTML_AND_SYNTAX,
resources = ["//:disclaimers"],
deps = api_deps_files + [
"//third_party/java:kryo-neverlink",
"@maven//:org_apache_commons_commons_lang3",
@@ -16,3 +16,6 @@
# under the License.

rule com.google.protobuf** org.apache.heron.shaded.@0
rule org.slf4j** org.apache.heron.shaded.@0
rule javax.xml.bind** org.apache.heron.shaded.@0
rule org.apache.commons** org.apache.heron.shaded.@0
@@ -17,4 +17,10 @@

rule com.google.protobuf** org.apache.heron.shaded.@0
rule org.yaml.snakeyaml** org.apache.heron.shaded.@0

rule org.slf4j** org.apache.heron.shaded.@0
rule org.codehaus** org.apache.heron.shaded.@0
rule org.checkerframework** org.apache.heron.shaded.@0
rule org.apache.commons** org.apache.heron.shaded.@0
rule javax** org.apache.heron.shaded.@0
rule com.google** org.apache.heron.shaded.@0
rule afu** org.apache.heron.shaded.@0
@@ -18,4 +18,5 @@
rule com.google.protobuf** org.apache.heron.shaded.@0
rule org.yaml.snakeyaml** org.apache.heron.shaded.@0
rule org.apache.commons** org.apache.heron.shaded.@0
rule org.slf4j** org.apache.heron.shaded.@0
rule org.slf4j** org.apache.heron.shaded.@0
rule javax** org.apache.heron.shaded.@0
@@ -34,6 +34,7 @@ java_library(
java_binary(
name = "simulator-unshaded",
srcs = glob(["org/apache/heron/simulator/**/*.java"]),
resources = ["//:disclaimers"],
deps = simulator_deps_files + [
"//third_party/java:kryo-neverlink",
"@maven//:org_apache_commons_commons_lang3",
@@ -16,3 +16,6 @@
# under the License.

rule com.google.protobuf** org.apache.heron.shaded.@0
rule org.apache.commons** org.apache.heron.shaded.@0
rule org.yaml.snakeyaml** org.apache.heron.shaded.@0
rule javax** org.apache.heron.shaded.@0
@@ -24,6 +24,7 @@ java_library(
"**/spi/metricsmgr/**/*.java",
]),
javacopts = DOCLINT_HTML_AND_SYNTAX,
resources = ["//:disclaimers"],
deps = [
"//heron/api/src/java:api-java-low-level",
"//heron/api/src/java:classification",
@@ -62,6 +62,7 @@ java_library(
java_binary(
name = "storm-compatibility-unshaded",
srcs = glob(["**/*.java"]),
resources = ["//:disclaimers"],
deps = storm_deps_files + [
"//eco/src/java:eco-java",
],
@@ -18,3 +18,8 @@
rule com.google.protobuf** org.apache.heron.shaded.@0
rule org.yaml.snakeyaml** org.apache.heron.shaded.@0
rule org.json.simple** org.apache.heron.shaded.@0
rule org.apache.commons** org.apache.heron.shaded.@0
rule ch.qos** org.apache.heron.shaded.@0
rule javax.xml** org.apache.heron.shaded.@0
rule org.slf4j** org.apache.heron.shaded.@0
rule org.apache.log4j** org.apache.heron.shaded.@0
@@ -64,6 +64,7 @@ java_library(
java_binary(
name = "storm-compatibility-unshaded",
srcs = glob(["**/*.java"]),
resources = ["//:disclaimers"],
deps = storm_deps_files + [
"//eco/src/java:eco-java",
],
@@ -19,3 +19,7 @@ rule com.google.protobuf** org.apache.heron.shaded.@0
rule org.yaml.snakeyaml** org.apache.heron.shaded.@0
rule org.json.simple** org.apache.heron.shaded.@0
rule org.apache.commons** org.apache.heron.shaded.@0
rule ch.qos** org.apache.heron.shaded.@0
rule javax.xml** org.apache.heron.shaded.@0
rule org.slf4j** org.apache.heron.shaded.@0
rule org.apache.log4j** org.apache.heron.shaded.@0

0 comments on commit 820679c

Please sign in to comment.