Remove bind calls from maven_test
RELNOTES: None
PiperOrigin-RevId: 234895127
diff --git a/src/test/shell/bazel/maven_test.sh b/src/test/shell/bazel/maven_test.sh
index 571a0b9..7948985 100755
--- a/src/test/shell/bazel/maven_test.sh
+++ b/src/test/shell/bazel/maven_test.sh
@@ -37,7 +37,7 @@
name = "ball-pit",
srcs = ["BallPit.java"],
main_class = "BallPit",
- deps = ["//external:mongoose"],
+ deps = ["@endangered//jar"],
)
EOF
@@ -64,7 +64,6 @@
sha1 = '$sha1',
sha1_src = '$sha1_src',
)
-bind(name = 'mongoose', actual = '@endangered//jar')
EOF
bazel run //zoo:ball-pit >& $TEST_log || fail "Expected run to succeed"
@@ -82,7 +81,6 @@
repository = 'http://127.0.0.1:$fileserver_port/',
sha1 = '$sha1',
)
-bind(name = 'mongoose', actual = '@endangered//jar')
EOF
bazel run //zoo:ball-pit >& $TEST_log || fail "Expected run to succeed"
@@ -100,7 +98,6 @@
artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://127.0.0.1:$fileserver_port/',
)
-bind(name = 'mongoose', actual = '@endangered//jar')
EOF
bazel run //zoo:ball-pit >& $TEST_log || fail "Expected run to succeed"
@@ -118,7 +115,6 @@
artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://127.0.0.1:$fileserver_port/',
)
-bind(name = 'mongoose', actual = '@endangered//jar')
EOF
bazel run //zoo:ball-pit >& $TEST_log || fail "Expected run to succeed"
@@ -139,7 +135,6 @@
artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://127.0.0.1:$nc_port/',
)
-bind(name = 'mongoose', actual = '@endangered//jar')
EOF
bazel clean --expunge
@@ -160,7 +155,6 @@
repository = 'http://127.0.0.1:$fileserver_port/',
sha1 = '$wrong_sha1',
)
-bind(name = 'mongoose', actual = '@endangered//jar')
EOF
bazel fetch //zoo:ball-pit >& $TEST_log && echo "Expected fetch to fail"