From 6352db614af56aabcd033c96a500b4344077819c Mon Sep 17 00:00:00 2001 From: Robert Czechowski Date: Fri, 20 Dec 2024 08:53:09 +0100 Subject: [PATCH 1/2] maven: Add license and developer information to maven medatada POM --- deploy/jazzer-api.pom | 21 +++++++++++++++++++++ deploy/jazzer-junit.pom | 21 +++++++++++++++++++++ deploy/jazzer.pom | 21 +++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/deploy/jazzer-api.pom b/deploy/jazzer-api.pom index 8c72e803c..71a0a4e4e 100644 --- a/deploy/jazzer-api.pom +++ b/deploy/jazzer-api.pom @@ -38,4 +38,25 @@ https://github.com/CodeIntelligenceTesting/jazzer + + + + Apache-2.0 + + + + + + Fabian Meumertzheim + + + Norbert Schneider + + + Khaled Yakdan + + + Peter Samarin + + diff --git a/deploy/jazzer-junit.pom b/deploy/jazzer-junit.pom index bf7f30eef..f22e78c88 100644 --- a/deploy/jazzer-junit.pom +++ b/deploy/jazzer-junit.pom @@ -37,4 +37,25 @@ https://github.com/CodeIntelligenceTesting/jazzer + + + + Apache-2.0 + + + + + + Fabian Meumertzheim + + + Norbert Schneider + + + Khaled Yakdan + + + Peter Samarin + + diff --git a/deploy/jazzer.pom b/deploy/jazzer.pom index 6f85485a8..d86a3c430 100644 --- a/deploy/jazzer.pom +++ b/deploy/jazzer.pom @@ -37,4 +37,25 @@ https://github.com/CodeIntelligenceTesting/jazzer + + + + Apache-2.0 + + + + + + Fabian Meumertzheim + + + Norbert Schneider + + + Khaled Yakdan + + + Peter Samarin + + From b0bb7322da58e6e31433e73fbd48f59214c27fa9 Mon Sep 17 00:00:00 2001 From: Simon Resch Date: Fri, 20 Dec 2024 10:52:19 +0100 Subject: [PATCH 2/2] maven: include docs and srcs for jazzer-junit and jazzer-api --- deploy/BUILD.bazel | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/deploy/BUILD.bazel b/deploy/BUILD.bazel index 99b9270fe..1567d999f 100644 --- a/deploy/BUILD.bazel +++ b/deploy/BUILD.bazel @@ -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"], @@ -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", @@ -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 = [