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