aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/external_integration_test.sh
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2015-06-11 16:03:22 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2015-06-12 11:44:45 +0000
commit81d2162f489dcd4b93af728440e7fbef573bc04b (patch)
tree53b36dbc4483e303247d595398b67ab78ad416c2 /src/test/shell/bazel/external_integration_test.sh
parent18740ae69405be0cbe6c335a37039e2cf5e95265 (diff)
Simplify maven_jar to just take a single artifact descriptor
-- MOS_MIGRATED_REVID=95743586
Diffstat (limited to 'src/test/shell/bazel/external_integration_test.sh')
-rwxr-xr-xsrc/test/shell/bazel/external_integration_test.sh20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/test/shell/bazel/external_integration_test.sh b/src/test/shell/bazel/external_integration_test.sh
index dcb5fd8baf..e6c02ea455 100755
--- a/src/test/shell/bazel/external_integration_test.sh
+++ b/src/test/shell/bazel/external_integration_test.sh
@@ -319,9 +319,7 @@ function test_maven_jar() {
cat > WORKSPACE <<EOF
maven_jar(
name = 'endangered',
- group_id = "com.example.carnivore",
- artifact_id = "carnivore",
- version = "1.23",
+ artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://localhost:$nc_port/',
sha1 = '$sha1',
)
@@ -342,9 +340,7 @@ function test_maven_jar_no_sha1() {
cat > WORKSPACE <<EOF
maven_jar(
name = 'endangered',
- group_id = "com.example.carnivore",
- artifact_id = "carnivore",
- version = "1.23",
+ artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://localhost:$nc_port/',
)
bind(name = 'mongoose', actual = '@endangered//jar')
@@ -369,9 +365,7 @@ EOF
cat > WORKSPACE <<EOF
maven_jar(
name = 'endangered',
- group_id = "carnivore",
- artifact_id = "carnivore",
- version = "1.23",
+ artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://localhost:$nc_port/',
)
bind(name = 'mongoose', actual = '@endangered//jar')
@@ -388,9 +382,7 @@ function test_maven_jar_mismatched_sha1() {
cat > WORKSPACE <<EOF
maven_jar(
name = 'endangered',
- group_id = "com.example.carnivore",
- artifact_id = "carnivore",
- version = "1.23",
+ artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://localhost:$nc_port/',
sha1 = '$sha256',
)
@@ -464,9 +456,7 @@ function test_fetch() {
cat > WORKSPACE <<EOF
maven_jar(
name = 'endangered',
- group_id = "com.example.carnivore",
- artifact_id = "carnivore",
- version = "1.23",
+ artifact = "com.example.carnivore:carnivore:1.23",
repository = 'http://localhost:$nc_port/',
sha1 = '$sha1',
)