@@ -38,7 +38,6 @@ java_export(
3838 ],
3939 maven_coordinates = "com.code-intelligence:jazzer-api:$(JAZZER_VERSION)" ,
4040 pom_template = "//deploy:jazzer-api.pom" ,
41- tags = ["no-sources" ],
4241 toolchains = [":jazzer_version" ],
4342 visibility = ["//visibility:public" ],
4443 runtime_deps = ["//src/main/java/com/code_intelligence/jazzer/api" ],
@@ -73,9 +72,14 @@ alias(
7372
7473java_export (
7574 name = "jazzer-junit" ,
76- # Exclude the unshaded classes comprising com.code-intelligence:jazzer since the java_library
77- # target comprising jazzer-junit depend on the individual libraries, not the shaded jar.
78- deploy_env = ["//src/main/java/com/code_intelligence/jazzer:jazzer_lib" ],
75+ deploy_env = [
76+ # Exclude the unshaded classes comprising com.code-intelligence:jazzer since the java_library
77+ # target comprising jazzer-junit depend on the individual libraries, not the shaded jar.
78+ "//src/main/java/com/code_intelligence/jazzer:jazzer_lib" ,
79+ # Spring dependencies are required for javadoc but should be excluded from the jar.
80+ "@maven//:org_springframework_spring_test" ,
81+ "@maven//:org_springframework_spring_web" ,
82+ ],
7983 doc_deps = [
8084 ":jazzer-api-docs" ,
8185 ":jazzer-docs" ,
@@ -89,12 +93,6 @@ java_export(
8993 ],
9094 maven_coordinates = "com.code-intelligence:jazzer-junit:$(JAZZER_VERSION)" ,
9195 pom_template = "jazzer-junit.pom" ,
92- tags = [
93- "no-sources" ,
94- # Generating javadocs breaks the build due to weird dependency issues.
95- # Deactivate it for now.
96- "no-javadocs" ,
97- ],
9896 toolchains = [":jazzer_version" ],
9997 visibility = ["//visibility:public" ],
10098 runtime_deps = [
0 commit comments