xref: /aosp_15_r20/external/jazzer-api/maven.bzl (revision 33edd6723662ea34453766bfdca85dbfdd5342b8)
1# Copyright 2021 Code Intelligence GmbH
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15load("@rules_jvm_external//:specs.bzl", "maven")
16
17JAZZER_VERSION = "0.17.1"
18JAZZER_COORDINATES = "com.code-intelligence:jazzer:%s" % JAZZER_VERSION
19JAZZER_API_COORDINATES = "com.code-intelligence:jazzer-api:%s" % JAZZER_VERSION
20JAZZER_JUNIT_COORDINATES = "com.code-intelligence:jazzer-junit:%s" % JAZZER_VERSION
21
22# **WARNING**: These Maven dependencies have known vulnerabilities and are only used to test that
23#              Jazzer finds these issues. DO NOT USE.
24MAVEN_ARTIFACTS = [
25    "com.alibaba:fastjson:1.2.75",
26    "com.beust:klaxon:5.5",
27    "com.fasterxml.jackson.core:jackson-core:2.12.1",
28    "com.fasterxml.jackson.core:jackson-databind:2.12.1",
29    "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.1",
30    "com.google.code.gson:gson:2.8.6",
31    "com.google.truth:truth:1.1.3",
32    "com.google.truth.extensions:truth-java8-extension:1.1.3",
33    "com.google.truth.extensions:truth-proto-extension:1.1.3",
34    "com.mikesamuel:json-sanitizer:1.2.1",
35    "com.unboundid:unboundid-ldapsdk:6.0.3",
36    "javax.el:javax.el-api:3.0.1-b06",
37    "javax.validation:validation-api:2.0.1.Final",
38    "javax.xml.bind:jaxb-api:2.3.1",
39    "junit:junit:4.12",
40    "org.apache.commons:commons-imaging:1.0-alpha2",
41    "org.glassfish:javax.el:3.0.1-b06",
42    "org.hibernate:hibernate-validator:5.2.4.Final",
43    "org.jacoco:org.jacoco.core:0.8.8",
44    "org.junit.jupiter:junit-jupiter-api:5.9.0",
45    "org.junit.jupiter:junit-jupiter-engine:5.9.0",
46    "org.junit.jupiter:junit-jupiter-params:5.9.0",
47    "org.junit.platform:junit-platform-commons:jar:1.9.0",
48    "org.junit.platform:junit-platform-launcher:jar:1.9.0",
49    "org.junit.platform:junit-platform-engine:jar:1.9.0",
50    "org.junit.platform:junit-platform-reporting:jar:1.9.0",
51    "org.junit.platform:junit-platform-testkit:jar:1.9.0",
52    "org.openjdk.jmh:jmh-core:1.34",
53    "org.openjdk.jmh:jmh-generator-annprocess:1.34",
54    "org.opentest4j:opentest4j:jar:1.2.0",
55    "org.assertj:assertj-core:jar:3.23.1",
56    "org.mockito:mockito-core:5.2.0",
57    "org.apache.xmlgraphics:batik-bridge:1.14",
58    "org.apache.xmlgraphics:batik-util:1.14",
59    "org.apache.xmlgraphics:batik-anim:1.14",
60    "org.apache.xmlgraphics:batik-transcoder:1.14",
61    "org.apache.xmlgraphics:batik-css:1.14",
62    maven.artifact("org.apache.logging.log4j", "log4j-api", "2.14.1", testonly = True),
63    maven.artifact("org.apache.logging.log4j", "log4j-core", "2.14.1", testonly = True),
64    maven.artifact("org.apache.commons", "commons-text", "1.9", testonly = True),
65    maven.artifact("com.h2database", "h2", "2.1.212", testonly = True),
66]
67