Skip to content

Commit

Permalink
maven: include docs and srcs for jazzer-junit and jazzer-api
Browse files Browse the repository at this point in the history
  • Loading branch information
simonresch authored and zgtm committed Dec 20, 2024
1 parent 90bbaaf commit 51c63c5
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions deploy/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ java_export(
],
maven_coordinates = "com.code-intelligence:jazzer-api:$(JAZZER_VERSION)",
pom_template = "//deploy:jazzer-api.pom",
tags = ["no-sources"],
toolchains = [":jazzer_version"],
visibility = ["//visibility:public"],
runtime_deps = ["//src/main/java/com/code_intelligence/jazzer/api"],
Expand Down Expand Up @@ -73,9 +72,14 @@ alias(

java_export(
name = "jazzer-junit",
# Exclude the unshaded classes comprising com.code-intelligence:jazzer since the java_library
# target comprising jazzer-junit depend on the individual libraries, not the shaded jar.
deploy_env = ["//src/main/java/com/code_intelligence/jazzer:jazzer_lib"],
deploy_env = [
# Exclude the unshaded classes comprising com.code-intelligence:jazzer since the java_library
# target comprising jazzer-junit depend on the individual libraries, not the shaded jar.
"//src/main/java/com/code_intelligence/jazzer:jazzer_lib",
# Spring dependencies are required for javadoc but should be excluded from the jar.
"@maven//:org_springframework_spring_test",
"@maven//:org_springframework_spring_web",
],
doc_deps = [
":jazzer-api-docs",
":jazzer-docs",
Expand All @@ -89,12 +93,6 @@ java_export(
],
maven_coordinates = "com.code-intelligence:jazzer-junit:$(JAZZER_VERSION)",
pom_template = "jazzer-junit.pom",
tags = [
"no-sources",
# Generating javadocs breaks the build due to weird dependency issues.
# Deactivate it for now.
"no-javadocs",
],
toolchains = [":jazzer_version"],
visibility = ["//visibility:public"],
runtime_deps = [
Expand Down

0 comments on commit 51c63c5

Please sign in to comment.