Skip to content

Commit

Permalink
[build] remove variables from maven deps file
Browse files Browse the repository at this point in the history
allow script to do automatic updates
  • Loading branch information
titusfortner committed Dec 22, 2023
1 parent ab18234 commit bdc86aa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 41 deletions.
62 changes: 25 additions & 37 deletions java/maven_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,11 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")
load("@rules_jvm_external//:specs.bzl", "maven")

def selenium_java_deps():
netty_version = "4.1.100.Final"
opentelemetry_version = "1.28.0"
junit_jupiter_version = "5.10.0"
junit_platform_version = "1.10.0"

maven_install(
artifacts = [
"com.beust:jcommander:1.82",
"com.github.javaparser:javaparser-core:3.25.4",
maven.artifact(
group = "com.github.spotbugs",
artifact = "spotbugs",
version = "4.7.3",
exclusions = [
"org.slf4j:slf4j-api",
],
),
"com.github.spotbugs:spotbugs:4.7.3",
"com.github.stephenc.jcip:jcip-annotations:1.0-1",
"com.google.code.gson:gson:2.10.1",
"com.google.guava:guava:32.1.2-jre",
Expand All @@ -31,23 +19,23 @@ def selenium_java_deps():
"dev.failsafe:failsafe:3.3.2",
"io.grpc:grpc-context:1.57.1",
"io.lettuce:lettuce-core:6.2.5.RELEASE",
"io.netty:netty-buffer:%s" % netty_version,
"io.netty:netty-codec-http:%s" % netty_version,
"io.netty:netty-codec-http2:%s" % netty_version,
"io.netty:netty-common:%s" % netty_version,
"io.netty:netty-handler:%s" % netty_version,
"io.netty:netty-handler-proxy:%s" % netty_version,
"io.netty:netty-transport:%s" % netty_version,
"io.opentelemetry:opentelemetry-api:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-context:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-exporter-logging:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-semconv:%s" % opentelemetry_version + "-alpha",
"io.opentelemetry:opentelemetry-sdk:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-sdk-common:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-sdk-testing:%s" % opentelemetry_version,
"io.opentelemetry:opentelemetry-sdk-trace:%s" % opentelemetry_version,
"io.netty:netty-buffer:4.1.100.Final",
"io.netty:netty-codec-http:4.1.100.Final",
"io.netty:netty-codec-http2:4.1.100.Final",
"io.netty:netty-common:4.1.100.Final",
"io.netty:netty-handler:4.1.100.Final",
"io.netty:netty-handler-proxy:4.1.100.Final",
"io.netty:netty-transport:4.1.100.Final",
"io.opentelemetry:opentelemetry-api:1.28.0",
"io.opentelemetry:opentelemetry-context:1.28.0",
"io.opentelemetry:opentelemetry-exporter-logging:1.28.0",
"io.opentelemetry:opentelemetry-semconv:1.28.0-alpha",
"io.opentelemetry:opentelemetry-sdk:1.28.0",
"io.opentelemetry:opentelemetry-sdk-common:1.28.0",
"io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:1.28.0",
"io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi:1.28.0",
"io.opentelemetry:opentelemetry-sdk-testing:1.28.0",
"io.opentelemetry:opentelemetry-sdk-trace:1.28.0",
"io.ous:jtoml:2.0.0",
"it.ozimov:embedded-redis:0.7.3",
"net.bytebuddy:byte-buddy:1.14.5",
Expand All @@ -58,13 +46,13 @@ def selenium_java_deps():
"org.bouncycastle:bcpkix-jdk18on:1.76",
"org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5",
"org.hsqldb:hsqldb:2.7.2",
"org.junit.jupiter:junit-jupiter-api:%s" % junit_jupiter_version,
"org.junit.jupiter:junit-jupiter-engine:%s" % junit_jupiter_version,
"org.junit.jupiter:junit-jupiter-params:%s" % junit_jupiter_version,
"org.junit.platform:junit-platform-launcher:%s" % junit_platform_version,
"org.junit.platform:junit-platform-reporting:%s" % junit_platform_version,
"org.junit.platform:junit-platform-commons:%s" % junit_platform_version,
"org.junit.platform:junit-platform-engine:%s" % junit_platform_version,
"org.junit.jupiter:junit-jupiter-api:5.10.0",
"org.junit.jupiter:junit-jupiter-engine:5.10.0",
"org.junit.jupiter:junit-jupiter-params:5.10.0",
"org.junit.platform:junit-platform-launcher:1.10.0",
"org.junit.platform:junit-platform-reporting:1.10.0",
"org.junit.platform:junit-platform-commons:1.10.0",
"org.junit.platform:junit-platform-engine:1.10.0",
"org.mockito:mockito-core:4.11.0",
"org.mockito:mockito-inline:4.11.0",
"org.redisson:redisson:3.23.2",
Expand Down
10 changes: 6 additions & 4 deletions java/maven_install.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL",
"__INPUT_ARTIFACTS_HASH": 1056130395,
"__RESOLVED_ARTIFACTS_HASH": 254042711,
"__INPUT_ARTIFACTS_HASH": -1572494469,
"__RESOLVED_ARTIFACTS_HASH": -1741278859,
"artifacts": {
"com.beust:jcommander": {
"shasums": {
Expand Down Expand Up @@ -861,7 +861,8 @@
"org.ow2.asm:asm-analysis",
"org.ow2.asm:asm-commons",
"org.ow2.asm:asm-tree",
"org.ow2.asm:asm-util"
"org.ow2.asm:asm-util",
"org.slf4j:slf4j-api"
],
"com.github.spotbugs:spotbugs-annotations": [
"com.google.code.findbugs:jsr305"
Expand Down Expand Up @@ -1055,7 +1056,8 @@
"org.apache.httpcomponents.client5:httpclient5": [
"commons-codec:commons-codec",
"org.apache.httpcomponents.core5:httpcore5",
"org.apache.httpcomponents.core5:httpcore5-h2"
"org.apache.httpcomponents.core5:httpcore5-h2",
"org.slf4j:slf4j-api"
],
"org.apache.httpcomponents.core5:httpcore5-h2": [
"org.apache.httpcomponents.core5:httpcore5"
Expand Down

0 comments on commit bdc86aa

Please sign in to comment.