Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix maven deployment #918

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
21 changes: 21 additions & 0 deletions deploy/jazzer-api.pom
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,25 @@
<scm>
<url>https://github.com/CodeIntelligenceTesting/jazzer</url>
</scm>

<licenses>
<license>
<name>Apache-2.0</name>
</license>
</licenses>

<developers>
<developer>
<name>Fabian Meumertzheim</name>
</developer>
<developer>
<name>Norbert Schneider</name>
</developer>
<developer>
<name>Khaled Yakdan</name>
</developer>
<developer>
<name>Peter Samarin</name>
</developer>
</developers>
</project>
21 changes: 21 additions & 0 deletions deploy/jazzer-junit.pom
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,25 @@
<scm>
<url>https://github.com/CodeIntelligenceTesting/jazzer</url>
</scm>

<licenses>
<license>
<name>Apache-2.0</name>
</license>
</licenses>

<developers>
<developer>
<name>Fabian Meumertzheim</name>
</developer>
<developer>
<name>Norbert Schneider</name>
</developer>
<developer>
<name>Khaled Yakdan</name>
</developer>
<developer>
<name>Peter Samarin</name>
</developer>
</developers>
</project>
21 changes: 21 additions & 0 deletions deploy/jazzer.pom
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,25 @@
<scm>
<url>https://github.com/CodeIntelligenceTesting/jazzer</url>
</scm>

<licenses>
<license>
<name>Apache-2.0</name>
</license>
</licenses>

<developers>
<developer>
<name>Fabian Meumertzheim</name>
</developer>
<developer>
<name>Norbert Schneider</name>
</developer>
<developer>
<name>Khaled Yakdan</name>
</developer>
<developer>
<name>Peter Samarin</name>
</developer>
</developers>
</project>